clean
This commit is contained in:
parent
184e4c3341
commit
75578786e4
|
@ -105,16 +105,16 @@ impl Default for Apu {
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
|
|
||||||
let config = config.config();
|
|
||||||
|
|
||||||
let converter = Samplerate::new(
|
let converter = Samplerate::new(
|
||||||
ConverterType::SincBestQuality,
|
ConverterType::SincBestQuality,
|
||||||
CLOCK_SPEED as u32,
|
CLOCK_SPEED as u32,
|
||||||
config.sample_rate.0,
|
config.sample_rate().0,
|
||||||
2,
|
config.channels().into(),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
let config = config.config();
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
mem: [0x0; MEM_SIZE],
|
mem: [0x0; MEM_SIZE],
|
||||||
apu_enable: true,
|
apu_enable: true,
|
||||||
|
|
Loading…
Reference in a new issue