PDA

View Full Version : Playing a small notification sound on my embedded device



Charvi
23rd July 2012, 07:36
Hi,

I want to play a small key notification sound in Qt. Till now i was doing it with system command using my alsa utils. It worked fine otherwise but only made my captured video hanged when live preview started and somebody pressed some key for very long. I dont have any other back end. Please help out with steps.

Thanks
Charvi.

wysota
23rd July 2012, 08:33
Can you use Phonon or QSound?

Charvi
23rd July 2012, 08:34
QSound isn't working on it. What do I need as backend?
For Phonon I would require to port gstreamer right ?

wysota
23rd July 2012, 14:34
QSound isn't working on it. What do I need as backend?
NAS (Network Audio Server).


For Phonon I would require to port gstreamer right ?
Possibly, yes. Qt doesn't wrap pure alsa access to sound. You could use ALSA API directly though.