diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sunaudio/gstsunaudio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sunaudio/gstsunaudio.c b/sys/sunaudio/gstsunaudio.c index 42c8bc86..b58f1826 100644 --- a/sys/sunaudio/gstsunaudio.c +++ b/sys/sunaudio/gstsunaudio.c @@ -313,12 +313,9 @@ gst_sunaudiosink_setparams (GstSunAudioSink * sunaudiosink) static gboolean gst_sunaudiosink_open (GstSunAudioSink * sunaudiosink) { - const char *file; int fd, ret; - file = "/dev/audio"; - - fd = open (file, O_WRONLY); + fd = open (sunaudiosink->device, O_WRONLY); if (fd == -1) { /* FIXME error */ return FALSE; |