VirtualBox

Changeset 68077 in vbox for trunk


Ignore:
Timestamp:
Jul 21, 2017 10:17:32 AM (7 years ago)
Author:
vboxsync
Message:

vmm/pdmaudioifs.h: Documentation.

File:
1 edited

Legend:

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

    r68076 r68077  
    285285     *  interleaved / non-interleaved layouts. */
    286286    PDMAUDIOSTREAMLAYOUT_COMPLEX,
    287     /** Raw (pass through) data, with no data layout processing done. */
     287    /** Raw (pass through) data, with no data layout processing done.
     288     *
     289     *  This means that this stream will operate on PDMAUDIOSAMPLE data
     290     *  directly. Don't use this if you don't have to. */
    288291    PDMAUDIOSTREAMLAYOUT_RAW,
    289292    /** Hack to blow the type up to 32-bit. */
     
    11771180
    11781181    /**
    1179      * Returns the number of bytes which are readable from the audio (input) stream.
    1180      *
    1181      * @returns Number of readable bytes.
     1182     * Returns the amount which is readable from the audio (input) stream.
     1183     *
     1184     * @returns For non-raw layout streams: Number of readable bytes.
     1185     *          for raw layout streams    : Number of readable audio samples.
    11821186     * @param   pInterface          Pointer to the interface structure containing the called function pointer.
    11831187     * @param   pStream             Pointer to audio stream.
     
    11861190
    11871191    /**
    1188      * Returns the number of bytes which are writable to the audio (output) stream.
    1189      *
    1190      * @returns Number of writable bytes.
     1192     * Returns the amount which is writable to the audio (output) stream.
     1193     *
     1194     * @returns For non-raw layout streams: Number of writable bytes.
     1195     *          for raw layout streams    : Number of writable audio samples.
    11911196     * @param   pInterface          Pointer to the interface structure containing the called function pointer.
    11921197     * @param   pStream             Pointer to audio stream.
     
    12271232     * @param   pStream             Pointer to audio stream.
    12281233     * @param   pvBuf               Pointer to audio data buffer to play.
    1229      * @param   cbBuf               Size (in bytes) of audio data buffer.
    1230      * @param   pcbWritten          Returns number of bytes written.  Optional.
    1231      */
    1232     DECLR3CALLBACKMEMBER(int, pfnStreamPlay, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten));
     1234     * @param   cxBuf               For non-raw layout streams: Size (in bytes) of audio data buffer,
     1235     *                              for raw layout streams    : Size (in audio samples) of audio data buffer.
     1236     * @param   pcxWritten          For non-raw layout streams: Returns number of bytes written.    Optional.
     1237     *                              for raw layout streams    : Returns number of samples written.  Optional.
     1238     */
     1239    DECLR3CALLBACKMEMBER(int, pfnStreamPlay, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, const void *pvBuf, uint32_t cxBuf, uint32_t *pcxWritten));
    12331240
    12341241    /**
     
    12551262     * @param   pStream             Pointer to audio stream.
    12561263     * @param   pvBuf               Buffer where to store read audio data.
    1257      * @param   cbBuf               Size (in bytes) of buffer.
    1258      * @param   pcbRead             Returns number of bytes read.  Optional.
    1259      */
    1260     DECLR3CALLBACKMEMBER(int, pfnStreamCapture, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead));
     1264     * @param   cxBuf               For non-raw layout streams: Size (in bytes) of audio data buffer,
     1265     *                              for raw layout streams    : Size (in audio samples) of audio data buffer.
     1266     * @param   pcxRead             For non-raw layout streams: Returns number of bytes read.    Optional.
     1267     *                              for raw layout streams    : Returns number of samples read.  Optional.
     1268     */
     1269    DECLR3CALLBACKMEMBER(int, pfnStreamCapture, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, void *pvBuf, uint32_t cxBuf, uint32_t *pcxRead));
    12611270
    12621271    /**
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