VirtualBox

Changeset 65391 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 20, 2017 3:29:23 PM (8 years ago)
Author:
vboxsync
Message:

VideoRec: Made uHz 32-bit.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp

    r65389 r65391  
    7777            OpusEncoder    *pEnc;
    7878            /** The encoding rate to use. */
    79             uint16_t        uHz;
     79            uint32_t        uHz;
    8080            /** Duration of the frame in samples (per channel).
    8181             *  Valid frame size are:
     
    163163    PDRVAUDIOVIDEOREC pThis = PDMIHOSTAUDIO_2_DRVAUDIOVIDEOREC(pInterface);
    164164
    165     uint16_t uHz = pStreamOut->Props.uHz;
     165    uint32_t uHz = pStreamOut->Props.uHz;
    166166
    167167    /* Opus only supports certain input sample rates in an efficient manner.
  • trunk/src/VBox/Main/src-client/EbmlWriter.cpp

    r65389 r65391  
    329329            {
    330330                /** Sample rate of input data. */
    331                 uint16_t uHz;
     331                uint32_t uHz;
    332332                /** Duration of the frame in samples (per channel).
    333333                 *  Valid frame size are:
     
    514514     * @returns IPRT status code.
    515515     * @param   uHz             Input sampling rate.
     516     *                          Must be supported by the selected audio codec.
    516517     * @param   cChannels       Number of input audio channels.
    517518     * @param   cBits           Number of input bits per channel.
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