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. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel