summaryrefslogtreecommitdiff
path: root/plugins/oss
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-03-20 19:30:41 +0100
committerGravatar waker <wakeroid@gmail.com>2011-03-20 19:30:41 +0100
commit32564c539f6da83979c0fc70580ebb190f853a3b (patch)
tree1b7d81f520b7f5321069422c7290f759dc6af2ac /plugins/oss
parentaca4048694c3e32c2a07e0be0214808d29945cc7 (diff)
fixed /dev/oss typo in oss plugin
Diffstat (limited to 'plugins/oss')
-rw-r--r--plugins/oss/oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/oss/oss.c b/plugins/oss/oss.c
index d18bad8c..e2fdf3ee 100644
--- a/plugins/oss/oss.c
+++ b/plugins/oss/oss.c
@@ -309,7 +309,7 @@ oss_get_state (void) {
static int
oss_configchanged (DB_event_t *ev, uintptr_t data) {
- const char *dev = deadbeef->conf_get_str ("oss.device", "/dev/oss");
+ const char *dev = deadbeef->conf_get_str ("oss.device", "/dev/dsp");
if (strcmp (dev, oss_device)) {
strncpy (oss_device, dev, sizeof (oss_device)-1);
trace ("oss: config option changed, restarting\n");
@@ -320,7 +320,7 @@ oss_configchanged (DB_event_t *ev, uintptr_t data) {
static int
oss_plugin_start (void) {
- const char *dev = deadbeef->conf_get_str ("oss.device", "/dev/oss");
+ const char *dev = deadbeef->conf_get_str ("oss.device", "/dev/dsp");
strncpy (oss_device, dev, sizeof (oss_device)-1);
deadbeef->ev_subscribe (DB_PLUGIN (&plugin), DB_EV_CONFIGCHANGED, DB_CALLBACK (oss_configchanged), 0);
return 0;