const pointers in audioOutput.c

git-svn-id: https://svn.musicpd.org/mpd/trunk@7345 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Max Kellermann 2008-04-12 04:21:43 +00:00 committed by Eric Wong
parent b4ea6e52b2
commit dec2a063cd
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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);