summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/nile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/nile.h')
-rw-r--r--src/devices/sound/nile.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/devices/sound/nile.h b/src/devices/sound/nile.h
deleted file mode 100644
index 20a7a0a0c99..00000000000
--- a/src/devices/sound/nile.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Tomasz Slanina
-#ifndef MAME_SOUND_NILE_H
-#define MAME_SOUND_NILE_H
-
-#pragma once
-
-
-//**************************************************************************
-// TYPE DEFINITIONS
-//**************************************************************************
-
-// ======================> nile_device
-
-class nile_device : public device_t,
- public device_sound_interface
-{
-public:
- nile_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
-
-protected:
- // device-level overrides
- virtual void device_start() override;
-
- // sound stream update overrides
- virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
-
-public:
- DECLARE_WRITE16_MEMBER( nile_snd_w );
- DECLARE_READ16_MEMBER( nile_snd_r );
- DECLARE_WRITE16_MEMBER( nile_sndctrl_w );
- DECLARE_READ16_MEMBER( nile_sndctrl_r );
-
-private:
- static constexpr unsigned NILE_VOICES = 8;
-
- sound_stream *m_stream;
- required_region_ptr<uint8_t> m_sound_ram;
- uint16_t m_sound_regs[0x80];
- int m_vpos[NILE_VOICES];
- int m_frac[NILE_VOICES];
- int m_lponce[NILE_VOICES];
- uint16_t m_ctrl;
-};
-
-DECLARE_DEVICE_TYPE(NILE, nile_device)
-
-#endif // MAME_SOUND_NILE_H