Force Audacity to Use PulseAudio, not Jack.

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
lmat
Posts: 4
Joined: Mon Aug 17, 2015 8:51 pm
Operating System: Please select

Force Audacity to Use PulseAudio, not Jack.

Post by lmat » Mon Aug 17, 2015 9:06 pm

I am unable to hear any sound in Audacity. I see the bars moving as though sound might come out, but I can hear nothing.
When I run Audacity, I get the following:

[email protected]~$ audacity audio.mp3
Warning: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
ALSA lib pcm_dsnoop.c:614:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dsnoop.c:614:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4607

I'm using audacity 2.1.0 on archlinux. I have an onboard audio card on a ga990fxa-ud3 (motherboard). Other sounds work on the machine, pulse audio is installed. In Archlinux, audacity depends on lilv which depends on jack, so jack is installed, but not running. Attached is an image of Audacity running. Where it says "ALSA", there are no other options, and I've tried the four options where it says "HDA ATI SB: ALC889".

I would like audacity to use pulse audio for audio. Please let me know if you have any suggestions.
Attachments
Screenshot_2015-08-17_17-02-54.png
Screenshot of Audacity.
Screenshot_2015-08-17_17-02-54.png (40.27 KiB) Viewed 1726 times

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Force Audacity to Use PulseAudio, not Jack.

Post by steve » Tue Aug 18, 2015 12:09 am

Please click on "Help > Audio Device Info" and copy / paste the full information into your reply.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

lmat
Posts: 4
Joined: Mon Aug 17, 2015 8:51 pm
Operating System: Please select

Re: Force Audacity to Use PulseAudio, not Jack.

Post by lmat » Tue Aug 18, 2015 1:18 pm

The requested information:

Code: Select all

==============================
Default recording device number: 1
Default playback device number: 0
==============================
Device ID: 0
Device name: HDA ATI SB: ALC889 Digital (hw:0,1)
Host name: ALSA
Recording channels: 0
Playback channels: 2
Low Recording Latency: -1.000000
Low Playback Latency: 0.008707
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 1
Device name: HDA ATI SB: ALC889 Alt Analog (hw:0,2)
Host name: ALSA
Recording channels: 2
Playback channels: 0
Low Recording Latency: 0.008707
Low Playback Latency: -1.000000
High Recording Latency: 0.034830
High Playback Latency: -1.000000
Supported Rates:
==============================
Device ID: 2
Device name: HDA ATI HDMI: 0 (hw:1,3)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.008707
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 3
Device name: iec958
Host name: ALSA
Recording channels: 0
Playback channels: 2
Low Recording Latency: -1.000000
Low Playback Latency: 0.008707
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 4
Device name: spdif
Host name: ALSA
Recording channels: 0
Playback channels: 2
Low Recording Latency: -1.000000
Low Playback Latency: 0.008707
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Selected recording device: 1 - HDA ATI SB: ALC889 Alt Analog (hw:0,2)
Selected playback device: 0 - HDA ATI SB: ALC889 Digital (hw:0,1)
Supported Rates:
    44100
    48000
    88200
    96000
    192000
==============================
Available mixers:
==============================
Available recording sources:
0 - Front Mic:0
1 - Rear Mic:0
2 - Line:0
3 - Front Mic:1
4 - Rear Mic:1
5 - Line:1
6 - Front Mic:2
7 - Rear Mic:2
8 - Line:2
==============================
Available playback volumes:
0 - Master:0
1 - Headphone:0
2 - PCM:0
3 - Front:0
4 - Front Mic:0
5 - Front Mic Boost:0
6 - Surround:0
7 - Center:0
8 - LFE:0
9 - Side:0
10 - Line:0
11 - Line Boost:0
12 - Rear Mic:0
13 - Rear Mic Boost:0
==============================
Recording volume is native
Playback volume is native

Please let me know if I can provide anything else helpful. Thanks!
Last edited by Gale Andrews on Tue Aug 18, 2015 4:12 pm, edited 1 time in total.
Reason: wrapped audio device info in code tags for readability

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Force Audacity to Use PulseAudio, not Jack.

Post by steve » Tue Aug 18, 2015 2:09 pm

It looks like PulseAudio is not running.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply