Struct sokol::audio::SAudioDesc
source · pub struct SAudioDesc {
pub sample_rate: i32,
pub num_channels: i32,
pub buffer_frames: i32,
pub packet_frames: i32,
pub num_packets: i32,
pub use_stream_cb: bool,
}
Fields§
§sample_rate: i32
§num_channels: i32
§buffer_frames: i32
§packet_frames: i32
§num_packets: i32
§use_stream_cb: bool
Trait Implementations§
source§impl Default for SAudioDesc
impl Default for SAudioDesc
source§fn default() -> SAudioDesc
fn default() -> SAudioDesc
Returns the “default value” for a type. Read more