Ignore:
Timestamp:
03/05/14 10:02:22 (6 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
3a00741
Parents:
2761d27
Message:

Set default pulseaudio sink if daemon is already running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/xtrafiles/local/share/pcbsd/xstartup/startpulseaudio.sh

    r2761d27 rad36b59  
    1313   # Start pulseaudio 
    1414   pulseaudio --start 
     15fi 
    1516 
    16    # Get the default unit 
    17    dU=`sysctl hw.snd.default_unit | awk '{print $2}'` 
     17# Get the default unit 
     18dU=`sysctl hw.snd.default_unit | awk '{print $2}'` 
    1819 
    19    # Set the default sink to match default audio device 
    20    pactl set-default-sink $dU 
    21 fi 
     20# Set the default sink to match default audio device 
     21pactl set-default-sink $dU 
Note: See TracChangeset for help on using the changeset viewer.