pub struct AudioSpec<'a> {
pub freq: c_int,
pub format: AudioFormat,
pub channels: uint8_t,
pub silence: uint8_t,
pub samples: uint16_t,
pub padding: uint16_t,
pub size: uint32_t,
pub callback: Option<&'a |&mut [u8]|: 'a>,
// some fields omitted
}
Fields
freq | |
format | |
channels | |
silence | |
samples | |
padding | |
size | |
callback | |
Methods
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ↑
- Move up in search results
- ↓
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).