diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-12-10 06:31:23 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-12-10 06:31:23 +0000 |
commit | e2a760bcbd28caba2f1ef8dca7818e80dd9d4b83 (patch) | |
tree | 011dd4d2928ea6f4aafed569b8d6be0c44f014ca /src/emu/sound/gaelco.c | |
parent | b98c709380e0a52f963d497eb619a90214785a2c (diff) |
From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Tuesday, December 09, 2008 8:13 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add device parameter to stream_create()
Hi mamedev,
This patch adds the sound device to the parameters passed to
stream_create so that the global Machine can be removed from
streams.c. It assumes my previous patch which added CUSTOM_START and
SAMPLES_START has been applied.
~aa
Diffstat (limited to 'src/emu/sound/gaelco.c')
-rw-r--r-- | src/emu/sound/gaelco.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/gaelco.c b/src/emu/sound/gaelco.c index ac4788294d9..cf112ed0c05 100644 --- a/src/emu/sound/gaelco.c +++ b/src/emu/sound/gaelco.c @@ -257,7 +257,7 @@ static void *gaelcosnd_start(sound_type sndtype, const device_config *device, in for (j = 0; j < 4; j++){ info->banks[j] = intf->banks[j]; } - info->stream = stream_create(0, 2, 8000, info, gaelco_update); + info->stream = stream_create(device, 0, 2, 8000, info, gaelco_update); info->snd_data = (UINT8 *)memory_region(device->machine, intf->gfxregion); if (info->snd_data == NULL) info->snd_data = device->region; |