[alsa-devel] Intermittent cut out on the video

Dolevo Jay cmst at live.com
Fri Dec 6 09:52:50 CET 2013



> From: cmst at live.com
> To: alsa-devel at alsa-project.org
> Date: Wed, 4 Dec 2013 10:08:15 +0000
> Subject: Re: [alsa-devel] Intermittent cut out on the video
> 
> 
> 
> > From: cmst at live.com
> > To: alsa-devel at alsa-project.org
> > Date: Tue, 3 Dec 2013 15:43:39 +0000
> > Subject: Re: [alsa-devel] Intermittent cut out on the video
> > 
> > 
> > 
> > > Date: Tue, 3 Dec 2013 14:13:56 +0100
> > > From: clemens at ladisch.de
> > > To: cmst at live.com; alsa-devel at alsa-project.org
> > > Subject: Re: [alsa-devel] Intermittent cut out on the video
> > > 
> > > Dolevo Jay wrote:
> > > >> You would need software that measures that actual sample rate of both
> > > >> devices and resamples its output appropriately.  Try using PulseAudio.
> > > >
> > > > I have tried to apply pulseaudio but couldn't really manage it.
> > > 
> > > http://www.freedesktop.org/wiki/Software/PulseAudio/FAQ/#index31h3
> > > 
> > > 
> > > Regards,
> > > Clemens
> > > _______________________________________________
> > > Alsa-devel mailing list
> > > Alsa-devel at alsa-project.org
> > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > 
> > I think this is not what I want. I don't want to combine the two sound cards. I want to route the audio being played on one sound card to the other sound card. I have found the following answer:
> > http://askubuntu.com/questions/168333/routing-sound-from-different-cards-to-a-single-output
> > 
> > So with the following line:
> > 
> > pactl load-module module-loopback source=<name_or_index> sink=<name_or_index>
> > 
> > I should be able to achieve what I want. However, I know no pulseaudio and I got some issues with it already. 
> > 
> > For example,
> > I start the pulseaudio with  
> > 
> > root at dolevo:~# start-pulseaudio-kde
> > W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
> > 
> > I guess it starts working properly after this call. However, I call
> > 
> > pactl list
> > 
> > to get the list of the devices but I get 
> > 
> > root at dolevo:~# pactl list
> > Connection failure: Connection refused
> > pa_context_connect() failed: Connection refused
> > 
> > So, what should I put as source and sink? I have already tried calling the following:
> > 
> > pactl load-module module-loopback source=hw:1,0 sink=0,3
> > 
> > However I again receive:
> > 
> > Connection failure: Connection refused
> > pa_context_connect() failed: Connection refused
> > 
> > I would appreciate if you could help.
> >  		 	   		  
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel at alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> 
> Hi Clemens,
> 
> Could you please tell me where I can get some help about pulseaudio? I tried pulseaudio-discuss but my question is not even posted there yet.
> 
> Since my question is now related to the pulseaudio, I have asked my current question to: http://stackoverflow.com/questions/20370418/pulseaudio-connection-issue
> 
> I'd appreciate your help.
> 
> Regards,
>  		 	   		  
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

I have come to conclusion that this issue is way more complex that I thought and won't be "possible" to implement even with the help of pulseaudio since I will require a complete new implementation.
I thought that it would be solved by a configuration file in pulseaudio but apprently some development/code writing will be needed as well.

What I don't understand, ok one of the sound card gets drifted over time if two sound cards are employed in the system and therefore I got cut outs but why doesn't this happen if I use the same sound card alone? I mean the audio from my application is perfect if I use only the a sound card. But it produces intermittent cut outs if I use another sound card (b) together with a. Shouldn't have I gotten also the cut outs in the first casae?

Please enlighten me.
 		 	   		  


More information about the Alsa-devel mailing list