From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Subject: Re: Audio L/R Channel Interchanges ( Solved!) Date: Thu, 24 Nov 2005 18:14:04 +0100 Message-ID: <4385F4DC.2040503@de.bosch.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Ajaya Babu Anne Cc: Linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org Ajaya Babu Anne wrote: > Yes ! Perhaps this is manifested in L/R channel Interchange problem, Audio ( > OSS ) driver omap-audio-dma-intfc.c When Audio stream underflow's it does > not stop the McBSP interface and it continues to underflow. Once data is > there audio driver start dma chian gain, however McBSP is still in > operation. > > I have a quick hack to it > > if (!s->started) { > > s->hw_stop_stream( ); /* stops McBSP Interface */ > omap_start_dma(channel); > s->started = 1; > s->hw_start_stream( ); /* start McBSP interface */ > > } Just want to test this because of issues with DMA and ALSA driver. But I can't find what is behind s->hw_stop_stream( ); s->hw_start_stream( ); Any hint or even better a patch? Many thanks Dirk