Skip to content
Snippets Groups Projects
Commit 5cf9a426 authored by deuce's avatar deuce
Browse files

Remove duplicate code

parent f6165a43
Branches
Tags
No related merge requests found
...@@ -663,8 +663,6 @@ BOOL DLLCALL xp_play_sample(const unsigned char *sample, size_t sample_size, BOO ...@@ -663,8 +663,6 @@ BOOL DLLCALL xp_play_sample(const unsigned char *sample, size_t sample_size, BOO
#ifdef _WIN32 #ifdef _WIN32
if(handle_type==SOUND_DEVICE_WIN32) { if(handle_type==SOUND_DEVICE_WIN32) {
wh.lpData=sample;
wh.dwBufferLength=sample_size;
wh.lpData=sample; wh.lpData=sample;
wh.dwBufferLength=sample_size; wh.dwBufferLength=sample_size;
if(waveOutPrepareHeader(waveOut, &wh, sizeof(wh))==MMSYSERR_NOERROR) { if(waveOutPrepareHeader(waveOut, &wh, sizeof(wh))==MMSYSERR_NOERROR) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment