Bring OS2 port up to date. Thanks Jochen
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3923
This commit is contained in:
parent
b0c72903e4
commit
79419f1f53
6 changed files with 27 additions and 22 deletions
|
@ -410,8 +410,11 @@ static void MIXER_Mix_NoSound(void) {
|
|||
mixer.tick_remain&=MIXER_REMAIN;
|
||||
mixer.done=0;
|
||||
}
|
||||
|
||||
#ifdef OS2
|
||||
static void SDL_CALL MIXER_CallBack(void * userdata, Uint8 *stream, int len) {
|
||||
#else
|
||||
static void MIXER_CallBack(void * userdata, Uint8 *stream, int len) {
|
||||
#endif
|
||||
Bitu need=(Bitu)len/MIXER_SSIZE;
|
||||
Bit16s * output=(Bit16s *)stream;
|
||||
Bitu reduce;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue