Qsound Error while playing Audio
hi,
Environment : QT Embedded , USB HID Audio Device
i am trying to play a wav file using QSound. When i press play button in my GUI it shows an message " Failed opening audio device" . I am using a USB HID device for playing the audio. Any ideas what could be the problem?
When i play the WAV file using command line interface "aplay" the audio is working fine and i can able to hear sound from USB Audio Output.
Re: Qsound Error while playing Audio
Quote:
. I am using a USB HID device for playing the audio
Is it mapped to /dev/dsp ?
Re: Qsound Error while playing Audio
Quote:
Originally Posted by
high_flyer
Is it mapped to /dev/dsp ?
Hi,
Thanks for your response.
No i am new to this subject ? how do i map to /dev/dsp ...Please Help me. If you have any procedures for setting the audio please let me know.
Re: Qsound Error while playing Audio
QSound in Qt/Embedded accesses /dev/dsp.
So you device driver has to map to it.
You will have to consult your readme or istall docs which came with your device driver.
Maybe some other linux advanced users can help you more with that.
Goolge may also help.
A quick google search suggests that esddsp might be good for you.