1 |
/* |
/* -*- c-basic-offset: 8 -*- |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Sound Channel Process Functions - Open Sound System |
Sound Channel Process Functions - Open Sound System |
4 |
Copyright (C) Matthew Chapman 2003 |
Copyright (C) Matthew Chapman 2003 |
50 |
|
|
51 |
if (dsp_dev == NULL) |
if (dsp_dev == NULL) |
52 |
{ |
{ |
53 |
dsp_dev = strdup("/dev/dsp"); |
dsp_dev = xstrdup("/dev/dsp"); |
54 |
} |
} |
55 |
|
|
56 |
if ((g_dsp_fd = open(dsp_dev, O_WRONLY | O_NONBLOCK)) == -1) |
if ((g_dsp_fd = open(dsp_dev, O_WRONLY | O_NONBLOCK)) == -1) |