summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/mixer.cpp
blob: ba57be9b10ce70a21a2f4d2fac87f1f7f43099a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
#include "emu.h"
#include "mixer.h"


//**************************************************************************
//  MIXER DEVICE
//**************************************************************************

DEFINE_DEVICE_TYPE(MIXER, mixer_device, "mixer", "Generic Audio Mixer")

//-------------------------------------------------
//  mixer_device - constructor
//-------------------------------------------------

mixer_device::mixer_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
	device_t(mconfig, MIXER, tag, owner, clock),
	device_mixer_interface(mconfig, *this)
{
}


//-------------------------------------------------
//  device_start - device-specific startup
//-------------------------------------------------

void mixer_device::device_start()
{
	// register for save states
	save_item(NAME(m_dummy));
}