summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine
diff options
context:
space:
mode:
author Derrick Renaud <derrickr@mamedev.org>2008-08-08 01:50:00 +0000
committer Derrick Renaud <derrickr@mamedev.org>2008-08-08 01:50:00 +0000
commitcc94c8207d3092f2b6e84861329ce8370a4f93fc (patch)
tree830e8fcd37314e964cfac81d4c29276980e9826a /src/emu/machine
parent3f73ea77f018ed6ec4a0cc103434c8c3344618d8 (diff)
Updated structure and naming conventions of the following sound interfaces.
struct CustomSound_interface to custom_sound_interface struct Samplesinterface to samples_interface struct SN76477interface to SN76477_interface struct AY8910interface to AY8910_interface
Diffstat (limited to 'src/emu/machine')
-rw-r--r--src/emu/machine/laserdsc.c6
-rw-r--r--src/emu/machine/laserdsc.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/src/emu/machine/laserdsc.c b/src/emu/machine/laserdsc.c
index 6c186e4fc4f..61398379243 100644
--- a/src/emu/machine/laserdsc.c
+++ b/src/emu/machine/laserdsc.c
@@ -304,7 +304,7 @@ static void read_track_data(laserdisc_state *ld);
static void process_track_data(const device_config *device);
static void fake_metadata(UINT32 track, UINT8 which, vbi_metadata *metadata);
static void render_display(UINT16 *videodata, UINT32 rowpixels, UINT32 width, int frame);
-static void *custom_start(int clock, const struct CustomSound_interface *config);
+static void *custom_start(int clock, const custom_sound_interface *config);
static void custom_stream_callback(void *param, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
/* Pioneer PR-7820 implementation */
@@ -351,7 +351,7 @@ static void vp932_state_changed(laserdisc_state *ld, UINT8 oldstate);
GLOBAL VARIABLES
***************************************************************************/
-const struct CustomSound_interface laserdisc_custom_interface =
+const custom_sound_interface laserdisc_custom_interface =
{
custom_start
};
@@ -1484,7 +1484,7 @@ static void render_display(UINT16 *videodata, UINT32 rowpixels, UINT32 width, in
for laserdiscs
-------------------------------------------------*/
-static void *custom_start(int clock, const struct CustomSound_interface *config)
+static void *custom_start(int clock, const custom_sound_interface *config)
{
sound_token *token = auto_malloc(sizeof(*token));
token->stream = stream_create(0, 2, 48000, token, custom_stream_callback);
diff --git a/src/emu/machine/laserdsc.h b/src/emu/machine/laserdsc.h
index 211bc022fef..04b22f7451b 100644
--- a/src/emu/machine/laserdsc.h
+++ b/src/emu/machine/laserdsc.h
@@ -14,6 +14,8 @@
#ifndef __LASERDSC_H__
#define __LASERDSC_H__
+#include "sound/custom.h"
+
/***************************************************************************
@@ -92,7 +94,7 @@ struct _laserdisc_config
GLOBAL VARIABLES
***************************************************************************/
-extern const struct CustomSound_interface laserdisc_custom_interface;
+extern const custom_sound_interface laserdisc_custom_interface;