(filename, volume)
| 14 | #ifdef USER_SOUNDS |
| 15 | |
| 16 | void |
| 17 | play_usersound(filename, volume) |
| 18 | const char *filename; |
| 19 | int volume; |
| 20 | { |
| 21 | TCHAR wbuf[MAX_PATH + 1]; |
| 22 | /* pline("play_usersound: %s (%d).", filename, volume); */ |
| 23 | ZeroMemory(wbuf, sizeof(wbuf)); |
| 24 | (void) sndPlaySound(NH_A2W(filename, wbuf, MAX_PATH), |
| 25 | SND_ASYNC | SND_NODEFAULT); |
| 26 | } |
| 27 | |
| 28 | #endif /*USER_SOUNDS*/ |
| 29 | /* cesound.c */ |
nothing calls this directly
no outgoing calls
no test coverage detected