PulseAudio: Difference between revisions

From D3xt3r01.tk
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
Line 31: Line 31:
pacmd move-sink-input <stream_index> <sink_index>
pacmd move-sink-input <stream_index> <sink_index>
pacmd set-default-sink <sink_index>
pacmd set-default-sink <sink_index>
pacmd set-sink-volume <sink_index> 65536 # equivalent of 100%
</source>
</source>
You could use the GUI ''pavucontrol'' to set this stuff OR the cli stuff above.
You could use the GUI ''pavucontrol'' to set this stuff OR the cli stuff above.

Latest revision as of 17:50, 19 July 2014

What

Start the daemon as the user you're going to play music/audio as.

pulseaudio -D

Get sinks list/indexes

pactl list short sinks

Set the volume to 100%

pactl set-sink-volume <index> 100%

More help/options:

pactl -h

Change a stream to another sink

pacmd list-sinks # should give you sink indexes
pacmd list-sink-inputs # should give you the stream index
pacmd move-sink-input <stream_index> <sink_index>
pacmd set-default-sink <sink_index>
pacmd set-sink-volume <sink_index> 65536 # equivalent of 100%

You could use the GUI pavucontrol to set this stuff OR the cli stuff above.

Other Links

PulseAudio main page PulseAudio wiki page BAD Ssystem Mode