summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/namco.h
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-12-19 07:53:28 +0100
committer mooglyguy <therealmogminer@gmail.com>2018-12-19 07:53:52 +0100
commitcf5a34ce49c521ea979bc63e31b19fca11fdcef1 (patch)
tree2cf20723e8f6b02adebfd1db814e8db80d6d99be /src/devices/sound/namco.h
parentd07330bb293e93c6ac63cb10c1bdaa48ce29267d (diff)
-sound/dave, digitalk, k051649, lc7535, n63701x, namco, nile, s14001a: Removed MCFG macros. [Ryan Holtz]
-drivers/20pacgal, baraduke, deco32, fidel6502, fidelz80, galaga, gaplus, hcastle, hexion, jrpacman, konmedal, mappy, namcos86, pacland, pengo, polepos, quickpick5, rallyx, skykid, srmp6, tceptor, toypop: Removed MACHINE_CONFIG macros. [Ryan Holtz]
Diffstat (limited to 'src/devices/sound/namco.h')
-rw-r--r--src/devices/sound/namco.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/devices/sound/namco.h b/src/devices/sound/namco.h
index 560090cb71d..730cd581e1d 100644
--- a/src/devices/sound/namco.h
+++ b/src/devices/sound/namco.h
@@ -6,20 +6,13 @@
#pragma once
-#define MCFG_NAMCO_AUDIO_VOICES(_voices) \
- downcast<namco_audio_device &>(*device).set_voices(_voices);
-
-#define MCFG_NAMCO_AUDIO_STEREO(_stereo) \
- downcast<namco_audio_device &>(*device).set_stereo(_stereo);
-
-
class namco_audio_device : public device_t,
public device_sound_interface
{
public:
// configuration
void set_voices(int voices) { m_voices = voices; }
- void set_stereo(int stereo) { m_stereo = stereo; }
+ void set_stereo(bool stereo) { m_stereo = stereo; }
DECLARE_WRITE_LINE_MEMBER(sound_enable_w);
@@ -71,7 +64,7 @@ protected:
int m_f_fracbits;
int m_voices; /* number of voices */
- int m_stereo; /* set to 1 to indicate stereo (e.g., System 1) */
+ bool m_stereo; /* set to indicate stereo (e.g., System 1) */
/* decoded waveform table */
int16_t *m_waveform[MAX_VOLUME];