Misc tweaks

This commit is contained in:
Aaron Culliney 2015-06-30 22:10:30 -07:00
parent 951b4518c1
commit d5b7b5263c
2 changed files with 1 additions and 5 deletions

View File

@ -225,8 +225,7 @@ static uint8_t g_nPhasorMode = 0; // 0=Mockingboard emulation, 1=Phasor native
#ifdef APPLE2IX
#define MB_CHANNELS 2
// NOTE - SAMPLE SIZE CHANGED : /2 for SPEAKER -- *2 here
#define MB_BUF_SIZE MAX_SAMPLES * 2 * MB_CHANNELS
#define MB_BUF_SIZE MAX_SAMPLES * sizeof(int16_t) * MB_CHANNELS
static const unsigned short g_nMB_NumChannels = MB_CHANNELS;
static const unsigned long g_dwDSBufferSize = MB_BUF_SIZE;

View File

@ -279,9 +279,6 @@ static long ALUnlockBuffer(AudioBuffer_s *_this, unsigned long audio_bytes) {
// Submit working buffer to OpenAL
err = _ALSubmitBufferToOpenAL(voice);
if (err) {
break;
}
} while (0);
return err;