[alsa-devel] Newbie needs help to understand SNDRV_PCM_TRIGGER_START?

Clemens Ladisch clemens at ladisch.de
Tue Oct 19 15:03:41 CEST 2010


Radivoje Jovanovic wrote:
> ALSA hits trigger method in my driver and soon after it leaves my trigger
> method throws an null pointer exception

What code hits a NULL pointer?

> I am wondering if the ALSA will call SNDRV_PCM_TRIGGER_START every single
> time new buffer is available.

No, once the stream is started, ALSA expects the device to run by itself
(if not, the driver has to use timers).


Regards,
Clemens


More information about the Alsa-devel mailing list