AM625: Sound is played weirdly after the pcmhandle is opend for a long tiem(3~4days)

Part Number: AM625


Hi, 

I am using the pcmhandle provided by ALSA as one of my sound output devices.

I've encountered with weird situation where I am trying to play a steady sin wave, the device plays a wrong output it almost sounds like some buffer was became 0.

In this situation I tried use the speaker-test binary to see if my own buffer was corrupted, but still sounded the same.

Unless I close the handle that I've bee using for last 4days, I couldn't recover. I tried to use the snd_prepare to see if it can comeback, I looked for underuns and overuns but they never happened.

I honestly am clueless on what to do, pease share your insight for me. thanks