|
|
| version 1.3, 2003/11/27 17:25:55 | version 1.4, 2003/11/28 16:31:08 |
|---|---|
| Line 224 UINT | Line 224 UINT |
| soundmng_create(UINT rate, UINT bufmsec) | soundmng_create(UINT rate, UINT bufmsec) |
| { | { |
| UINT samples; | UINT samples; |
| #if defined(VERMOUTH_LIB) | |
| UINT num; | |
| #endif | |
| if (opened || ((rate != 11025) && (rate != 22050) && (rate != 44100))) { | if (opened || ((rate != 11025) && (rate != 22050) && (rate != 44100))) { |
| return 0; | return 0; |
| Line 252 soundmng_create(UINT rate, UINT bufmsec) | Line 249 soundmng_create(UINT rate, UINT bufmsec) |
| #if defined(VERMOUTH_LIB) | #if defined(VERMOUTH_LIB) |
| vermouth_module = midimod_create(rate); | vermouth_module = midimod_create(rate); |
| for (num = 0; num < 128; num++) { | midimod_loadall(vermouth_module); |
| midimod_loadprogram(vermouth_module, num); | |
| midimod_loadrhythm(vermouth_module, num); | |
| } | |
| #endif | #endif |
| soundmng_setreverse(FALSE); | soundmng_setreverse(FALSE); |