Start documentation

This commit is contained in:
Julian Ospald 2017-07-14 17:23:42 +02:00
parent 87eba7e3a8
commit d286b51cde
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;