1 |
/* |
/* -*- c-basic-offset: 8 -*- |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Sound Channel Process Functions - Sun |
Sound Channel Process Functions - Sun |
4 |
Copyright (C) Matthew Chapman 2003 |
Copyright (C) Matthew Chapman 2003 |
54 |
|
|
55 |
if (dsp_dev == NULL) |
if (dsp_dev == NULL) |
56 |
{ |
{ |
57 |
dsp_dev = "/dev/audio"; |
dsp_dev = strdup("/dev/audio"); |
58 |
} |
} |
59 |
|
|
60 |
if ((g_dsp_fd = open(dsp_dev, O_WRONLY | O_NONBLOCK)) == -1) |
if ((g_dsp_fd = open(dsp_dev, O_WRONLY | O_NONBLOCK)) == -1) |