diff options
author | 2025-04-14 11:31:53 +0200 | |
---|---|---|
committer | 2025-04-27 22:23:20 +0200 | |
commit | d0f1c15a0f6df2dd51a754cb46e6175b7079c8f2 (patch) | |
tree | be35c94340442af08c316a8679089ee68e119fac /src/mame/sinclair/pentagon.cpp | |
parent | ec636faeba5c5841c5a4a35b7c9dc2f06a00f538 (diff) |
New sound infrastructure.
Should be added soon:
- mute
- speaker/microphone resampling
To be added a little later:
- compression
- reverb
Needs to be added by someone else:
- coreaudio
- direct
- portaudio
- xaudio2
- js
Diffstat (limited to 'src/mame/sinclair/pentagon.cpp')
-rw-r--r-- | src/mame/sinclair/pentagon.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/sinclair/pentagon.cpp b/src/mame/sinclair/pentagon.cpp index 25313d44b9b..9b71459ec63 100644 --- a/src/mame/sinclair/pentagon.cpp +++ b/src/mame/sinclair/pentagon.cpp @@ -203,14 +203,13 @@ void pentagon_state::pentagon(machine_config &config) BETA_DISK(config, m_beta, 0); - SPEAKER(config, "lspeaker").front_left(); - SPEAKER(config, "rspeaker").front_right(); + SPEAKER(config, "speakers", 2).front(); ay8912_device &ay8912(AY8912(config.replace(), "ay8912", 14_MHz_XTAL / 8)); - ay8912.add_route(0, "lspeaker", 0.50); - ay8912.add_route(1, "lspeaker", 0.25); - ay8912.add_route(1, "rspeaker", 0.25); - ay8912.add_route(2, "rspeaker", 0.50); + ay8912.add_route(0, "speakers", 0.50, 0); + ay8912.add_route(1, "speakers", 0.25, 0); + ay8912.add_route(1, "speakers", 0.25, 1); + ay8912.add_route(2, "speakers", 0.50, 1); config.device_remove("exp"); |