aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:21:43 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:21:43 +0000
commitdec2a063cd5fde4bde8e97fc572f41e884b136cb (patch)
tree32f0f6de15d90f56fea8be93a806b36249c99677 /src
parentb4ea6e52b2eba41121431ea6a1569aff04dad8fd (diff)
downloadmpd-dec2a063cd5fde4bde8e97fc572f41e884b136cb.tar.gz
mpd-dec2a063cd5fde4bde8e97fc572f41e884b136cb.tar.xz
mpd-dec2a063cd5fde4bde8e97fc572f41e884b136cb.zip
const pointers in audioOutput.c
git-svn-id: https://svn.musicpd.org/mpd/trunk@7345 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/audioOutput.c3
-rw-r--r--src/audioOutput.h3
2 files changed, 4 insertions, 2 deletions
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);