Skip to content

Commit a73d4d4

Browse files
authored
Update jdsp
1 parent 22e2340 commit a73d4d4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

jdsp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,8 @@ start () {
3838
pactl set-default-sink $vipersink
3939
source $audiofile
4040
gst-launch-1.0 -v pulsesrc device=$vipersink.monitor volume=1.0 \
41-
! audio/x-raw,channels=2,rate=44100,format=F32LE,endianness=1234 \
42-
! audioconvert \
4341
! jdspfx enable="$enable" analogmodelling-enable="$analogmodelling_enable" analogmodelling-tubedrive="$analogmodelling_tubedrive" bass-enable="$bass_enable" bass-mode="$bass_mode" bass-filtertype="$bass_filtertype" bass-freq="$bass_freq" headset-enable="$headset_enable" headset-preset="$headset_preset" stereowide-enable="$stereowide_enable" stereowide-mode="$stereowide_mode" bs2b-enable="$bs2b_enable" bs2b-mode="$bs2b_mode" compression-enable="$compression_enable" compression-pregain="$compression_pregain" compression-threshold="$compression_threshold" compression-knee="$compression_knee" compression-ratio="$compression_ratio" compression-attack="$compression_attack" compression-release="$compression_release" tone-enable="$tone_enable" tone-filtertype="$tone_filtertype" tone-eq="$tone_eq" masterswitch-limthreshold="$masterswitch_limthreshold" masterswitch-limrelease="$masterswitch_limrelease" ddc-enable="$ddc_enable" ddc-file="$ddc_file" \
44-
! audio/x-raw,channels=2,rate=44100,format=F32LE,endianness=1234 \
45-
! audioconvert ! pulsesink device="$location" &
42+
! pulsesink device="$location" > $logfile &
4643
echo $! > $pidfile
4744
echo "Moving existing audio streams to Viper..."
4845
while read existing_sink; do pactl move-sink-input $existing_sink $vipersink; done < <(pactl list sink-inputs short | awk '{print $1}')
@@ -77,12 +74,11 @@ status () {
7774
running="[STOPPED]"
7875
fi
7976
if [ -f $idfile ]; then
80-
idfilestatus="There is an idfile. The JDSPP sink seems to be loaded at id: $oldid."; else
77+
idfilestatus="There is an idfile. The JDSP sink seems to be loaded at id: $oldid."; else
8178
idfilestatus="No idfile found."
8279
fi
8380
echo "$running"
8481
echo "$pidfilestatus $pidstatus"
8582
echo "$idfilestatus"
8683
}
8784
$@
88-

0 commit comments

Comments
 (0)