Struct ffmpeg_sys_next::AVABufferSinkParams[][src]

#[repr(C)]
pub struct AVABufferSinkParams { pub sample_fmts: *const AVSampleFormat, pub channel_layouts: *const i64, pub channel_counts: *const c_int, pub all_channel_counts: c_int, pub sample_rates: *mut c_int, }
Expand description

Struct to use for initializing an abuffersink context.

Fields

sample_fmts: *const AVSampleFormat

< list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE

channel_layouts: *const i64

< list of allowed channel layouts, terminated by -1

channel_counts: *const c_int

< list of allowed channel counts, terminated by -1

all_channel_counts: c_int

< if not 0, accept any channel count or layout

sample_rates: *mut c_int

< list of allowed sample rates, terminated by -1

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.