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
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>
</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.



Revision as of 17:48, 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>

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