aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.h
diff options
context:
space:
mode:
authorAndreas Claesson <andreas.claesson@gmail.com>2005-05-22 21:40:23 +0000
committerAndreas Claesson <andreas.claesson@gmail.com>2005-05-22 21:40:23 +0000
commit422410c46de81cec8872a9b91d07a7c9eca96b82 (patch)
tree36597b9d2d6c487d7becf01fba056e1dda23ff6c /src/audio.h
parentc2616b44581f9cef1509a91ca5eb663ed9f0db1b (diff)
downloadmpd-422410c46de81cec8872a9b91d07a7c9eca96b82.tar.gz
mpd-422410c46de81cec8872a9b91d07a7c9eca96b82.tar.xz
mpd-422410c46de81cec8872a9b91d07a7c9eca96b82.zip
Addin floating point modifications
git-svn-id: https://svn.musicpd.org/mpd/branches/ancl@3274 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio.h b/src/audio.h
index 87c265568..0cc879b28 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -34,12 +34,15 @@ typedef struct _AudioFormat {
volatile mpd_sint8 channels;
volatile mpd_uint32 sampleRate;
volatile mpd_sint8 bits;
+ volatile mpd_sint8 floatSamples;
} AudioFormat;
void copyAudioFormat(AudioFormat * dest, AudioFormat * src);
int cmpAudioFormat(AudioFormat * dest, AudioFormat * src);
+void getInternalAudioFormat(AudioFormat * inFormat, AudioFormat * outFormat);
+
void getOutputAudioFormat(AudioFormat * inFormat, AudioFormat * outFormat);
int parseAudioConfig(AudioFormat * audioFormat, char * conf);