Changeset 1071 in vbox for trunk/src/VBox/Devices/Audio/ossaudio.c
- Timestamp:
- Feb 27, 2007 11:00:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/ossaudio.c
r366 r1071 227 227 oss_logerr2 (errno, typ, "Failed to open `%s'\n", dspname); 228 228 #else 229 LogRel((" Audio/OSS: Failed to open %s for %s (%s)\n",229 LogRel(("OSS: Failed to open %s for %s (%s)\n", 230 230 dspname, typ, strerror(errno))); 231 231 #endif … … 234 234 235 235 #ifdef VBOX 236 LogRel((" Audio/OSS: Successfully opened %s for %s\n", dspname, typ));236 LogRel(("OSS: Successfully opened %s for %s\n", dspname, typ)); 237 237 #endif 238 238 … … 245 245 oss_logerr2 (errno, typ, "Failed to set sample size %d\n", req->fmt); 246 246 #else 247 LogRel((" Audio/OSS: Failed to set sample size %d (%s)\n",247 LogRel(("OSS: Failed to set sample size %d (%s)\n", 248 248 req->fmt, strerror(errno))); 249 249 #endif … … 256 256 req->nchannels); 257 257 #else 258 LogRel((" Audio/OSS: Failed to set nchannels=%d (%s)\n",258 LogRel(("OSS: Failed to set nchannels=%d (%s)\n", 259 259 req->nchannels, strerror(errno))); 260 260 #endif … … 266 266 oss_logerr2 (errno, typ, "Failed to set frequency %d\n", req->freq); 267 267 #else 268 LogRel((" Audio/OSS: Failed to set freq=%dHZ\n", req->freq, strerror(errno)));268 LogRel(("OSS: Failed to set freq=%dHZ\n", req->freq, strerror(errno))); 269 269 #endif 270 270 goto err; … … 275 275 oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n"); 276 276 #else 277 LogRel((" Audio/OSS: Failed to set non-blocking mode (%s)\n", strerror(errno)));277 LogRel(("OSS: Failed to set non-blocking mode (%s)\n", strerror(errno))); 278 278 #endif 279 279 goto err; … … 286 286 req->nfrags, req->fragsize); 287 287 #else 288 LogRel((" Audio/OSS: Failed to set buffer_length=%d,%d (%s)\n",288 LogRel(("OSS: Failed to set buffer_length=%d,%d (%s)\n", 289 289 req->nfrags, req->fragsize, strerror(errno))); 290 290 #endif … … 296 296 oss_logerr2 (errno, typ, "Failed to get buffer length\n"); 297 297 #else 298 LogRel((" Audio/OSS: Failed to get buffer length (%s)\n", strerror(errno)));298 LogRel(("OSS: Failed to get buffer length (%s)\n", strerror(errno))); 299 299 #endif 300 300 goto err; … … 327 327 oss_anal_close (&fd); 328 328 #ifdef VBOX 329 LogRel((" Audio/OSS: Closed %s for %s\n",329 LogRel(("OSS: Closed %s for %s\n", 330 330 in ? conf.devpath_in : conf.devpath_out, in ? "ADC" : "DAC")); 331 331 #endif … … 482 482 oss_anal_close (&oss->fd); 483 483 #ifdef VBOX 484 LogRel((" Audio/OSS: Closed %s for DAC\n", conf.devpath_out));484 LogRel(("OSS: Closed %s for DAC\n", conf.devpath_out)); 485 485 #endif 486 486 … … 530 530 oss_anal_close (&fd); 531 531 #ifdef VBOX 532 LogRel((" Audio/OSS: Closed %s for DAC\n", conf.devpath_out));532 LogRel(("OSS: Closed %s for DAC\n", conf.devpath_out)); 533 533 #endif 534 534 return -1; … … 611 611 oss_anal_close (&fd); 612 612 #ifdef VBOX 613 LogRel((" Audio/OSS: Closed %s for DAC\n", conf.devpath_out));613 LogRel(("OSS: Closed %s for DAC\n", conf.devpath_out)); 614 614 #endif 615 615 return -1; … … 687 687 oss_anal_close (&fd); 688 688 #ifdef VBOX 689 LogRel((" Audio/OSS: Closed %s for ADC\n", conf.devpath_in));689 LogRel(("OSS: Closed %s for ADC\n", conf.devpath_in)); 690 690 #endif 691 691 return -1; … … 713 713 oss_anal_close (&fd); 714 714 #ifdef VBOX 715 LogRel((" Audio/OSS: Closed %s for ADC\n", conf.devpath_in));715 LogRel(("OSS: Closed %s for ADC\n", conf.devpath_in)); 716 716 #endif 717 717 return -1; … … 728 728 oss_anal_close (&oss->fd); 729 729 #ifdef VBOX 730 LogRel((" Audio/OSS: Closed %s for ADC\n", conf.devpath_in));730 LogRel(("OSS: Closed %s for ADC\n", conf.devpath_in)); 731 731 #endif 732 732
Note:
See TracChangeset
for help on using the changeset viewer.