Skip to content

Commit

Permalink
48000 -> 44100
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Jul 30, 2018
1 parent a1fe48d commit 2c19814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/audiocontext.rs
Expand Up @@ -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(),
}
}
Expand Down

0 comments on commit 2c19814

Please sign in to comment.