summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/cdp1863.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/cdp1863.c')
-rw-r--r--src/emu/sound/cdp1863.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/cdp1863.c b/src/emu/sound/cdp1863.c
index 29c9dac9a19..64349b5193f 100644
--- a/src/emu/sound/cdp1863.c
+++ b/src/emu/sound/cdp1863.c
@@ -123,7 +123,7 @@ static STREAM_UPDATE( cdp1863_stream_update )
if (cdp1863->oe)
{
double frequency;
- int rate = device->machine->sample_rate() / 2;
+ int rate = device->machine().sample_rate() / 2;
/* get progress through wave */
int incr = cdp1863->incr;
@@ -175,7 +175,7 @@ static DEVICE_START( cdp1863 )
const cdp1863_config *config = get_safe_config(device);
/* set initial values */
- cdp1863->stream = device->machine->sound().stream_alloc(*device, 0, 1, device->machine->sample_rate(), cdp1863, cdp1863_stream_update);
+ cdp1863->stream = device->machine().sound().stream_alloc(*device, 0, 1, device->machine().sample_rate(), cdp1863, cdp1863_stream_update);
cdp1863->clock1 = device->clock();
cdp1863->clock2 = config->clock2;
cdp1863->oe = 1;