Searched refs:sfx_num (Results 1 – 4 of 4) sorted by relevance
/dports/games/jumpnbump/jumpnbump-1.61-7a0a7ab7491680338bb13058adafdfaac03a1f6d/sdl/ |
H A D | sound.c | 381 addsfx((short *)sounds[sfx_num].buf, sounds[sfx_num].length, sounds[sfx_num].loop, freq, slot); in dj_play_sfx() 391 memcpy(data, &sounds[sfx_num], sizeof(sfx_data)); in dj_get_sfx_settings() 400 memcpy(&sounds[sfx_num], data, sizeof(sfx_data)); in dj_set_sfx_settings() 433 sounds[sfx_num].buf = malloc(file_length); in dj_load_sfx() 437 sounds[sfx_num].length = file_length / 2; in dj_load_sfx() 438 src = sounds[sfx_num].buf; in dj_load_sfx() 439 dest = (unsigned short *)sounds[sfx_num].buf; in dj_load_sfx() 440 for (i=0; i<sounds[sfx_num].length; i++) in dj_load_sfx() 451 void dj_free_sfx(unsigned char sfx_num) in dj_free_sfx() argument 456 free(sounds[sfx_num].buf); in dj_free_sfx() [all …]
|
/dports/games/jumpnbump/jumpnbump-1.61-7a0a7ab7491680338bb13058adafdfaac03a1f6d/ |
H A D | dj.h | 120 extern void dj_play_sfx(unsigned char sfx_num, unsigned short freq, char volume, char panning, unsi… 121 extern char dj_get_sfx_settings(unsigned char sfx_num, sfx_data *data); 122 extern char dj_set_sfx_settings(unsigned char sfx_num, sfx_data *data); 125 …unsigned char *file_handle, char *filename, int file_length, char sfx_type, unsigned char sfx_num); 126 extern void dj_free_sfx(unsigned char sfx_num);
|
/dports/games/tuxkart/tuxkart-0.4.0/src/ |
H A D | sound.cxx | 70 void SoundSystem::playSfx ( int sfx_num ) in playSfx() argument 73 sched -> playSample ( sfx[sfx_num].s, 1, SL_SAMPLE_MUTE, 2, NULL ) ; in playSfx()
|
/dports/games/tux-aqfh/tux_aqfh-1.0.14/src/ |
H A D | sound.cxx | 82 void SoundSystem::playSfx ( int sfx_num ) in playSfx() argument 85 sched -> playSample ( sfx[sfx_num].s, 1, SL_SAMPLE_MUTE, 2, NULL ) ; in playSfx()
|