aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-11 18:00:41 +0100
committerMax Kellermann <max@duempel.org>2009-02-11 18:00:41 +0100
commit5090cf6484f5e7464aeba54d19500cc334a80fad (patch)
tree1e6cc079a0b23128a529aea3f6042581027828c9 /src/audio.h
parent5484aaee5f9407e61d77e81236b4942c12b94556 (diff)
downloadmpd-5090cf6484f5e7464aeba54d19500cc334a80fad.tar.gz
mpd-5090cf6484f5e7464aeba54d19500cc334a80fad.tar.xz
mpd-5090cf6484f5e7464aeba54d19500cc334a80fad.zip
audio: replaced parseAudioConfig() with audio_format_parse()
Added audio_format_parse() in a separate library, with a modern interface: return a GError instead of logging errors. This allows the caller to deal with the error.
Diffstat (limited to 'src/audio.h')
-rw-r--r--src/audio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/audio.h b/src/audio.h
index 865890485..588655b05 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -26,8 +26,6 @@ struct audio_format;
void getOutputAudioFormat(const struct audio_format *inFormat,
struct audio_format *outFormat);
-int parseAudioConfig(struct audio_format *audioFormat, char *conf);
-
/* make sure initPlayerData is called before this function!! */
void initAudioConfig(void);