On Mon, 12 Apr 2004, Mathieu Rondonneau wrote: > Hi all, > > i'm writting an ALSA driver. I have some trouble with it. > > I load the driver and then i play sound with dd (dd if=file.wav > of=/dev/audio0). > all goes right (i have noise rather than sound but, it's another problem). > the trigger call start then play noise, then call stop. > > my problem is when i want to play another time, it doesn't work. > the trigger call start then stop then start then stop ...then start and > stop... and doesn't end and doesn't play any sound.
Your driver probably forget to acknowledge the transfer with the aplay settings. Check if snd_pcm_period_elapsed() is called from your interrupt handler. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel