diff options
author | 2009-03-02 01:33:41 +0000 | |
---|---|---|
committer | 2009-03-02 01:33:41 +0000 | |
commit | ba374dbb0a60ccf9cc68bbad26167ac07ff7397b (patch) | |
tree | c01e0002f4a4d9445dfc6ab9a6f3fbd2b198f4a9 /src/emu/streams.c | |
parent | c3455e2100a0c1a4705d716f702428e42b1a137b (diff) |
00015: Noticeable static in OKI 6295 audio
Diffstat (limited to 'src/emu/streams.c')
-rw-r--r-- | src/emu/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/streams.c b/src/emu/streams.c index 22b5c20f11c..0f13eb9b2a4 100644 --- a/src/emu/streams.c +++ b/src/emu/streams.c @@ -920,7 +920,7 @@ static stream_sample_t *generate_resampled_data(stream_input *input, UINT32 nums source = output->buffer + (basesample - input_stream->output_base_sampindex); /* determine the current fraction of a sample */ - basefrac = (basetime - basesample * input_stream->attoseconds_per_sample) / (ATTOSECONDS_PER_SECOND >> FRAC_BITS); + basefrac = (basetime - basesample * input_stream->attoseconds_per_sample) / (input_stream->attoseconds_per_sample >> FRAC_BITS); assert(basefrac >= 0); assert(basefrac < FRAC_ONE); |