* pls clarify.
@ 2002-10-18 4:05 Pannaga Bhushan
0 siblings, 0 replies; only message in thread
From: Pannaga Bhushan @ 2002-10-18 4:05 UTC (permalink / raw)
To: alsa-devel@lists.sourceforge.net
Hi all,
In the funtion - snd_pcm_hw_ptr_interrupt , there are the
following lines --
delta = hw_ptr_interrupt - new_hw_ptr;
if(delta > 0) {
if( delta < runtime->buffer_size / 2) {
snd_printd("Unexpected hw_pointer value .... wrong interrupt
acknowledge?\n"...);
return 0;
}
runtime->hw_ptr_base += runtime->buffer_size;
-------
------
-------
}
Can you pls clarify what these lines are doing? what is the significance
of delta and the significance of delta > 0 but less than
runtime->buffer_size/2 being a case of wrong interrupt ack.
thanx in advance,
Pannaga Bhushan
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-18 4:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 4:05 pls clarify Pannaga Bhushan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox