blob: 8a7fed74a74fe6023c3bf20f9f8a65af3c5b867b (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// license:BSD-3-Clause
// copyright-holders:Angelo Salese
/***************************************************************************
TA7630P
***************************************************************************/
#ifndef MAME_SOUND_TA7630_H
#define MAME_SOUND_TA7630_H
#pragma once
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// ======================> ta7630_device
class ta7630_device : public device_t
/*, public device_sound_interface*/
{
public:
// construction/destruction
ta7630_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
// filter setters
void set_device_volume(device_sound_interface *device,uint8_t value);
void set_channel_volume(device_sound_interface *device, uint8_t ch,uint8_t value);
protected:
// device-level overrides
//virtual void device_validity_check(validity_checker &valid) const override;
virtual void device_start() override;
virtual void device_reset() override;
private:
double m_vol_ctrl[16]; // table for volume gains
};
// device type definition
DECLARE_DEVICE_TYPE(TA7630, ta7630_device)
//**************************************************************************
// GLOBAL VARIABLES
//**************************************************************************
#endif // MAME_SOUND_TA7630_H
|