summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/gridlee.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/gridlee.c')
-rw-r--r--src/mame/audio/gridlee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/gridlee.c b/src/mame/audio/gridlee.c
index fa450cefc50..3bca6d87163 100644
--- a/src/mame/audio/gridlee.c
+++ b/src/mame/audio/gridlee.c
@@ -72,11 +72,11 @@ static DEVICE_START( gridlee_sound )
running_machine *machine = device->machine;
/* allocate the stream */
- state->stream = device->machine->sound().stream_alloc(*device, 0, 1, machine->sample_rate, NULL, gridlee_stream_update);
+ state->stream = device->machine->sound().stream_alloc(*device, 0, 1, machine->sample_rate(), NULL, gridlee_stream_update);
state->samples = device->machine->device("samples");
- state->freq_to_step = (double)(1 << 24) / (double)machine->sample_rate;
+ state->freq_to_step = (double)(1 << 24) / (double)machine->sample_rate();
}