[alsa-devel] Copy call back for capture substream

Clemens Ladisch clemens at ladisch.de
Thu Apr 28 11:29:45 CEST 2011


kshemanth.vasireddi at wipro.com wrote:
> I had registered a copy call back.
> 
> all call backs are invoked, but copy call back is not
> getting invoked. Can you please let me know when will copy call  back
> shall be invoked, is there any condition for it.

It's right there in the source code.

The copy callback is called exactly when in the same circumstances when
the data of a 'normal' driver would be copied out of the device's
buffer, i.e., when some data is available.

I'd guess that your pointer callback does not return the correct values.

> The information contained in this electronic message ...

This e-mail contains public information intended for any subscriber of
this mailing list and for anybody else who bothers to read it; it will
be copied, disclosed and distributed to the public.  If you think you
are not the intended recipient, please commit suicide immediately.
These terms apply also to any e-mails quoted in, referenced from, or
answering this e-mail, and supersede any confidentiality notices in
those e-mails.  Additionally, confidentiality notices in those e-mails
will incur legal processing fees of $42 per line; you have agreed to
this by reading this confidentiality notice.


Regards,
Clemens


More information about the Alsa-devel mailing list