aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
commitf1dd9c209c3a1cf6826d3a38b60f638e0faeadab (patch)
tree91e369d89eac8d298f1473c0dbcdf43065ae3b40 /src/audioOutput.h
parentbd81fd8b0c4f4f3c20533e21d6a837326eb8682b (diff)
downloadmpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.gz
mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.xz
mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.zip
audio_format: converted typedef AudioFormat to struct audio_format
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
Diffstat (limited to 'src/audioOutput.h')
-rw-r--r--src/audioOutput.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audioOutput.h b/src/audioOutput.h
index 16751cb12..d706b602e 100644
--- a/src/audioOutput.h
+++ b/src/audioOutput.h
@@ -65,9 +65,9 @@ struct _AudioOutput {
AudioOutputSendMetadataFunc sendMetdataFunc;
int convertAudioFormat;
- AudioFormat inAudioFormat;
- AudioFormat outAudioFormat;
- AudioFormat reqAudioFormat;
+ struct audio_format inAudioFormat;
+ struct audio_format outAudioFormat;
+ struct audio_format reqAudioFormat;
ConvState convState;
char *convBuffer;
size_t convBufferLen;
@@ -97,7 +97,7 @@ void unloadAudioOutputPlugin(AudioOutputPlugin * audioOutputPlugin);
int initAudioOutput(AudioOutput *, ConfigParam * param);
int openAudioOutput(AudioOutput * audioOutput,
- const AudioFormat * audioFormat);
+ const struct audio_format *audioFormat);
int playAudioOutput(AudioOutput * audioOutput,
const char *playChunk, size_t size);
void dropBufferedAudioOutput(AudioOutput * audioOutput);