ref: 166c3d2e9b5ee469f226f42dd8cfe74ba6ff6be0
parent: eb3cd65176ffaae108c691ac2c35d63afe5843b6
author: nukeykt <[email protected]>
date: Sun Feb 28 16:59:12 EST 2016
opl: Fix tab characters
--- a/opl/opl3.c
+++ b/opl/opl3.c
@@ -1420,11 +1420,11 @@
void OPL3_GenerateStream(opl3_chip *chip, Bit16s *sndptr, Bit32u numsamples)
{
- Bit32u i;
+ Bit32u i;
- for(i = 0; i < numsamples; i++)
+ for(i = 0; i < numsamples; i++)
{
OPL3_GenerateResampled(chip, sndptr);
sndptr += 2;
- }
+ }
}
--- a/opl/opl3.h
+++ b/opl/opl3.h
@@ -114,7 +114,7 @@
Bit16s zeromod;
Bit32s mixbuff[2];
//OPL3L
- Bit32s rateratio;
+ Bit32s rateratio;
Bit32s samplecnt;
Bit16s oldsamples[2];
Bit16s samples[2];
--- a/opl/opl_sdl.c
+++ b/opl/opl_sdl.c
@@ -152,7 +152,7 @@
SDL_UnlockMutex(callback_queue_mutex);
}
-
+
// Call the OPL emulator code to fill the specified buffer.
static void FillBuffer(int16_t *buffer, unsigned int nsamples)