Changeset 89518 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jun 4, 2021 10:34:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioOss.cpp
r89517 r89518 688 688 689 689 /* 690 * Note! This logic was found in StreamPlay and corrected a little.690 * The logic here must match what StreamPlay does. 691 691 * 692 * The logic here must match what StreamPlay does. 692 * Note! We now use 'bytes' rather than the fragments * fragsize as we used 693 * to do (up to 2021), as these are documented as obsolete. 693 694 */ 694 695 audio_buf_info BufInfo = { 0, 0, 0, 0 }; … … 740 741 741 742 /* 742 * Figure out now much to write (same as drvHstAudOssHA_StreamGetWritable). 743 * Figure out now much to write (same as drvHstAudOssHA_StreamGetWritable, 744 * must match exactly). 743 745 */ 744 746 audio_buf_info BufInfo; … … 815 817 * Use SNDCTL_DSP_GETISPACE to see how much we can read. 816 818 * 817 * Note! We use bytes rather than the fragments * fragsize, as these are818 * documented as obsolete. (Playback code should do the same.)819 * Note! We now use 'bytes' rather than the fragments * fragsize as we used 820 * to do (up to 2021), as these are documented as obsolete. 819 821 */ 820 822 audio_buf_info BufInfo = { 0, 0, 0, 0 }; … … 846 848 cbRet = PDMAudioPropsFramesToBytes(&pStreamOSS->Cfg.Props, 1); 847 849 848 Log4Func(("returns %#x (%u) [cbBuf=%#x )\n", cbRet, cbRet, cbBuf));850 Log4Func(("returns %#x (%u) [cbBuf=%#x]\n", cbRet, cbRet, cbBuf)); 849 851 return cbRet; 850 852 }
Note:
See TracChangeset
for help on using the changeset viewer.