summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/genpin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/genpin.cpp')
-rw-r--r--src/mame/machine/genpin.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mame/machine/genpin.cpp b/src/mame/machine/genpin.cpp
new file mode 100644
index 00000000000..bac8743f5d2
--- /dev/null
+++ b/src/mame/machine/genpin.cpp
@@ -0,0 +1,19 @@
+// license:BSD-3-Clause
+// copyright-holders:Robbbert
+/*********************************************************************************
+
+This is for common pinball machine coding.
+
+**********************************************************************************/
+
+
+
+#include "genpin.h"
+
+MACHINE_CONFIG_FRAGMENT( genpin_audio )
+ MCFG_SPEAKER_STANDARD_MONO("mechvol")
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SAMPLES_CHANNELS(6)
+ MCFG_SAMPLES_NAMES(genpin_sample_names)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mechvol", 1.0)
+MACHINE_CONFIG_END