summaryrefslogtreecommitdiff
path: root/plugins/oss
diff options
context:
space:
mode:
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);