diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-10 02:20:15 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-10 02:20:15 +0000 |
commit | cd3180c70180ae49c0c5611850c18ce0cebdd464 (patch) | |
tree | 3998db9723352408f3feb2747bf2d5cd096cba9c /src/audio.h | |
parent | 9edafa886bc5d294c9f466d63c1d45876ce358d0 (diff) | |
download | mpd-cd3180c70180ae49c0c5611850c18ce0cebdd464.tar.gz mpd-cd3180c70180ae49c0c5611850c18ce0cebdd464.tar.xz mpd-cd3180c70180ae49c0c5611850c18ce0cebdd464.zip |
stuff for configuring the audio output format (sampling rate, channels, bits)
git-svn-id: https://svn.musicpd.org/mpd/trunk@967 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.h')
-rw-r--r-- | src/audio.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/audio.h b/src/audio.h index 98b44326e..a03c42ca9 100644 --- a/src/audio.h +++ b/src/audio.h @@ -33,15 +33,21 @@ typedef struct _AudioFormat { volatile mpd_sint8 bits; } AudioFormat; +void getOutputAudioFormat(AudioFormat * inFormat, AudioFormat * outFormat); + +void initAudioConfig(); + +void finishAudioConfig(); + void initAudioDriver(); void finishAudioDriver(); -int initAudio(AudioFormat * audioFormat); +int openAudioDevice(AudioFormat * audioFormat); int playAudio(char * playChunk,int size); -void finishAudio(); +void closeAudioDevice(); void audioError(); |