VirtualBox

Changeset 89518 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 4, 2021 10:34:56 PM (4 years ago)
Author:
vboxsync
Message:

DrvHostAudioOss: Comment updates. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioOss.cpp

    r89517 r89518  
    688688
    689689    /*
    690      * Note! This logic was found in StreamPlay and corrected a little.
     690     * The logic here must match what StreamPlay does.
    691691     *
    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.
    693694     */
    694695    audio_buf_info BufInfo = { 0, 0, 0, 0 };
     
    740741
    741742    /*
    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).
    743745     */
    744746    audio_buf_info BufInfo;
     
    815817     * Use SNDCTL_DSP_GETISPACE to see how much we can read.
    816818     *
    817      * Note! We use bytes rather than the fragments * fragsize, as these are
    818      *       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.
    819821     */
    820822    audio_buf_info BufInfo = { 0, 0, 0, 0 };
     
    846848        cbRet = PDMAudioPropsFramesToBytes(&pStreamOSS->Cfg.Props, 1);
    847849
    848     Log4Func(("returns %#x (%u) [cbBuf=%#x)\n", cbRet, cbRet, cbBuf));
     850    Log4Func(("returns %#x (%u) [cbBuf=%#x]\n", cbRet, cbRet, cbBuf));
    849851    return cbRet;
    850852}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette