pub trait AudioFragmentExt: IsA<AudioFragment> + Sealed + 'static {
Show 15 methods // Provided methods fn channel_layout(&self) -> i32 { ... } fn channels(&self) -> i32 { ... } fn max_samples(&self) -> i32 { ... } fn pos(&self) -> i32 { ... } fn sample_count(&self) -> i32 { ... } fn sample_rate(&self) -> i32 { ... } fn set_channel_layout(&self, channel_layout: i32) { ... } fn set_channels(&self, channels: i32) { ... } fn set_max_samples(&self, max_samples: i32) { ... } fn set_pos(&self, pos: i32) { ... } fn set_sample_count(&self, sample_count: i32) { ... } fn set_sample_rate(&self, sample_rate: i32) { ... } fn string(&self) -> Option<GString> { ... } fn set_string(&self, string: Option<&str>) { ... } fn connect_string_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all AudioFragment methods.

Implementors

AudioFragment

Provided Methods§

source

fn channel_layout(&self) -> i32

source

fn channels(&self) -> i32

source

fn max_samples(&self) -> i32

source

fn pos(&self) -> i32

source

fn sample_count(&self) -> i32

source

fn sample_rate(&self) -> i32

source

fn set_channel_layout(&self, channel_layout: i32)

source

fn set_channels(&self, channels: i32)

source

fn set_max_samples(&self, max_samples: i32)

source

fn set_pos(&self, pos: i32)

source

fn set_sample_count(&self, sample_count: i32)

source

fn set_sample_rate(&self, sample_rate: i32)

source

fn string(&self) -> Option<GString>

source

fn set_string(&self, string: Option<&str>)

source

fn connect_string_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Implementors§