mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
spkrdev: not authored by nicola, introduced in MESS 0.36r1
This commit is contained in:
parent
8ec30280b0
commit
e1ba0999e9
@ -2,15 +2,13 @@
|
||||
// copyright-holders:Kevin Thacker
|
||||
/***************************************************************************
|
||||
|
||||
beep.c
|
||||
Simple beeper sound driver
|
||||
|
||||
This is used for computers/systems which can only output a constant tone.
|
||||
This tone can be turned on and off.
|
||||
e.g. PCW and PCW16 computer systems
|
||||
KT - 25-Jun-2000
|
||||
|
||||
Sound handler
|
||||
|
||||
****************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
@ -22,15 +20,6 @@
|
||||
// device type definition
|
||||
DEFINE_DEVICE_TYPE(BEEP, beep_device, "beep", "Beep")
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// LIVE DEVICE
|
||||
//**************************************************************************
|
||||
|
||||
//-------------------------------------------------
|
||||
// beep_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
beep_device::beep_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: device_t(mconfig, BEEP, tag, owner, clock)
|
||||
, device_sound_interface(mconfig, *this)
|
||||
|
@ -1,5 +1,11 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Kevin Thacker
|
||||
/**********************************************************************
|
||||
|
||||
Simple beeper sound driver
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef MAME_SOUND_BEEP_H
|
||||
#define MAME_SOUND_BEEP_H
|
||||
|
||||
|
@ -1,17 +1,16 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Nicola Salmoria
|
||||
// copyright-holders:Nathan Woods, Anders Hallström
|
||||
/***************************************************************************
|
||||
|
||||
speaker.c
|
||||
|
||||
Sound driver to emulate a simple speaker,
|
||||
driven by one or more output bits
|
||||
|
||||
Original author: (unsigned)
|
||||
Filtering: Anders Hallstr?m
|
||||
Original author: MESS Team
|
||||
Filtering: Anders Hallström
|
||||
|
||||
****************************************************************************/
|
||||
|
||||
/* Discussion of oversampling and anti-alias filtering: (Anders Hallstr?m)
|
||||
/* Discussion of oversampling and anti-alias filtering: (Anders Hallström)
|
||||
*
|
||||
* This driver is for machines that directly control
|
||||
* one or more simple digital-to-analog converters (DAC)
|
||||
@ -93,6 +92,7 @@ speaker_sound_device::speaker_sound_device(const machine_config &mconfig, const
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
@ -1,12 +1,12 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Nicola Salmoria
|
||||
// copyright-holders:Nathan Woods, Anders Hallström
|
||||
/**********************************************************************
|
||||
|
||||
speaker.h
|
||||
Sound driver to emulate a simple speaker,
|
||||
driven by one or more output bits
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef MAME_SOUND_SPKRDEV_H
|
||||
#define MAME_SOUND_SPKRDEV_H
|
||||
|
||||
|
@ -2,17 +2,15 @@
|
||||
// copyright-holders:Nathan Woods
|
||||
/***************************************************************************
|
||||
|
||||
wave.c
|
||||
Cassette wave samples sound driver
|
||||
|
||||
Code that interfaces
|
||||
Functions to handle loading, creation, recording and playback
|
||||
of wave samples for IO_CASSETTE
|
||||
Code that interfaces functions to handle loading, creation,
|
||||
recording and playback of wave samples for IO_CASSETTE
|
||||
|
||||
2010-06-19 - Found that since 0.132, the right channel is badly out of
|
||||
sync on a mono system, causing bad sound. Added code to disable
|
||||
the second channel on a mono system.
|
||||
|
||||
|
||||
****************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
|
@ -1,5 +1,11 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Nathan Woods
|
||||
/**********************************************************************
|
||||
|
||||
Cassette wave samples sound driver
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef MAME_SOUND_WAVE_H
|
||||
#define MAME_SOUND_WAVE_H
|
||||
|
||||
|
@ -123,6 +123,7 @@
|
||||
|
||||
#include "cpu/i8085/i8085.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "machine/pit8253.h"
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user