Commit dec2a063 authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

const pointers in audioOutput.c

git-svn-id: https://svn.musicpd.org/mpd/trunk@7345 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent b4ea6e52
......@@ -150,7 +150,8 @@ int initAudioOutput(AudioOutput *ao, ConfigParam * param)
return 1;
}
int openAudioOutput(AudioOutput * audioOutput, AudioFormat * audioFormat)
int openAudioOutput(AudioOutput * audioOutput,
const AudioFormat * audioFormat)
{
int ret = 0;
......
......@@ -96,7 +96,8 @@ void loadAudioOutputPlugin(AudioOutputPlugin * audioOutputPlugin);
void unloadAudioOutputPlugin(AudioOutputPlugin * audioOutputPlugin);
int initAudioOutput(AudioOutput *, ConfigParam * param);
int openAudioOutput(AudioOutput * audioOutput, AudioFormat * audioFormat);
int openAudioOutput(AudioOutput * audioOutput,
const AudioFormat * audioFormat);
int playAudioOutput(AudioOutput * audioOutput,
const char *playChunk, size_t size);
void dropBufferedAudioOutput(AudioOutput * audioOutput);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment