From dec2a063cd5fde4bde8e97fc572f41e884b136cb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 12 Apr 2008 04:21:43 +0000 Subject: const pointers in audioOutput.c git-svn-id: https://svn.musicpd.org/mpd/trunk@7345 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutput.c | 3 ++- src/audioOutput.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/audioOutput.c b/src/audioOutput.c index ba9032713..ff5efabc9 100644 --- a/src/audioOutput.c +++ b/src/audioOutput.c @@ -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; diff --git a/src/audioOutput.h b/src/audioOutput.h index 3cede2e30..7574f5ae1 100644 --- a/src/audioOutput.h +++ b/src/audioOutput.h @@ -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); -- cgit v1.2.3