diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/do_dac.sh | 3 | ||||
-rwxr-xr-x | bin/mpd_only.sh | 2 | ||||
-rwxr-xr-x | bin/mpd_others.sh | 4 | ||||
-rwxr-xr-x | bin/startaudio | 4 |
4 files changed, 12 insertions, 1 deletions
diff --git a/bin/do_dac.sh b/bin/do_dac.sh new file mode 100755 index 0000000..55e8d3d --- /dev/null +++ b/bin/do_dac.sh @@ -0,0 +1,3 @@ +#!/bin/sh +pacmd set-card-profile alsa_card.usb-FiiO_DigiHug_USB_Audio-01 output:iec958-stereo +pacmd load-module module-ladspa-sink sink_name=binaural sink_master=alsa_output.usb-FiiO_DigiHug_USB_Audio-01.iec958-stereo plugin=bs2b label=bs2b control=700,4.5 diff --git a/bin/mpd_only.sh b/bin/mpd_only.sh new file mode 100755 index 0000000..6b905d9 --- /dev/null +++ b/bin/mpd_only.sh @@ -0,0 +1,2 @@ +#!/bin/sh +pacmd exit && mpc enable "DigiHug USB Audio" && mpd disable "My Pulse Output" diff --git a/bin/mpd_others.sh b/bin/mpd_others.sh new file mode 100755 index 0000000..28fb5e9 --- /dev/null +++ b/bin/mpd_others.sh @@ -0,0 +1,4 @@ +#!/bin/sh +mpc disable "DigiHug USB Audio" +mpc enable "My Pulse Output" +pacmd load-module module-udev-detect diff --git a/bin/startaudio b/bin/startaudio index 407c751..8880742 100755 --- a/bin/startaudio +++ b/bin/startaudio @@ -1,2 +1,4 @@ #!/bin/sh -start-pulseaudio-x11 && sleep 2 && sh ~/.jackdrc +start-pulseaudio-x11 +mpd_others.sh +do_dac.sh |