diff options
author | r09 <rzero9@gmail.com> | 2018-11-03 13:28:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-03 13:28:25 +0100 |
commit | 69d1185d9a54da0e46a9fc7844e9b72cb2c39ee8 (patch) | |
tree | 19185794a4a93d90f42befe05c7d759293da417c | |
parent | 65330e1fb737942db17a6ac8e2d131d76cb4bf94 (diff) |
pc9801_86.cpp: add stereo sound
-rw-r--r-- | src/devices/bus/cbus/pc9801_86.cpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/devices/bus/cbus/pc9801_86.cpp b/src/devices/bus/cbus/pc9801_86.cpp index a43153dd7ca..96e159cbc8e 100644 --- a/src/devices/bus/cbus/pc9801_86.cpp +++ b/src/devices/bus/cbus/pc9801_86.cpp @@ -14,7 +14,6 @@ - Test all pcm modes - Make volume work - Recording - - actual stereo sound routing (currently routes to ALL_OUTPUTS) - SpeakBoard: no idea about software that uses this, also board shows a single YM2608B? "-86 only supports ADPCM instead of PCM, while SpeakBoard has OPNA + 256 Kbit RAM" Sounds like a sound core flaw since OPNA requires a rom region in any case; @@ -58,8 +57,10 @@ MACHINE_CONFIG_START(pc9801_86_device::pc9801_86_config) //MCFG_AY8910_PORT_B_READ_CB(READ8(*this, pc9801_state, opn_portb_r)) //MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(*this, pc9801_state, opn_porta_w)) MCFG_AY8910_PORT_B_WRITE_CB(WRITE8(*this, pc9801_86_device, opn_portb_w)) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.00) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.00) + MCFG_SOUND_ROUTE(0, "lspeaker", 1.00) + MCFG_SOUND_ROUTE(0, "rspeaker", 1.00) + MCFG_SOUND_ROUTE(1, "lspeaker", 1.00) + MCFG_SOUND_ROUTE(2, "rspeaker", 1.00) MCFG_DEVICE_ADD("ldac", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) // burr brown pcm61p MCFG_DEVICE_ADD("rdac", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0) // burr brown pcm61p @@ -390,13 +391,17 @@ MACHINE_CONFIG_START(pc9801_speakboard_device::device_add_mconfig) MCFG_DEVICE_MODIFY("opna") MCFG_SOUND_ROUTES_RESET() - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50) + MCFG_SOUND_ROUTE(0, "lspeaker", 0.50) + MCFG_SOUND_ROUTE(0, "rspeaker", 0.50) + MCFG_SOUND_ROUTE(1, "lspeaker", 0.50) + MCFG_SOUND_ROUTE(2, "rspeaker", 0.50) MCFG_DEVICE_ADD("opna_slave", YM2608, 7.987_MHz_XTAL) MCFG_AY8910_OUTPUT_TYPE(0) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50) + MCFG_SOUND_ROUTE(0, "lspeaker", 0.50) + MCFG_SOUND_ROUTE(0, "rspeaker", 0.50) + MCFG_SOUND_ROUTE(1, "lspeaker", 0.50) + MCFG_SOUND_ROUTE(2, "rspeaker", 0.50) MACHINE_CONFIG_END void pc9801_speakboard_device::device_start() |