aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-10 11:47:28 +0200
committerMax Kellermann <max@duempel.org>2008-09-10 11:47:28 +0200
commita751011e8cf5bf8cfbcd3f3be9eb424d6569b7e7 (patch)
tree0d0968cb60dddd7b36eda49f487e31019508f655 /src
parent52ed06cbd82ef58ea273e51a05790f91303cb943 (diff)
downloadmpd-a751011e8cf5bf8cfbcd3f3be9eb424d6569b7e7.tar.gz
mpd-a751011e8cf5bf8cfbcd3f3be9eb424d6569b7e7.tar.xz
mpd-a751011e8cf5bf8cfbcd3f3be9eb424d6569b7e7.zip
audio: removed commented code
We have git..
Diffstat (limited to '')
-rw-r--r--src/audio.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/audio.c b/src/audio.c
index 29e74bc44..f58a3376e 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -146,18 +146,6 @@ int parseAudioConfig(struct audio_format *audioFormat, char *conf)
return -1;
}
- /*switch(audioFormat->sampleRate) {
- case 48000:
- case 44100:
- case 32000:
- case 16000:
- break;
- default:
- ERROR("sample rate %i can not be used for audio output\n",
- (int)audioFormat->sampleRate);
- return -1
- } */
-
if (audioFormat->sampleRate <= 0) {
ERROR("sample rate %i is not >= 0\n",
(int)audioFormat->sampleRate);