aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-02 17:05:27 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-02 17:05:27 +0000
commitee5d5d633016948f3ecf2d5f9875d7e8223f9a36 (patch)
treeeb58a5f4ed032e6f28ff0e7f5bdaae29dd937e38 /src/audio.h
parent02982397700a02cb095970023ff9e8618638cc0c (diff)
downloadmpd-ee5d5d633016948f3ecf2d5f9875d7e8223f9a36.tar.gz
mpd-ee5d5d633016948f3ecf2d5f9875d7e8223f9a36.tar.xz
mpd-ee5d5d633016948f3ecf2d5f9875d7e8223f9a36.zip
abstract out audioFormat conversion from shout plugin to the audioOutput layer,
now format can be specified for each different audioOutput device git-svn-id: https://svn.musicpd.org/mpd/trunk@2474 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.h')
-rw-r--r--src/audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio.h b/src/audio.h
index 516997106..c81d1d265 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -36,6 +36,8 @@ typedef struct _AudioFormat {
void copyAudioFormat(AudioFormat * dest, AudioFormat * src);
+int cmpAudioFormat(AudioFormat * dest, AudioFormat * src);
+
void getOutputAudioFormat(AudioFormat * inFormat, AudioFormat * outFormat);
int parseAudioConfig(AudioFormat * audioFormat, char * conf);