Changeset 59992 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 11, 2016 12:59:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r59989 r59992 40 40 #if ((SOUND_VERSION > 360) && (defined(OSS_SYSINFO))) 41 41 /* OSS > 3.6 has a new syscall available for querying a bit more detailed information 42 * about OSS' audio capabilities. */42 * about OSS' audio capabilities. This is handy for e.g. Solaris. */ 43 43 # define VBOX_WITH_OSS_SYSINFO 1 44 44 #endif … … 609 609 if (err == 0) 610 610 { 611 LogRel2(("OSS: Number of DSPs: %d\n", ossVer.numaudios)); 612 LogRel2(("OSS: Number of mixers: %d\n", ossVer.nummixers)); 613 /** @todo Determine number of input devices + output devices. */ 611 LogRel2(("OSS: Number of DSPs: %d\n", ossInfo.numaudios)); 612 LogRel2(("OSS: Number of mixers: %d\n", ossInfo.nummixers)); 613 614 int cDev = ossInfo.nummixers; 615 if (!cDev) 616 cDev = ossInfo.numaudios; 617 618 pCfg->cSources = cDev; 619 pCfg->cSinks = cDev; 620 621 pCfg->cMaxStreamsIn = UINT32_MAX; 622 pCfg->cMaxStreamsOut = UINT32_MAX; 614 623 } 615 624 else … … 621 630 pCfg->cSinks = 1; 622 631 623 pCfg->cMaxStreamsIn = UINT32_MAX; /* Line in + microphone in. */632 pCfg->cMaxStreamsIn = UINT32_MAX; 624 633 pCfg->cMaxStreamsOut = UINT32_MAX; 625 634 #ifdef VBOX_WITH_OSS_SYSINFO
Note:
See TracChangeset
for help on using the changeset viewer.