diff options
author | 2021-05-31 11:20:28 -0700 | |
---|---|---|
committer | 2021-05-31 11:20:28 -0700 | |
commit | 05cacea947d7db129c25f33c85aca7ec74be6799 (patch) | |
tree | 1211caac4a3428254f73596af8c61b0b6fe9f9b1 /src/devices/sound/mixer.h | |
parent | b1e775504bb02c1168d64853ca058cbcce6b5978 (diff) |
ympsr60: Fleshed out the PSR60/PSR70 drivers
* Split YM2154 into a separate device
* Created fake YM2154 ROMs as placeholders
* Created new BBD sound device in src/devices/sound/bbd.cpp
* Created new mixer device in src/devices/sound/mixer.cpp
* Connected YM2154 and BBD devices
* Approximated BBD driver behavior
* Exposed analog sliders as adjusters (accessible via ` menu)
* Added sliders to layout and animated them
Diffstat (limited to 'src/devices/sound/mixer.h')
-rw-r--r-- | src/devices/sound/mixer.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/devices/sound/mixer.h b/src/devices/sound/mixer.h new file mode 100644 index 00000000000..e25466ea351 --- /dev/null +++ b/src/devices/sound/mixer.h @@ -0,0 +1,27 @@ +// license:BSD-3-Clause +// copyright-holders:Aaron Giles +#ifndef MAME_SOUND_MIXER_H +#define MAME_SOUND_MIXER_H + +#pragma once + +//************************************************************************** +// TYPE DEFINITIONS +//************************************************************************** + +DECLARE_DEVICE_TYPE(MIXER, mixer_device) + +// ======================> mixer_device + +class mixer_device : public device_t, public device_mixer_interface +{ +public: + // internal constructor + mixer_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); + +protected: + // device-level overrides + virtual void device_start() override; +}; + +#endif // MAME_SOUND_MIXER_H |