Implement some samples rate conversions
This commit is contained in:
parent
32bca93cc9
commit
081912c5fb
4 changed files with 35 additions and 8 deletions
|
|
@ -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.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue