summaryrefslogtreecommitdiff
path: root/plugins/oss
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-26 21:21:26 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-26 21:21:26 +0100
commit7262368b6897b41188f0cf6844ca875027d425a4 (patch)
treed1c1050014f7f2ac0c7238f03d27b17873a3f003 /plugins/oss
parent90877724d03c71111c2b47fd6ea6eb3ebce88dd4 (diff)
fixed samplerate switching bugs in streamer
better sound configuration multiple fixes to ALSA and streamer
Diffstat (limited to 'plugins/oss')
-rw-r--r--plugins/oss/oss.c3
1 files changed, 1 insertions, 2 deletions
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);