Di Jin(deleted)
|
use wave play sound. wave in deadloop
|
Di Jin(deleted)
06/12/2013 8:49 AM
post102200
|
use wave play sound. wave in deadloop
Dear sir.
I use wave to play a .wav file. I found the wave is deadloop. the information is:
# wave start.wav
SampleRate = 44100, Channels = 2, SampleBits = 16
Format Signed 16-bit Little Endian
Frag Size 3760
Total Frags 64
Rate 44100
Voices 2
Mixer Pcm Group [Wave playback channel]
When I trace the code I found the program will deadloop in while (N < mSamples && n > 0)
I don't know why. the mSamples = 1361076, After N > 240000 the program deadloop, but key still can use.
By the way, I can not get any data from DMA. I check the I2S, it does not send any data.
|
|
|