Set coreaudio sample rate to 44100.
This makes rodio demos work correctly!
This commit is contained in:
parent
dbf9ae20da
commit
54fb5b03cc
|
@ -28,7 +28,7 @@ impl Endpoint {
|
|||
{
|
||||
Ok(vec!(Format {
|
||||
channels: vec![ChannelPosition::FrontLeft, ChannelPosition::FrontRight],
|
||||
samples_rate: SamplesRate(64),
|
||||
samples_rate: SamplesRate(44100),
|
||||
data_type: SampleFormat::F32
|
||||
}).into_iter())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue