Store the format in the public Voice struct

This commit is contained in:
Pierre Krieger 2015-09-22 13:34:06 +02:00
parent 334c22a6f3
commit 8d21f5ff25
5 changed files with 27 additions and 87 deletions

View file

@ -54,21 +54,6 @@ impl Voice {
Err(CreationError::DeviceNotAvailable)
}
#[inline]
pub fn get_channels(&self) -> ::ChannelsCount {
unreachable!()
}
#[inline]
pub fn get_samples_rate(&self) -> ::SamplesRate {
unreachable!()
}
#[inline]
pub fn get_samples_format(&self) -> ::SampleFormat {
unreachable!()
}
#[inline]
pub fn append_data<'a, T>(&'a mut self, _: usize) -> Buffer<'a, T> {
unreachable!()