aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c
index de5296f2e..5de64b447 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -159,7 +159,7 @@ void initAudioConfig() {
exit(EXIT_FAILURE);
}
- audio_configFormat->bits = strtol(test,&test,10);
+ audio_configFormat->bits = strtol(test+1,&test,10);
if(*test!=':') {
ERROR("error parsing audio output format: %s\n",conf);
@@ -175,7 +175,7 @@ void initAudioConfig() {
exit(EXIT_FAILURE);
}
- audio_configFormat->channels = strtol(test,&test,10);
+ audio_configFormat->channels = strtol(test+1,&test,10);
if(*test!='\0') {
ERROR("error parsing audio output format: %s\n",conf);