Compare commits

...

1 Commits
master ... doc

Author SHA1 Message Date
Julian Ospald d286b51cde Start documentation 2017-07-14 17:23:42 +02:00
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
//! Alsa audio subsystem.
//!
//! This mod mainly defines the `AlsaCard` struct, which is the only data
//! structure interacting directly with the alsa library.
//! No other struct should directly interact with the alsa bindings.
use alsa::card::Card;
use alsa::mixer::SelemChannelId::*;
use alsa::mixer::{Mixer, Selem, SelemId};

View File

@ -1,3 +1,10 @@
//! Alsa audio helper functions.
//!
//! This mod wraps around a few low-level alsa functions and abstracts
//! out the details we don't care about. Mainly used by the
//! [alsa_card mod](./alsa_card.html).
use alsa::card::Card;
use alsa::mixer::{Mixer, Selem, SelemId, Elem};
use alsa;