From a751011e8cf5bf8cfbcd3f3be9eb424d6569b7e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 10 Sep 2008 11:47:28 +0200 Subject: audio: removed commented code We have git.. --- src/audio.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') 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); -- cgit v1.2.3