# Struct alsa::pcm::SwParams [−] [src]

    pub struct SwParams<'a>(_, _);

snd_pcm_sw_params_t wrapper

## Methods

### `impl<'a> SwParams<'a>`
[src]

#### `fn set_avail_min(&self, v: Frames) -> Result<()>`

#### `fn get_avail_min(&self) -> Result<Frames>`

#### `fn set_start_threshold(&self, v: Frames) -> Result<()>`

#### `fn get_start_threshold(&self) -> Result<Frames>`

#### `fn set_stop_threshold(&self, v: Frames) -> Result<()>`

#### `fn get_stop_threshold(&self) -> Result<Frames>`

#### `fn set_tstamp_mode(&self, v: bool) -> Result<()>`

#### `fn get_tstamp_mode(&self) -> Result<bool>`

#### `fn dump(&self, o: &mut Output) -> Result<()>`

## Trait Implementations

### `impl<'a> Drop for SwParams<'a>`
[src]

#### `fn drop(&mut self)`

A method called when the value goes out of scope. Read more

### `impl<'a> Debug for SwParams<'a>`
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`

Formats the value using the given formatter.

# Help

## 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
+
  Collapse/expand all sections

## 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`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)