[alsa-devel] My issues with the ALSA API
perex at perex.cz
Fri May 9 16:10:09 CEST 2008
On Thu, 10 Apr 2008, Lennart Poettering wrote:
> > buffer mananagement - I think we already discussed this - use sw_params or
> > PCM timer to be updated when buffer position changes (interrupt was
> > processed), you can use poll() as well
> I am doing this now. I'd still love to see an API for naked
> interrupts, though.
I've added snd_pcm_sw_params_set_period_event() function to ALSA API now.
Actually, it uses PCM timer internally, but at least public API is defined
so applications are not forced to use PCM timers explicitly. We can
optimize this feature later.
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
More information about the Alsa-devel