Hot answers tagged

11

There is a very simple solution because PulseAudio already has all the necessary tools. Get your source device name with command pactl list | grep Name Create the following script named pashare: #!/bin/sh case "$1" in start) $0 stop pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=<source_name_here> ...


11

You can try using apulse: it is minimalistic pulseaudio emulator made specifically to run Skype 4.3 with ALSA. You need 32-bit build even on 64-bit machine. I personally had troubles with microphone on Ubuntu 14.04, but for most people it works fine. To build apulse on Ubuntu (and related distros), you must install following packages: pkg-config build-...


10

Yes, that's a built-in feature of PulseAudio. Various PA-compatible "volume mixers" such as pavucontrol or ponymix will let you assign a different output for each program (assuming PA actually recognizes those outputs as separate).


8

This Gentoo wiki article might apply here : PulseAudio per-application volume control : PulseAudio supports per-application volume control, but by default this doesn't do much as you can only control these volumes from the pulseaudio volume control utility. Meaning that in an application like Audacious, when the output device is set to PulseAudio, ...


7

You may have to install pavucontrol. XFCE is minimalist, so is expected that some settings are not found. To install it just type: sudo apt-get install pavucontrol


6

For streaming just music, Icecast is a good option. There is not a way to access iTunes shares from Linux, other than running iTunes under Wine. You could also look at Airfoil Speakers which would allow your Windows iTunes to treat the Ubuntu box as a set of remote speakers.


6

To stream audio output over wifi to your android phone you need to install server software, that sends audio, on PC and client software on Android device. Available options are WiFi Audio Wireless Speaker Run WiFi Audio Android App and Press start, you will see IP address of mobile device in the bottom after that run Windows/Linux application and put ...


5

I don't know if there is a setting or configuration file for this anywhere but it can be done with environment variables. I've based my answer on this entry in the PulseAudio FAQ about setting the recording source. I've tried this with output (a sink in PulseAudio) but it should work for both input and ouput. The first step is to get the internal name of ...


5

Partially – easy with Linux clients, tricky with Windows. With Linux clients this is simple – just set $PULSE_SERVER to the media server's address and copy the ~/.pulse_cookie authentication file. PULSE_SERVER=tcp:mediaserver.home tcp6:mediaserver.home Of course, make sure PulseAudio on the media server has the required modules loaded; most ...


5

I managed to have skype 4.3. running on my (otherwise pure ALSA) system. I'm running openSuSE 13.1, so, I can only describe what I did here. The general idea was to have skype running in a sort of 'pulseaudio jail'. I installed pulseaudio but did not activate it. The most important thing about NOT activating pulseaudio seems to be a line autospawn = no ...


4

Here's a straight answer: PulseAudio is a sound server; ALSA is a kernel sound subsystem. They do different things -- ALSA provides chipset drivers for your soundcard or onboard sound chip; PulseAudio routes sound between programs, sound chips, and even systems. PulseAudio is a sound server for POSIX systems. A sound server is basically a proxy for your ...


4

It seems like I found a solution, at least for this particular case. Since I knew the card and device number assigned by ALSA, I just had to open /etc/pulse/default.pa. in editor and change this line #load-module module-alsa-sink into this load-module module-alsa-sink device=hw:2,7 where 2 and 7 are my particular instances of card and device numbers. ...


4

Try Ear Candy. It is not only possible to switch between outputs when they're attached, but also to route several programs to other outputs as you're looking for (and lots of other small improvements).


4

As long as the device reports itself as a USB Audio device the ALSA driver will support it, although the exact definition of "support" may vary for more complex devices.


4

Ah, the device notation is not the actual name as in alsamixer, but like this: gst-launch alsasrc device=hw:1


3

http://pulseaudio.org/wiki/DefaultDevice - default is not the same as fallback in PulseAudio. One can't really set a "default" device as described in the link within PulseAudio itself. The "correct" way to do it would be to define a remote sink via module-tunnel-sink as you are trying to do. You say it is not possible on that version of PulseAudio, and then ...


3

As a workaround, create a shell script ~/bin/mychangevolume with the commands non-escaped as they would appear on the command line. Something like #!/bin/bash incr=$1 pacmd dump | awk --non-decimal-data '$1~/set-sink-volume/{system ("pacmd "$1" "$2" "$3'$incr')}'" Then call this script from .xbindkeysrc "mychangevolume +2500"


3

Running pulseaudio -v in a terminal (run pulseaudio -k first if it complains about already being started, but since you say it doesn't work, it most probably is not running. Prefix sudo if it complains about permissions) should get you more detailed output on why PulseAudio won't start, which will enable you to find more specific info in your case. If ...


3

I don't think indexes were designed to be relied upon. If you need a reliable name for a source/sink, use a predetermined, unique name. Oh, one other thing. Indexes seem to be autoincrementing, and are automatically adjusted if you remove a sink or source at runtime. So you would have to modify the PA sources to change indexes from their current behavior of ...


3

You can use VLC to serve a MP3 stream of pulseaudio's output via HTTP. The main advantage is that you don't need to install any special software on your remote device, a web browser (or music player) is all you need to play the stream. Find pulseaudio's output name with: pactl list | grep "Monitor Source" Start the VLC http server, replacing XXXX by ...


3

I had the same-ish problem. There's no workaround, I've already wasted two days to fix the problem. You can install pulseaudio and make it work with an older version of alsa. Because pulseaudio works smoothly with old versions of alsa. I'm using 1.0.16. Here's a script to install this version. I've experienced just one issue so far with pulseaudio and ...


3

Actually, yes, there is a way to do so without restarting Pulseaudio: pacmd unload-module module-udev-detect && pacmd load-module module-udev-detect I use it everytime I plug in my external-soundcard or after waking up my laptop. Pulseaudio cleans up his room and bring back my Spotify music on my external soundcard automatically (as it is my ...


3

How do I make them quieter? Use the inline volume control. Note One customer review reports "volume control is faulty". See below. A workaround is to install http://sourceforge.net/projects/equalizerapo/ to an audio device and adjust the device's master volume. Intuitive in-line controls Making adjustments is a breeze with the convenient in-line ...


2

Use parec, as arecord is not designed to be used with PulseAudio.


2

My co-worker solved it!!! We were reading this tutorial, when we came across an interesting section: If you have an HDA-Intel device try turning up the PCM slider in the volume control. If PCM is set to 0 it makes the sound scratchy for some of those devices. Otherwise if your sound is scratchy or stuttering you can edit these lines in ...


2

I found the answer, there are some pulseaudio settings in Pulseaudio Preferences that are needed. However that is not installed by default in Ubuntu 10.04. sudo apt-get install paprefs paprefs (paprefs also available System -> Preferences -> Pulseaudio Preferences) Enable "Network access to local sound devices". /L


2

Yes, you can use xpra for that. You will need an X11 server on Windows (Xming, Cygwin/X, or Micros~1 Services for Unix) and a SSH client (PuTTY). Start the X11 server, enable "X11 forwarding" in PuTTY, connect to meerkat, and run xpra as documented. (I don't know how.) OS X comes with ssh and a X11 server. Alternatively, you can find a VNC or RDP server ...


2

First option Since you can already record the game audio and mic, I would try to just output them to two files: parec --format=s16le --rate=44100 -d ... | ffmpeg -ac 2 -f s16le -ar 44100 -i - mic.mp3 parec --format=s16le --rate=44100 -d ... | ffmpeg -ac 2 -f s16le -ar 44100 -i - game.mp3 and then use Audacity to sync them and compine them into a ...


2

Sounds to as if your flash plugin is actually not using Pulseaudio. One of the key benefits of Pulseaudio actually is that applications can share the audio more easily. Try creating the following file as .asoundrc in your home directory (yes, with dot): pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default ...


2

Yes. (However not all USB audio cards are compatible with all systems.) I'm not sure what you mean by "out of the box" (which box, the computer or the USB sound card...) According to Linux-Usb.org as long as "You need to turn on the Sound card support kernel option, which is in the Sound section. You will then be able to turn on the USB Audio support ...



Only top voted, non community-wiki answers of a minimum length are eligible