turntable.c small vtt_play_block() fix - Alex
authorterminatorX <>
Mon, 16 Aug 1999 12:07:21 +0000 (12:07 +0000)
committerterminatorX <>
Mon, 16 Aug 1999 12:07:21 +0000 (12:07 +0000)
src/turntable.c

index 1b0591f0eebf73b456297d6040e6e63403780b25..609ede69be098df457d9a211403c2c38c98b670b 100644 (file)
@@ -293,11 +293,11 @@ void vtt_play_block(Virtual_TurnTable *vtt, int16_t *buffer)
 {
 #ifdef BIG_ENDIAN_MACHINE
 #ifndef BIG_ENDIAN_AUDIO
-       swapbuffer(vtt->buffer, vtt->samples_per_block);
+       swapbuffer(buffer, vtt->samples_per_block);
 #endif 
 #else
 #ifdef BIG_ENDIAN_AUDIO
-       swapbuffer(vtt->buffer, vtt->samples_per_block);
+       swapbuffer(buffer, vtt->samples_per_block);
 #endif
 #endif