Implement some samples rate conversions

This commit is contained in:
Pierre Krieger 2014-12-15 11:58:52 +01:00
parent 32bca93cc9
commit 081912c5fb
4 changed files with 35 additions and 8 deletions

View file

@ -20,7 +20,7 @@ pub type ChannelsCount = u16;
///
#[deriving(Show, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub struct SamplesRate(pub u16);
pub struct SamplesRate(pub u32);
/// Represents a buffer that must be filled with audio data.
///