PulseAudio: Difference between revisions
From D3xt3r01.tk
Jump to navigationJump to search
Created page with "==What== Start the daemon as the user you're going to play music/audio as. <source lang="bash"> pulseaudio -D </source> Get sinks list/indexes <source lang="bash"> pactl l..." |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
</source> | </source> | ||
Change a stream to another sink | |||
<source lang="bash"> | |||
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% | |||
</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.