fix: stabilize desktop audio playback
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use nesemu::prelude::*;
|
||||
use nesemu::{
|
||||
AudioOutput, HostConfig, InputProvider, JOYPAD_BUTTONS_COUNT, NullAudio, NullInput, NullVideo,
|
||||
RuntimeError, VideoOutput,
|
||||
AudioOutput, HostConfig, InputProvider, NullAudio, NullInput, NullVideo, RuntimeError,
|
||||
VideoOutput, JOYPAD_BUTTONS_COUNT,
|
||||
};
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
@@ -212,7 +212,7 @@ fn public_api_regression_hashes_for_reference_rom() {
|
||||
.expect("run frames");
|
||||
|
||||
let expected_frame_hash = 0x42d1_20e3_54e0_a325_u64;
|
||||
let expected_audio_hash = 0xa075_8dd6_adea_e775_u64;
|
||||
let expected_audio_hash = 0x19f5_be12_66f3_37c5_u64;
|
||||
|
||||
assert_eq!(
|
||||
video.last_hash, expected_frame_hash,
|
||||
|
||||
Reference in New Issue
Block a user