diff options
Diffstat (limited to 'src/audioOutput.c')
-rw-r--r-- | src/audioOutput.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audioOutput.c b/src/audioOutput.c index f197a789b..7e9793f93 100644 --- a/src/audioOutput.c +++ b/src/audioOutput.c @@ -130,9 +130,9 @@ int initAudioOutput(AudioOutput *ao, ConfigParam * param) ao->convBuffer = NULL; ao->convBufferLen = 0; - memset(&ao->inAudioFormat, 0, sizeof(AudioFormat)); - memset(&ao->outAudioFormat, 0, sizeof(AudioFormat)); - memset(&ao->reqAudioFormat, 0, sizeof(AudioFormat)); + memset(&ao->inAudioFormat, 0, sizeof(ao->inAudioFormat)); + memset(&ao->outAudioFormat, 0, sizeof(ao->outAudioFormat)); + memset(&ao->reqAudioFormat, 0, sizeof(ao->reqAudioFormat)); memset(&ao->convState, 0, sizeof(ConvState)); if (format) { @@ -152,7 +152,7 @@ int initAudioOutput(AudioOutput *ao, ConfigParam * param) } int openAudioOutput(AudioOutput * audioOutput, - const AudioFormat * audioFormat) + const struct audio_format *audioFormat) { int ret = 0; |