Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:sound [2016-03-06 18:48] becki [Dump audio to ogg vorbis file] |
becki:linux:sound [2020-06-23 07:22] (aktuell) becki |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Linux Sound and Audio == | ====== Linux Sound and Audio == | ||
+ | |||
+ | {{tagtopic>linux +audio&rsort&order=modified}} | ||
+ | |||
===== Overview == | ===== Overview == | ||
Zeile 67: | Zeile 70: | ||
aplay -D hw:PCH /usr/share/sounds/KDE_Logout_new.wav | aplay -D hw:PCH /usr/share/sounds/KDE_Logout_new.wav | ||
- | === Select Sound Card with mplayer == | + | === Permanently select default Sound Card == |
- | Cli examples: | + | FIXME A good place to start is probably at ''/etc/asound.state'' |
+ | |||
+ | ===== Mplayer == | ||
+ | ==== Select output driver == | ||
+ | |||
+ | As of Slack 14.4 Pulse is active, but mplayer still uses Alsa as output. In order to avoid detours (see above), change this permanently to pulse by editing /etc/mplayer/mplayer.conf : | ||
+ | |||
+ | ao=pulse | ||
+ | |||
+ | Older CLI examples for alsa (before pulseaudio) | ||
mplayer -ao alsa:device=hw=1 or | mplayer -ao alsa:device=hw=1 or | ||
Zeile 76: | Zeile 88: | ||
mplayer -ao alsa:device=hw=PCH.0 or | mplayer -ao alsa:device=hw=PCH.0 or | ||
- | Or permanently by editing /etc/mplayer/mplayer.conf : | + | #/etc/mplayer/mplayer.conf: |
ao=alsa:device=hw=1 | ao=alsa:device=hw=1 | ||
- | === Permanently select default Sound Card == | ||
- | |||
- | FIXME A good place to start is probably at ''/etc/asound.state'' | ||
- | ===== Mplayer == | ||
==== Steaming throuh Socks Proxy == | ==== Steaming throuh Socks Proxy == | ||
Zeile 111: | Zeile 118: | ||
===== Mixer == | ===== Mixer == | ||
- | FIXME Slack comes with esound (apparently disabled). According to usr/doc/esound-0.2.41/README esound is deprecated. Whereas pulseaudio is available only on slackbuilds | + | As of Slack 14.2 Pulseaudio is included and activated by default. |
+ | |||
+ | CLI frontend: ''pamixer'' | ||
+ | GUI fromtend: ''pavucontrol'' | ||
+ | |||
+ | <note>It is **not** recommended to make ''/etc/rc.d/rc.pulseaudio'' runnable. Normally pulseaudio will start automatically as-needed with an instance per audio user.</note> | ||
+ | |||
+ | ===== Bluetooth == | ||
+ | |||
+ | In order to channel audio from any source to an external speaker or headset via bluetooth, first make ''/etc/rc.d/rc.bluetooth'' runnable and start it as root. | ||
+ | |||
+ | Now start the ''blueman-manager'' GUI to connect to the remote device. | ||
+ | |||
+ | The ''pavucontrol'' GUI allows you to route the sound to the according remote device. You might need to check the button "Set as fallback" for that output device. | ||
- | ===== Attic == | + | ===== Attic / obsolete == |
mixer: alsamixer (,rexima, amixer) | mixer: alsamixer (,rexima, amixer) |