From 7262368b6897b41188f0cf6844ca875027d425a4 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Tue, 26 Jan 2010 21:21:26 +0100 Subject: fixed samplerate switching bugs in streamer better sound configuration multiple fixes to ALSA and streamer --- plugins/oss/oss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/oss') diff --git a/plugins/oss/oss.c b/plugins/oss/oss.c index 13fd8ec7..a7d716da 100644 --- a/plugins/oss/oss.c +++ b/plugins/oss/oss.c @@ -130,11 +130,10 @@ oss_init (void) { static int oss_change_rate (int rate) { if (!fd) { - oss_rate = rate; return oss_rate; } if (rate == oss_rate) { - trace ("oss_change_rate: same rate (%d), ignored\n", rate); + trace ("oss_change_rate: ignored\n", rate); return rate; } deadbeef->mutex_lock (mutex); -- cgit v1.2.3