Struct rsmpeg::ffi::AVABufferSinkParams[][src]

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

Deprecated and unused struct to use for initializing an abuffersink context.

Fields

sample_fmts: *const i32

< 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 i32

< list of allowed channel counts, terminated by -1

all_channel_counts: i32

< if not 0, accept any channel count or layout

sample_rates: *mut i32

< 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

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.