Struct ndi::AudioData [−][src]
pub struct AudioData { /* fields omitted */ }
Expand description
An audio frame
Implementations
The sample-rate of this buffer
The number of audio channels
The number of audio samples per channel
A per-frame timestamp filled in by the NDI SDK using a high precision clock.
This is only valid when receiving a frame. It represents the time (in 100 ns intervals measured in UTC time, since the Unix Time Epoch 1/1/1970 00:00 of the exact moment that the frame was submitted by the sending side If this value is None then this value is not available.
A pointer to the audio data
If FourCC is NDIlib_FourCC_type_FLTP, then this is the floating-point audio data in planar format, with each audio channel stored together with a stride between channels specified by channel_stride_in_bytes.
What FourCC type is for this frame
There is currently one supported format: FLTP.
The stride in bytes for a single channel.
This is the number of bytes that are used to step from one audio channel to another.