Jump to ID:

Project Home




Project Info
Forum Topic - snd_pcm_open() core dumps: (1 Item)
snd_pcm_open() core dumps  
Hi all,

I am looking at a problem where my debugger doesnt seem to help. My
has a sound card that has to be shared by 2 applications. Hence, I am
trying to open/close my DSP pcm channel using libasound calls.

On spawning my app, I can successfully play audio tracks. Now, I stop
playing the track, flush the audio and close the channel using XXXX()
call. When I try to open the channel again I end up in a core dump. It
happens when my fn() calls the snd_pcm_open(). The arguments do not seem
to be corrupt.

When can such a situation arise?