[alsa-devel] [RFC 4/4] ASoC: OMAP3: Report delay on playback caused by the internal FIFO

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 2 14:47:07 CET 2010


On Tue, Mar 02, 2010 at 03:39:51PM +0200, Peter Ujfalusi wrote:

> +	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
> +		fifo_use = omap_mcbsp_get_tx_buffstat(mcbsp_data->bus_id);
> +	else
> +		return 0;

You're already handling the playback vs. capture thing here! :)

> +	/*
> +	 * Devide the used locations with the channel count to get the

Divide.


More information about the Alsa-devel mailing list