diff options
Diffstat (limited to 'src/audioOutputs/audioOutput_oss.c')
-rw-r--r-- | src/audioOutputs/audioOutput_oss.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index f65312fc9..5f8db8276 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -375,6 +375,7 @@ static int oss_open_default(mpd_unused struct audio_output *ao, } static int oss_initDriver(struct audio_output *audioOutput, + mpd_unused const struct audio_format *audio_format, ConfigParam * param) { OssData *od = newOssData(); @@ -480,11 +481,11 @@ fail: return -1; } -static int oss_openDevice(struct audio_output *audioOutput) +static int oss_openDevice(struct audio_output *audioOutput, + struct audio_format *audioFormat) { int ret; OssData *od = audioOutput->data; - struct audio_format *audioFormat = &audioOutput->outAudioFormat; od->channels = (mpd_sint8)audioFormat->channels; od->sampleRate = audioFormat->sampleRate; |