[alsa-devel] [RFC 4/4] ASoC: OMAP3: Report delay on playback caused by the internal FIFO
Peter Ujfalusi
peter.ujfalusi at nokia.com
Tue Mar 2 14:52:36 CET 2010
On Tuesday 02 March 2010 15:47:07 ext Mark Brown wrote:
> 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! :)
Oh yes, I do. I have removed the capture (rx related) reporting, since as I
mentioned, I was not sure how to, and what to report.
But is it OK to have initially support for playback delay handling, and if there
is a need, add the capture later?
>
> > + /*
> > + * Devide the used locations with the channel count to get the
>
> Divide.
Yes ;)
--
Péter
More information about the Alsa-devel
mailing list