VirtualBox

Changeset 65660 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 7, 2017 1:53:14 PM (8 years ago)
Author:
vboxsync
Message:

Audio: Added PDMAUDIOSTREAMLAYOUT_RAW to pass the raw audio data to the VRDP backend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudioifs.h

    r65657 r65660  
    285285     *  interleaved / non-interleaved layouts. */
    286286    PDMAUDIOSTREAMLAYOUT_COMPLEX,
     287    /** Raw (pass through) data, with no data layout processing done. */
     288    PDMAUDIOSTREAMLAYOUT_RAW,
    287289    /** Hack to blow the type up to 32-bit. */
    288290    PDMAUDIOSTREAMLAYOUT_32BIT_HACK = 0x7fffffff
     
    388390    /** The stream's PCM properties. */
    389391    PDMAUDIOPCMPROPS         Props;
     392    /** The stream's audio data layout.
     393     *  This indicates how the audio data buffers to/from the backend is being layouted.
     394     *
     395     *  Currently, the following layouts are supported by the audio connector:
     396     *
     397     *  PDMAUDIOSTREAMLAYOUT_NON_INTERLEAVED:
     398     *      One stream at once. The consecutive audio data is exactly in the format and sample width
     399     *      like defined in the PCM properties. This is the default.
     400     *
     401     *  PDMAUDIOSTREAMLAYOUT_RAW:
     402     *      Can be one or many streams at once, depending on the stream's mixing buffer setup.
     403     *      The audio data will get handled as PDMAUDIOSAMPLE samples without any modification done. */
     404    PDMAUDIOSTREAMLAYOUT     enmLayout;
    390405    /** Hint about the optimal sample buffer size (in audio samples).
    391406     *  0 if no hint is given. */
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