I am trying to use QSound:lay("sound/a.wav") and nothing happens.
The QSound::isavailable return true.
This happens (no sound) on the linux (suse 10.2) and on the zaurus (onboard compilation).
The wav file is 22050 and has length > 8Kb.
Thank you.
I am trying to use QSound:lay("sound/a.wav") and nothing happens.
The QSound::isavailable return true.
This happens (no sound) on the linux (suse 10.2) and on the zaurus (onboard compilation).
The wav file is 22050 and has length > 8Kb.
Thank you.
What does isFinished tell you?
The function IsFinished exist in the 4.xx version only.
Can you read "sound/a.wav" using QFile? Maybe you should try an absolute path?
An absolute path don't work too.
The sound file properties is:
Sample Rate: 11,025 Hz
Sample Size: 16 bit
Channels: 1
File size: 11,802 B
I can play it using OSS.
Now I have other problem, if I send wav stream to the /dev/dsp (using write), then on the start I have loud "crack/click".
Should I strip the wav header from the file and send raw stream (data chunk) only?
AFAIK it accepts raw data.
http://www.oreilly.de/catalog/multil...pt/ch14-05.htm
Bookmarks