Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kiste
xwax
Commits
69136d83
Commit
69136d83
authored
Aug 10, 2016
by
Mark Hills
Browse files
Formatting in line with the other shell scripts
parent
802fc32c
Changes
1
Hide whitespace changes
Inline
Side-by-side
import
View file @
69136d83
...
...
@@ -16,18 +16,18 @@ RATE="$2"
case
"
$FILE
"
in
*
.cdaudio
)
echo
"Calling CD extract..."
>
&2
exec
cdparanoia
-r
`
cat
"
$FILE
"
`
-
;;
echo
"Calling CD extract..."
>
&2
exec
cdparanoia
-r
`
cat
"
$FILE
"
`
-
;;
*
.mp3
)
echo
"Calling MP3 decoder..."
>
&2
exec
mpg123
-q
-s
--rate
"
$RATE
"
--stereo
"
$FILE
"
;;
echo
"Calling MP3 decoder..."
>
&2
exec
mpg123
-q
-s
--rate
"
$RATE
"
--stereo
"
$FILE
"
;;
*
)
echo
"Calling fallback decoder..."
>
&2
exec
ffmpeg
-v
0
-i
"
$FILE
"
-f
s16le
-ar
"
$RATE
"
-
;;
echo
"Calling fallback decoder..."
>
&2
exec
ffmpeg
-v
0
-i
"
$FILE
"
-f
s16le
-ar
"
$RATE
"
-
;;
esac
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment