Parent Directory | Revision Log | Patch
revision 1.4 by bellard, Sun Nov 14 16:02:51 2004 UTC | revision 1.5 by bellard, Sun Jul 24 09:05:18 2005 UTC | |
---|---|---|
# | Line 127 static int oss_open (struct oss_params * | Line 127 static int oss_open (struct oss_params * |
127 | int fmt, freq, nchannels; | int fmt, freq, nchannels; |
128 | const char *dspname = conf.dspname; | const char *dspname = conf.dspname; |
129 | ||
130 | fd = open (dspname, O_RDWR | O_NONBLOCK); | fd = open (dspname, O_WRONLY | O_NONBLOCK); |
131 | if (-1 == fd) { | if (-1 == fd) { |
132 | dolog ("Could not initialize audio hardware. Failed to open `%s':\n" | dolog ("Could not initialize audio hardware. Failed to open `%s':\n" |
133 | "Reason:%s\n", | "Reason:%s\n", |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |