VirtualBox

Ignore:
Timestamp:
Jun 2, 2021 8:43:16 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144810
Message:

Audio/ValKit: More code for recording tests. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/AudioTestServiceProtocol.h

    r89431 r89456  
    153153typedef ATSPKTREQTSETEND *PATSPKTREQTSETEND;
    154154
    155 #define ATSPKT_OPCODE_TONE_PLAY         "TNPLY   "
    156 
    157 /**
    158  * The TONE PLAY request structure.
     155#define ATSPKT_OPCODE_TONE_PLAY         "TN PLY  "
     156
     157/**
     158 * The TN PLY request structure.
    159159 */
    160160typedef struct ATSPKTREQTONEPLAY
     
    177177typedef ATSPKTREQTONEPLAY *PATSPKTREQTONEPLAY;
    178178
     179#define ATSPKT_OPCODE_TONE_RECORD       "TN REC  "
     180
     181/**
     182 * The TN REC request structure.
     183 */
     184typedef struct ATSPKTREQTONEREC
     185{
     186    /** Embedded packet header. */
     187    ATSPKTHDR          Hdr;
     188    /** Stream configuration to use for recording the tone.
     189     *  Note: Depending on the actual implementation this configuration might or might not be available / supported. */
     190    PDMAUDIOSTREAMCFG  StreamCfg;
     191    /** Test tone parameters for playback. */
     192    AUDIOTESTTONEPARMS ToneParms;
     193#if HC_ARCH_BITS == 64
     194    uint8_t            aPadding[4+8];
     195#else
     196    uint8_t            aPadding[6+8];
     197#endif
     198} ATSPKTREQTONEREC;
     199AssertCompileSizeAlignment(ATSPKTREQTONEREC, ATSPKT_ALIGNMENT);
     200/** Pointer to a ATSPKTREQTONEREC structure. */
     201typedef ATSPKTREQTONEREC *PATSPKTREQTONEREC;
     202
    179203/* No additional structure for the reply (just standard STATUS packet). */
    180204
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