Skip to content

Commit 8688906

Browse files
committed
Acknowledge that we panic for sample rates < 28k due to upstream HRTF bug
1 parent 051ab00 commit 8688906

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/online.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,15 @@ fn test_none_sink_id() {
108108
}
109109

110110
#[test]
111+
#[should_panic] // https://github.com/mrDIMAS/hrtf/issues/9
111112
fn test_weird_sample_rate() {
112113
let options = AudioContextOptions {
113114
sink_id: "none".into(),
114115
sample_rate: Some(24000.),
115116
..AudioContextOptions::default()
116117
};
117118

118-
AudioContext::new(options);
119+
let _ = AudioContext::new(options);
119120
}
120121

121122
#[test]

0 commit comments

Comments
 (0)