Hi,
I am trying to make an application can record sound and play back sound on OMAP35x EVM with Linux 2.6.29. I read several articles, but I am still not clear:
First, I understand that TI OMAP offer Audio driver (ALSA), and they provide examples too - minimal_playback.c and minimal_capture.c, but I can not compile it - it always state that alsa/asoundlib.h can not be found. I was able to find this find under my dvsdk folder, should I add this path to my INC_PATH in the makefile?
Second, I found examples to use device driver to open /dev/dsp, I was able to compile and execute the example, but no sound came out of my speaker - no error was reported either.
Third, eventually I will use Qt for my application, so I found Qt Audio example using QIODevice. I was able to build it into my Qt application, but when I execute it, the application did not find any audio devices.
so my question is what is the relation between this ALSA driver, /dev/dsp and QIODevice? Does this sound like my kernel was build without sound driver module included? If this is the case, can I just build the sound module by itself without rebuilding the whole kernel and insert the module on the fly?
Thank you very much for helping out.
Annie