diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-20 14:44:01 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-20 14:44:01 +0000 |
commit | 26e943c02500194c4bb33b7062ca5add5ab0895f (patch) | |
tree | fd62c0071e7c11be2d33062731f5a4a78f3b25b1 /src/audioOutputs/audioOutput_oss.c | |
parent | cd6af0948c96834c780b49161e89f3bd9701dc0f (diff) | |
download | mpd-26e943c02500194c4bb33b7062ca5add5ab0895f.tar.gz mpd-26e943c02500194c4bb33b7062ca5add5ab0895f.tar.xz mpd-26e943c02500194c4bb33b7062ca5add5ab0895f.zip |
fix oss_openDevice() to match the new openDevice callback protocol (w/o a audioFormat argument)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2715 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs/audioOutput_oss.c')
-rw-r--r-- | src/audioOutputs/audioOutput_oss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index c8e86b7a4..e0746271e 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -106,9 +106,10 @@ static void oss_finishDriver(AudioOutput * audioOutput) { freeOssData(od); } -static int oss_openDevice(AudioOutput * audioOutput, AudioFormat * audioFormat) +static int oss_openDevice(AudioOutput * audioOutput) { OssData * od = audioOutput->data; + AudioFormat * audioFormat = &audioOutput->outAudioFormat; #ifdef WORDS_BIGENDIAN int i = AFMT_S16_BE; #else |