2.5.38 IDeckLinkEncoderAudioPacket Interface¶
The IDeckLinkEncoderAudioPacket interface represents an encoded audio packet which has been captured by an IDeckLinkEncoderInput interface. IDeckLinkEncoderAudioPacket is a subclass of IDeckLinkEncoderPacket and inherits all its methods.
Note
The data in the encoded packet is encoded according to the audio format returned by GetAudioFormat (see BMDAudioFormat for details).
Objects with an IDeckLinkEncoderAudioPacket interface are passed to the IDeckLinkEncoderInputCallback::VideoEncoderAudioPacketArrived callback.
Interface |
Interface ID |
Description |
|---|---|---|
IID_IDeckLinkEncoderInputCallback |
An |
|
IID_IDeckLinkEncoderPacket |
|
2.5.38.1 IDeckLinkEncoderAudioPacket::GetAudioFormat method¶
-
BMDAudioFormat IDeckLinkEncoderAudioPacket::GetAudioFormat();¶
The GetAudioFormat method returns the audio format of the encoded packet
- Returns:
Audio format of encoded packet (
BMDAudioFormat)