summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/s_dsp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/s_dsp.cpp')
-rw-r--r--src/devices/sound/s_dsp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/s_dsp.cpp b/src/devices/sound/s_dsp.cpp
index 52d255dbfc6..98cd204b503 100644
--- a/src/devices/sound/s_dsp.cpp
+++ b/src/devices/sound/s_dsp.cpp
@@ -1074,7 +1074,7 @@ void s_dsp_device::sound_stream_update(sound_stream &stream, std::vector<read_st
dsp_update(mix);
/* Update the buffers */
- outputs[0].put_int(i, (stream_sample_t)mix[0], 32768);
- outputs[1].put_int(i, (stream_sample_t)mix[1], 32768);
+ outputs[0].put_int(i, (s32)mix[0], 32768);
+ outputs[1].put_int(i, (s32)mix[1], 32768);
}
}