mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
48000 -> 44100
This commit is contained in:
parent
a1fe48d721
commit
2c19814bec
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ impl From<AudioContextLatencyCategory> for LatencyCategory {
|
|||
impl<'a> From<&'a AudioContextOptions> for RealTimeAudioContextOptions {
|
||||
fn from(options: &AudioContextOptions) -> Self {
|
||||
Self {
|
||||
sample_rate: *options.sampleRate.unwrap_or(Finite::wrap(48000.)),
|
||||
sample_rate: *options.sampleRate.unwrap_or(Finite::wrap(44100.)),
|
||||
latency_hint: options.latencyHint.into(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue