mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
volt_reg: fix problem with dac stream slice update (nw)
This commit is contained in:
parent
7349d27571
commit
6cecf61092
@ -2,15 +2,13 @@
|
||||
// copyright-holders:smf
|
||||
/***************************************************************************
|
||||
|
||||
volt_reg.c
|
||||
volt_reg.cpp
|
||||
|
||||
Direct current.
|
||||
|
||||
TODO:
|
||||
- If we continue having this device in MAME, add support for default voltage other
|
||||
than (currently hardcoded) 5.0
|
||||
- When used in combination with a DAC, vreg device 1st stream update is skipped,
|
||||
causing the DAC to fetch invalid input data. Why does this happen?
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
@ -29,7 +27,7 @@ voltage_regulator_device::voltage_regulator_device(const machine_config &mconfig
|
||||
|
||||
void voltage_regulator_device::device_start()
|
||||
{
|
||||
m_stream = stream_alloc(0, 1, 500);
|
||||
m_stream = stream_alloc(0, 1, 48000 * 4);
|
||||
}
|
||||
|
||||
void voltage_regulator_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples)
|
||||
|
@ -53,8 +53,10 @@ to CC1, or CC3.
|
||||
Note that although these 2 newer versions are known as "Chess Challenger 3" and
|
||||
"Chess Challeger 10 C" nowadays, those are not the official titles. CC3 simply
|
||||
says "upgraded version" on the 1st page of the manual (even the newly sold ones,
|
||||
not just the literal CC1 upgrades). UCC10 mentions "10 levels of play". Fidelity
|
||||
started adding level numbers to their chesscomputer titles with CCX and CC7.
|
||||
not just the literal CC1 upgrades). UCC10 mentions "10 levels of play". Consumenta
|
||||
Computer(reseller of Fidelity chesscomputers) did name it Chess-Challenger 10 C.
|
||||
Officially, Fidelity started adding level numbers to their chesscomputer titles
|
||||
with CCX and CC7.
|
||||
|
||||
******************************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user