summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/multipcm.c
diff options
context:
space:
mode:
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
commite2a760bcbd28caba2f1ef8dca7818e80dd9d4b83 (patch)
tree011dd4d2928ea6f4aafed569b8d6be0c44f014ca /src/emu/sound/multipcm.c
parentb98c709380e0a52f963d497eb619a90214785a2c (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/multipcm.c')
-rw-r--r--src/emu/sound/multipcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/multipcm.c b/src/emu/sound/multipcm.c
index 91e85adbc07..7ce6bbf9432 100644
--- a/src/emu/sound/multipcm.c
+++ b/src/emu/sound/multipcm.c
@@ -496,7 +496,7 @@ static SND_START( multipcm )
ptChip->ROM=(INT8 *)device->region;
ptChip->Rate=(float) clock / MULTIPCM_CLOCKDIV;
- ptChip->stream = stream_create(0, 2, ptChip->Rate, ptChip, MultiPCM_update);
+ ptChip->stream = stream_create(device, 0, 2, ptChip->Rate, ptChip, MultiPCM_update);
//Volume+pan table
for(i=0;i<0x800;++i)