Changeset 89415 in vbox for trunk/include
- Timestamp:
- May 31, 2021 8:31:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r89414 r89415 419 419 420 420 /** 421 * A single audio frame.422 *423 * Currently only two (2) channels, left and right, are supported.424 *425 * @note When changing this structure, make sure to also handle426 * VRDP's input / output processing in DrvAudioVRDE, as VRDP427 * expects audio data in st_sample_t format (historical reasons)428 * which happens to be the same as PDMAUDIOFRAME for now.429 *430 * @todo r=bird: This is an internal AudioMixBuffer structure which should not431 * be exposed here, I think. Only used to some sizeof statements in VRDE.432 * (The problem with exposing it, is that we would like to move away from433 * stereo and instead to anything from 1 to 16 channels. That means434 * removing this structure entirely.)435 */436 typedef struct PDMAUDIOFRAME437 {438 /** Left channel. */439 int64_t i64LSample;440 /** Right channel. */441 int64_t i64RSample;442 } PDMAUDIOFRAME;443 /** Pointer to a single (stereo) audio frame. */444 typedef PDMAUDIOFRAME *PPDMAUDIOFRAME;445 /** Pointer to a const single (stereo) audio frame. */446 typedef PDMAUDIOFRAME const *PCPDMAUDIOFRAME;447 448 449 /**450 421 * Audio path: input sources and playback destinations. 451 422 * … … 912 883 * See PDMAUDIOSTREAM_WARN_FLAGS_XXX. */ 913 884 uint32_t fWarningsShown; 914 /** The stream properties (both sides when PDMAUDIOSTREAM_CREATE_F_NO_MIXBUF 915 * is used, otherwise the guest side). */ 885 /** The stream properties. */ 916 886 PDMAUDIOPCMPROPS Props; 917 887
Note:
See TracChangeset
for help on using the changeset viewer.