Hi All,

We are writing small application on TI's DM6446 evaluation board.
I am facing sound related problem i.e., with /dev/dsp.
When we are playing some .wav file using  na_play ,I could hear the sound for a 
longer period without any problem.

But from a C routine when we are executing a shell script using system call() 
to play a .wav file continuously for a period of time in a for loop.
After some time around 2-5 min sound goes off, but shell script is still being 
called by c routine and even after reboot sound doesn't come up.
Finally we have to do a hard reset to reboot the system to correct this sound 
problem.

I don't find any error messages in dmesg.
Even command fuser -v /dev/dsp shows only my application name.
Sample code:
C routine:

for (int i=0; i< 1000; i++ )
 system ("./na_play tem.wav");


na_play is the player in current directory and
tem.wav is the .wav file to play.

Please help to find out actual problem and solution if possible.


Regards,
Santosh



________________________________
http://www.mindtree.com/email/disclaimer.html
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to