Re: [linux-audio-dev] alsa, oss , efficiency?

From: lemmel <lem0mel@email-addr-hidden>
Date: Thu Nov 02 2006 - 23:50:55 EET

Le jeudi 02 novembre 2006 22:04, vous avez écrit :
> This is probably an application problem. There is a special case that if
> the application does not write a full period to the sound card before
> calling snd_pcm_drain(), the last samples(incomplete period) written
> might not be played.
I share your point of view for I tested with aplay (see another post), and all
works fine :-)
> The recommended way to use the sound card drivers is to use a callback
> method. The callback will ask for a period at a time, so it is made
> clear to the application writer that they HAVE to send an entire period.
Can you be more precise about the function? (I a noob with sound and alsa, but
I know well dhat is a callbcak function :-) )
Received on Fri Nov 3 00:15:05 2006

This archive was generated by hypermail 2.1.8 : Fri Nov 03 2006 - 00:15:05 EET