summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/genpin.cpp
blob: 0322e35f9711a04dd4d31ba26f8c2f660121d820 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// license:BSD-3-Clause
// copyright-holders:Robbbert
/*********************************************************************************

This is for common pinball machine coding.

**********************************************************************************/

#include "emu.h"
#include "genpin.h"
#include "speaker.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