Struct hound::WavSpec
[−]
[src]
pub struct WavSpec {
pub channels: u16,
pub sample_rate: u32,
pub bits_per_sample: u16,
}Specifies properties of the audio data.
Fields
channels | The number of channels. |
sample_rate | The number of samples per second. A common value is 44100, this is 44.1 kHz which is used for CD audio. |
bits_per_sample | The number of bits per sample. A common value is 16 bits per sample, which is used for CD audio. |