Changeset 20501 in vbox for trunk/src/VBox/Devices/Audio/ossaudio.c
- Timestamp:
- Jun 12, 2009 11:31:37 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48494
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/ossaudio.c
r3785 r20501 275 275 } 276 276 277 /* Obsolete on Solaris (using O_NONBLOCK is sufficient) */ 278 #if !(defined(VBOX) && defined(RT_OS_SOLARIS)) 277 279 if (ioctl (fd, SNDCTL_DSP_NONBLOCK)) { 278 # ifndef VBOX280 # ifndef VBOX 279 281 oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n"); 280 # else282 # else 281 283 LogRel(("OSS: Failed to set non-blocking mode (%s)\n", strerror(errno))); 282 # endif284 # endif 283 285 goto err; 284 286 } 287 #endif 285 288 286 289 mmmmssss = (req->nfrags << 16) | lsbindex (req->fragsize);
Note:
See TracChangeset
for help on using the changeset viewer.