LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2018, 12:55 AM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Pulseaudio + Jack + Audacious: connections dropping


I'm relatively happy using Pulseaudo with Jack/Jack-Mixer for my computer sound needs. On occasion, though, when playing music via Audacious, I find that the connections between audacious and jack-mixer drop. This seems to occur whenever a stereo music file is followed by a mono music file and is then followed by another stereo file.

Does anyone know of a way to force Audacious to maintain a stereo output even when the input program is mono? I wouldn't much mind if output was directed to only one channel or duplicated to both channels but I haven't run across any configuration settings--or plug-ins--that will let me opt for either of those. Either would be preferable to having the connections to jack-mixer drop altogether and force me to re-establish them manually. Audacious has an option to automatically connect to the "output" but that seems to connect automatically to the system playback channels and not to the audacious channels I've configured in jack-mixer.

Any hints, pointers to HowTos, etc., are warmly welcomed.

TIA...

--
Rick
 
Old 12-18-2018, 02:03 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Recompile audacious so it is built to use jackd. Guessing this is a Debian type system your using. Apt-get world. Make sure your alsa-plugins are compiled against jackd.
You can. Have all the media in the worldva d if it isnt built against pules and jackd. Tbe. It breaks.
I use slackware. Recompile what I need all the sources come with slackware like it should.
https://github.com/Drakeo/jack-pulse-sink
 
Old 12-19-2018, 10:36 AM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Drakeo View Post
Recompile audacious so it is built to use jackd.
Would this actually be necessary? Audacious already supports Jack and is the output connection type I have been using: File->Settings->Audio->Output plugin->Jack Output.
Quote:
Guessing this is a Debian type system your using.
No. Sorry I wasn't specific. This is happening on OpenSUSE so zypper or the YaST software manager would be the way to go. At last check, all the components in my audio playback chain were up-to-date. (I am due for an OS update which will change the environment, I'm sure. Then I can experience a whole new set of weird software behavior. :^/ )

One option I've considered is to find a method of identifying all the MP3s that are mono and remastering them to still technically be mono but stereo with the same content in both channels. That should prevent the channel changes that are causing jack-mixer channel connection drops. (If my theory about what's going on is correct.) Seems like it'll potentially be a lot of work, though. Opportunity for automation, eh?

Still looking for other options but I'm hoping that this doesn't wind up requiring a whole bunch of more software to fix what I would guess is a common problem. Hard to imagine my usage is unique.
 
Old 12-22-2018, 12:19 AM   #4
nikgnomic
LQ Newbie
 
Registered: Aug 2018
Distribution: Manjaro, AVLinux
Posts: 17

Rep: Reputation: Disabled
Audacious should have something in settings to allow mono tracks to be remixed to stereo

or else set Audacious to use Pulseaudio playback rather than direct to JACK
Pulseaudio should be able to handle the changes between mono and stereo
and Pulseaudio JACK Sink should remain fixed to stereo
 
Old 12-22-2018, 11:00 AM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by nikgnomic View Post
Audacious should have something in settings to allow mono tracks to be remixed to stereo
I've looked for this. Such an option doesn't seek to exist. There may be a plug-in available that lets a user set this up but if it exists I've yet to find it. Got any leads?

Quote:
or else set Audacious to use Pulseaudio playback rather than direct to JACK
Pulseaudio should be able to handle the changes between mono and stereo
and Pulseaudio JACK Sink should remain fixed to stereo
The reason I went with Jack was to gain more control of the volume levels of multiple sources than I could achieve using Pulseaudio. The jack-mixer program lets me control those in one place. If I rely on PA, I have to open each audio source--which is likely on a different virtual desktop and probably minimized to boot--and adjust it within the application itself using whatever finicky and a-pain-to-use volume control widget the developer decided upon.

Still looking ...
 
Old 12-22-2018, 03:00 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I've had "other" issues with pulseaudio over jack. My workaround is the have two users, one uses jack and audio via the alsa loopback device (snd-aloop). The other user uses alsaloop to route audio to pulseaudio over the network. The pulse over the network works directly, but changes like what you've mentioned crashes pulse after about an hour. It's easier to restart alsaloop locally than jack + jack_mixer + pulse on a remote machine every hour (or less).

$ alsaloop -C hw:Loopback,1,0 -f S24_LE -c 2 -r 48000 -n -A 0 -t 50000 -P pulse 2>&1 > /dev/null
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox dropping ALSA support for PulseAudio unassailable Linux - General 17 01-23-2019 05:41 AM
[SOLVED] dockapp needs headers for audacious, what to install for dev for audacious? BW-userx Slackware 8 03-22-2018 11:33 AM
How to start JACK with KDE 4? (and which JACK should I use?) Wintershade Linux - Software 0 03-24-2011 05:56 AM
Alternative to Audacious for eac cuesheets, midi playback (hardware)? Fix audacious? Holering Linux - Software 0 10-02-2010 11:19 PM
LXer: Jack Write Linux, Jack Go Bankrupt... LXer Syndicated Linux News 0 09-09-2007 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration