Where is snd_pcm_writei() defined?
I am writing a small demo code that opens a audio device on my board and play a sound on the speaker.
I have the aplay.c as sample code. In it it calls snd_pcm_writei(), but I cannot find this being defined anywhere in the source tree. I am running 2.6.19 on a ARM board. Thanks |
Look inside the sources of the ALSA library.
|
Can I not use the ALSA library and write directly to the /dev/snd/pcm... device to emit a sound from the speakers?
Any sample code will greatly help.... Thanks |
All times are GMT -5. The time now is 10:52 AM. |