src/audio/SDL_wave.c
changeset 1487 dc6b59e925a2
parent 1465 8dfa9a6d69a5
child 1612 97d0966f4bf7
--- a/src/audio/SDL_wave.c	Wed Mar 08 18:30:12 2006 +0000
+++ b/src/audio/SDL_wave.c	Thu Mar 09 06:33:21 2006 +0000
@@ -433,7 +433,7 @@
 		was_error = 1;
 		goto done;
 	}
-	headerDiff += sizeof(Uint32); // for WAVE
+	headerDiff += sizeof(Uint32); /* for WAVE */
 
 	/* Read the audio data format chunk */
 	chunk.data = NULL;
@@ -446,7 +446,7 @@
 			was_error = 1;
 			goto done;
 		}
-		// 2 Uint32's for chunk header+len, plus the lenread
+		/* 2 Uint32's for chunk header+len, plus the lenread */
 		headerDiff += lenread + 2 * sizeof(Uint32);
 	} while ( (chunk.magic == FACT) || (chunk.magic == LIST) );
 
@@ -527,7 +527,7 @@
 		*audio_buf = chunk.data;
 		if(chunk.magic != DATA) headerDiff += lenread + 2 * sizeof(Uint32);
 	} while ( chunk.magic != DATA );
-	headerDiff += 2 * sizeof(Uint32); // for the data chunk and len
+	headerDiff += 2 * sizeof(Uint32); /* for the data chunk and len */
 
 	if ( MS_ADPCM_encoded ) {
 		if ( MS_ADPCM_decode(audio_buf, audio_len) < 0 ) {
@@ -554,7 +554,7 @@
 		if ( freesrc ) {
 			SDL_RWclose(src);
 		} else {
-			// seek to the end of the file (given by the RIFF chunk)
+			/* seek to the end of the file (given by the RIFF chunk) */
 			SDL_RWseek(src, wavelen - chunk.length - headerDiff, RW_SEEK_CUR);
 		}
 	}