fix o-scope so it works when showing music instead of voice

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@620 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
ghaushe
2003-01-31 00:16:23 +00:00
parent d8cf18e51b
commit 200acff93c
+1 -1
View File
@@ -639,7 +639,7 @@ GetSoundData (void *data)
//fprintf (stderr, "played_data %d total_decoded %d delta %d\n", played_data, soundSource[MUSIC_SOURCE].total_decoded, delta);
pos = soundSource[SPEECH_SOURCE].sbuf_offset + delta;
pos = soundSource[MUSIC_SOURCE].sbuf_offset + delta;
if (pos % 2 == 1)
pos++;