|
|
| version 1.5, 2003/11/28 08:01:34 | version 1.6, 2003/11/28 21:06:03 |
|---|---|
| Line 111 UINT soundmng_create(UINT rate, UINT ms) | Line 111 UINT soundmng_create(UINT rate, UINT ms) |
| if (waveopened) { | if (waveopened) { |
| return(0); | return(0); |
| } | } |
| mute = 1 << SNDPROC_NP2; | |
| switch(rate) { | switch(rate) { |
| case 11025: | case 11025: |
| type = 0; | type = 0; |
| Line 183 UINT soundmng_create(UINT rate, UINT ms) | Line 186 UINT soundmng_create(UINT rate, UINT ms) |
| curms = ms; | curms = ms; |
| waveopened = TRUE; | waveopened = TRUE; |
| TRACEOUT(("soundmng success.")); | TRACEOUT(("soundmng success.")); |
| mute = 0; | |
| return(w_ctrl.samples); | return(w_ctrl.samples); |
| } | } |
| _MFREE(w_ctrl.buffer); | _MFREE(w_ctrl.buffer); |