VirtualBox

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


Ignore:
Timestamp:
Mar 8, 2021 2:12:02 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143145
Message:

Audio: Removed unused drvAudioHlpBytesPerSec helper to shut up clang warnings. bugref:9890

File:
1 edited

Legend:

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

    r88016 r88017  
    10281028    AssertReturn(cbFrame, false);
    10291029    return cb % cbFrame == 0;
    1030 }
    1031 
    1032 /**
    1033  * Returns the bytes per second for given PCM properties.
    1034  *
    1035  * @returns Bytes per second.
    1036  * @param   pProps              PCM properties to retrieve size for.
    1037  */
    1038 DECLINLINE(uint64_t) drvAudioHlpBytesPerSec(PCPDMAUDIOPCMPROPS pProps)
    1039 {
    1040     return PDMAUDIOPCMPROPS_F2B(pProps, 1 /* Frame */) * pProps->uHz;
    10411030}
    10421031
Note: See TracChangeset for help on using the changeset viewer.

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