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

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

 



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
_______________________________________________
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