mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-09-28 16:54:51 +00:00
Misc tweaks
This commit is contained in:
parent
951b4518c1
commit
d5b7b5263c
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user