Revision 95293972

b/audio/ossaudio.c
127 127
    int fmt, freq, nchannels;
128 128
    const char *dspname = conf.dspname;
129 129

  
130
    fd = open (dspname, O_RDWR | O_NONBLOCK);
130
    fd = open (dspname, O_WRONLY | O_NONBLOCK);
131 131
    if (-1 == fd) {
132 132
        dolog ("Could not initialize audio hardware. Failed to open `%s':\n"
133 133
               "Reason:%s\n",

Also available in: Unified diff