Struct ndi::AudioData[][src]

pub struct AudioData { /* fields omitted */ }
Expand description

An audio frame

Implementations

Create new instance of AudioData

The sample-rate of this buffer

The number of audio channels

The number of audio samples per channel

The timecode of this frame in 100ns intervals

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.

This is a per frame metadata stream in XML

It is sent and received with the frame.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.