We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf0d9b commit e3da605Copy full SHA for e3da605
src/audio/midi_player.rs
@@ -202,6 +202,13 @@ fn new_output_stream(
202
let stream_config: cpal::StreamConfig = config.into();
203
let sample_rate = stream_config.sample_rate.0;
204
205
+ log::info!(
206
+ "Audio output stream config: {:?} ({} channels, {} Hz)",
207
+ stream_config,
208
+ stream_config.channels,
209
+ stream_config.sample_rate.0
210
+ );
211
+
212
let mut synthesizer_guard = synthesizer.lock().unwrap();
213
if sample_rate != DEFAULT_SAMPLE_RATE {
214
// audio output is not using the default sample rate - recreate synthesizer with proper sample rate
0 commit comments