[alsa-devel] Query regarding pointer callback

Pharaoh . pharaoh137 at gmail.com
Sat Jun 23 00:42:01 CEST 2007


It is called from snd_pcm_lib_ioctl too. In SNDRV_PCM_IOCTL1_RESET case.

On 6/23/07, Pharaoh . <pharaoh137 at gmail.com> wrote:
> Hi
>
> In Writing an ALSA driver, it is said that
> pointer callback is called usually from the buffer-update routine in
> the pcm middle layer, which is invoked when snd_pcm_period_elapsed()
> is called in the interrupt routine. Then the pcm middle layer updates
> the position and calculates the available space, and wakes up the
> sleeping poll threads, etc
>
> What are the other places from where pointer callback is called? If it
> is not called from any other routine then does it mean that interrupts
> are occuring?
>


More information about the Alsa-devel mailing list