+static void Mixer_PlaySound(int channel)
+{
+#if defined(PLATFORM_MSDOS)
+ mixer[channel].voice = allocate_voice((SAMPLE *)mixer[channel].data_ptr);
+
+ if (mixer[channel].voice < 0)
+ return;
+
+ if (IS_LOOP(mixer[channel]))
+ voice_set_playmode(mixer[channel].voice, PLAYMODE_LOOP);
+
+ voice_set_volume(mixer[channel].voice, snd_ctrl.volume);
+ voice_set_pan(mixer[channel].voice, snd_ctrl.stereo);
+ voice_start(mixer[channel].voice);
+#endif
+}
+
+static void Mixer_StopSound(int channel)
+{
+#if defined(PLATFORM_MSDOS)
+ voice_set_volume(mixer[channel].voice, 0);
+ deallocate_voice(mixer[channel].voice);
+#endif
+}
+