Re: My issues with the ALSA API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux