// license:BSD-3-Clause // copyright-holders:Robbbert #ifndef GENPIN_H_ #define GENPIN_H_ #include "sound/samples.h" #include "machine/nvram.h" const char *const genpin_sample_names[] = { "*genpin", "bumper", "chime1", "chime2", "chime3", "chime4", "hole", "knocker", "sling", "coinin", "outhole", "kickback", "drop_target_reset", "coil_coinlockout_engage", "coil_coinlockout_release", "relay_engage", "relay_release", "solenoid_engage", "solenoid_release", nullptr /* end of array */ }; class genpin_class : public driver_device { public: genpin_class(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_samples(*this, "samples") { } required_device m_samples; void genpin_audio(machine_config &config); }; #endif /* GENPIN_H_ */