Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
public.h
Go to the documentation of this file.
1#ifndef _AUDIO_PUBLIC_H_
2#define _AUDIO_PUBLIC_H_
3
4// 30450.c
5void func_80055050(ALHeap* heap);
6void func_80055068(u32 arg0);
7//void func_80055110(BGMPlayer* player);
8void func_8005513C(u32 arg0);
9void snd_start_sound(s32 soundID, u8 volume, u8 pan);
10void snd_start_sound_with_shift(s32 soundID, u8 volume, u8 pan, s16 pitchShift);
11void snd_adjust_sound(s32 soundID, u8 volume, u8 pan);
12void snd_adjust_sound_with_shift(s32 soundID, u8 volume, u8 pan, s16 pitchShift);
13void snd_stop_sound(s32 soundID);
14void snd_reset(void);
15void snd_start_sound_raw(s32 soundID, s16 volume, s16 pitchShift, s32 pan);
17AuResult snd_ambient_play(s32 arg0, s32 arg1);
19AuResult snd_ambient_stop_slow(s32 arg0, s32 arg1);
20AuResult snd_ambient_pause(s32 arg0, s32 arg1);
21AuResult snd_ambient_resume(s32 arg0, s32 arg1);
23AuResult snd_ambient_mute(s32 arg0, s32 arg1);
24AuResult snd_ambient_set_volume(s32 arg0, s32 arg1, s32 arg2);
27void snd_ambient_80055760(s32 arg0);
30AuResult au_song_load(s32 songID, s32 playerIndex);
31AuResult au_song_start(s32 songName);
32AuResult au_song_start_variation(s32 songName, s32 variation);
33AuResult au_song_stop(s32 songName);
34void au_stop_songs(void);
35AuResult au_song_is_playing(s32 songName);
36AuResult snd_set_song_variation_fade(s32 songName, s32 variation, s32 fadeInTime, s32 startVolume, s32 endVolume);
37AuResult snd_set_song_fade(s32 songName, s32 fadeInTime, s32 startVolume, s32 endVolume);
38AuResult snd_set_song_variation_fade_time(s32 songName, s32 fadeTime, s32 variation);
39AuResult func_80055AF0(s32 songName);
40AuResult func_80055B28(s32 songName);
41AuResult func_80055B80(s32 songName);
42AuResult func_80055BB8(s32 songName, s32 fadeTime);
43AuResult func_80055BF0(s32 songName);
44AuResult func_80055C2C(s32 songName);
45AuResult func_80055C64(s32 songName);
46AuResult func_80055C94(s32 songName);
47AuResult snd_set_song_variation(s32 songName, s32 variation);
48//AuResult snd_song_get_playing_info(s32 songName, BGMHeader** outTrackData, BGMPlayer** outPlayer);
49AuResult snd_song_set_playback_rate(s32 songName, f32 arg1);
50AuResult snd_song_set_detune(s32 songName, s32 arg1);
53AuResult snd_song_set_track_vol_mute(s32 arg0, s32 arg1);
54AuResult snd_song_set_track_vol_quiet(s32 arg0, s32 arg1);
55AuResult snd_song_set_track_vol_full(s32 arg0, s32 arg1);
56void bgm_set_proximity_mix_far(s32 songName, s32 mix);
57void bgm_set_proximity_mix_near(s32 songName, s32 mix);
58void bgm_set_proximity_mix_full(s32 songName, s32 mix);
59void bgm_poll_music_events(u32** arg0, s32* arg1);
60void bgm_flush_music_events(void);
61void bgm_trigger_music_event(s32 arg0, s32 arg1, s32 arg2);
62void bgm_clear_music_events(void);
63//void func_80056144(AuCallback arg0, s32 arg1);
64void audio_set_stereo(void);
65void audio_set_mono(void);
66void func_800561A4(s32 arg0);
67void func_800561C4(s32 arg0);
68void func_800561E4(s32 arg0);
69void enable_sounds(void);
70void disable_sounds(void);
71
72// sfx.h
73void sfx_reset_door_sounds(void);
74void sfx_clear_sounds(void);
75void sfx_clear_env_sounds(s16 playSounds);
77void sfx_set_reverb_mode(s32 arg0);
78s32 sfx_get_reverb_mode(void);
79void sfx_stop_env_sounds(void);
80//SoundInstance* sfx_get_env_sound_instance(s32 soundID);
81void sfx_play_sound_looping(s32 soundId, u8 volume, u8 pan, s16 pitchShift);
82void sfx_register_looping_sound_at_position(s32 soundID, s32 flags, f32 x, f32 y, f32 z);
83s32 sfx_adjust_env_sound_pos(s32 soundID, s32 sourceFlags, f32 x, f32 y, f32 z);
84void snd_stop_tracking_env_sound_pos(s32 soundID, s32 keepPlaying);
85void sfx_play_sound_with_params(s32 soundID, u8 volume, u8 pan, s16 pitchShift);
86void sfx_adjust_env_sound_params(s32 soundID, u8 volume, u8 pan, s16 pitchShift);
87void sfx_stop_sound(s32 soundID);
88void sfx_play_sound(s32 soundID);
89void sfx_play_sound_at_player(s32 soundID, s32 arg1);
90void sfx_play_sound_at_npc(s32 soundID, s32 arg1, s32 npcID);
91void sfx_play_sound_at_position(s32 soundID, s32 flags, f32 posX, f32 posY, f32 posZ);
92void sfx_get_spatialized_sound_params(f32 x, f32 y, f32 z, s16* volume, s16* pan, s32 flags);
93void sfx_compute_spatialized_sound_params_ignore_depth(f32 x, f32 y, f32 z, s16* volume, s16* pan);
94void sfx_compute_spatialized_sound_params_with_depth(f32 x, f32 y, f32 z, s16* volume, s16* pan);
95void sfx_compute_spatialized_sound_params_full(f32 x, f32 y, f32 z, s16* volume, s16* pan, s32 flags);
96
97#endif
s8 flags
Definition demo_api.c:15
#define sfx_play_sound_at_position
MusicTrackVols
Definition enums.h:1788
AuResult
Definition enums.h:1755
void snd_stop_sound(s32 soundID)
Definition 30450.c:256
AuResult snd_ambient_stop_all(s32 arg0)
Definition 30450.c:391
void snd_start_sound_with_shift(s32 soundID, u8 volume, u8 pan, s16 pitchShift)
Definition 30450.c:199
void sfx_clear_env_sounds(s16 playSounds)
Definition sfx.c:313
AuResult snd_ambient_play(s32 arg0, s32 arg1)
Definition 30450.c:276
AuResult snd_set_song_fade(s32 songName, s32 fadeInTime, s32 startVolume, s32 endVolume)
Definition 30450.c:512
void audio_set_stereo(void)
Definition 30450.c:839
void sfx_update_env_sound_params(void)
Definition sfx.c:334
void sfx_play_sound_at_npc(s32 soundID, s32 arg1, s32 npcID)
Definition sfx.c:527
void sfx_stop_env_sounds(void)
Definition sfx.c:361
void sfx_register_looping_sound_at_position(s32 soundID, s32 flags, f32 x, f32 y, f32 z)
Definition sfx.c:411
AuResult func_80055AF0(s32 songName)
Definition 30450.c:540
void disable_sounds(void)
Definition 30450.c:865
AuResult snd_ambient_mute(s32 arg0, s32 arg1)
Definition 30450.c:335
AuResult snd_ambient_pause(s32 arg0, s32 arg1)
Definition 30450.c:305
void sfx_get_spatialized_sound_params(f32 x, f32 y, f32 z, s16 *volume, s16 *pan, s32 flags)
Definition sfx.c:551
void snd_reset(void)
Definition 30450.c:262
void snd_start_sound(s32 soundID, u8 volume, u8 pan)
Definition 30450.c:184
AuResult au_song_stop(s32 songName)
Definition 30450.c:483
void sfx_set_reverb_mode(s32 arg0)
Definition sfx.c:352
void sfx_stop_sound(s32 soundID)
Definition sfx.c:507
void bgm_set_proximity_mix_full(s32 songName, s32 mix)
Definition 30450.c:797
s32 sfx_get_reverb_mode(void)
Definition sfx.c:357
void snd_start_sound_raw(s32 soundID, s16 volume, s16 pitchShift, s32 pan)
Definition 30450.c:266
void sfx_adjust_env_sound_params(s32 soundID, u8 volume, u8 pan, s16 pitchShift)
Definition sfx.c:492
void sfx_reset_door_sounds(void)
Definition sfx.c:299
AuResult snd_song_set_track_volumes(s32 songName, MusicTrackVols arg1)
Definition 30450.c:684
void sfx_play_sound_with_params(s32 soundID, u8 volume, u8 pan, s16 pitchShift)
Definition sfx.c:458
void snd_stop_tracking_env_sound_pos(s32 soundID, s32 keepPlaying)
Definition sfx.c:447
void bgm_poll_music_events(u32 **arg0, s32 *arg1)
Definition 30450.c:801
void sfx_play_sound_looping(s32 soundId, u8 volume, u8 pan, s16 pitchShift)
Definition sfx.c:392
AuResult snd_load_ambient(s32 arg0)
Definition 30450.c:272
AuResult func_80055C64(s32 songName)
Definition 30450.c:612
AuResult snd_ambient_set_volume(s32 arg0, s32 arg1, s32 arg2)
Definition 30450.c:345
AuResult snd_song_set_playback_rate(s32 songName, f32 arg1)
Definition 30450.c:656
AuResult snd_ambient_stop_slow(s32 arg0, s32 arg1)
Definition 30450.c:295
AuResult func_80055C2C(s32 songName)
Definition 30450.c:601
void bgm_flush_music_events(void)
Definition 30450.c:808
void sfx_play_sound(s32 soundID)
Definition sfx.c:517
AuResult func_80055C94(s32 songName)
Definition 30450.c:620
void snd_adjust_sound_with_shift(s32 soundID, u8 volume, u8 pan, s16 pitchShift)
Definition 30450.c:235
s32 sfx_adjust_env_sound_pos(s32 soundID, s32 sourceFlags, f32 x, f32 y, f32 z)
Definition sfx.c:431
void sfx_compute_spatialized_sound_params_with_depth(f32 x, f32 y, f32 z, s16 *volume, s16 *pan)
Definition sfx.c:628
AuResult func_80055B80(s32 songName)
Definition 30450.c:568
AuResult au_song_start(s32 songName)
Definition 30450.c:449
void enable_sounds(void)
Definition 30450.c:861
AuResult snd_song_set_track_vol_mute(s32 arg0, s32 arg1)
Definition 30450.c:777
void func_80055050(ALHeap *heap)
Definition 30450.c:103
void sfx_compute_spatialized_sound_params_ignore_depth(f32 x, f32 y, f32 z, s16 *volume, s16 *pan)
Definition sfx.c:594
AuResult au_song_load(s32 songID, s32 playerIndex)
Definition 30450.c:436
void sfx_compute_spatialized_sound_params_full(f32 x, f32 y, f32 z, s16 *volume, s16 *pan, s32 flags)
Definition sfx.c:217
AuResult au_song_is_playing(s32 songName)
Definition 30450.c:491
AuResult func_80055BB8(s32 songName, s32 fadeTime)
Definition 30450.c:579
AuResult snd_ambient_resume(s32 arg0, s32 arg1)
Definition 30450.c:315
AuResult snd_ambient_enable(s32 arg0)
Definition 30450.c:365
AuResult snd_set_song_variation_fade(s32 songName, s32 variation, s32 fadeInTime, s32 startVolume, s32 endVolume)
Definition 30450.c:495
void snd_adjust_sound(s32 soundID, u8 volume, u8 pan)
Definition 30450.c:220
void func_800561A4(s32 arg0)
Definition 30450.c:849
void sfx_clear_sounds(void)
Definition sfx.c:304
AuResult func_80055B28(s32 songName)
Definition 30450.c:551
AuResult snd_set_song_variation_fade_time(s32 songName, s32 fadeTime, s32 variation)
Definition 30450.c:529
AuResult snd_song_set_track_vol_full(s32 arg0, s32 arg1)
Definition 30450.c:785
AuResult au_song_start_variation(s32 songName, s32 variation)
Definition 30450.c:466
void audio_set_mono(void)
Definition 30450.c:844
void func_800561C4(s32 arg0)
Definition 30450.c:853
AuResult snd_song_clear_track_volumes(s32 songName, MusicTrackVols arg1)
Definition 30450.c:704
void func_8005513C(u32 arg0)
Definition 30450.c:146
AuResult snd_song_set_track_vol_quiet(s32 arg0, s32 arg1)
Definition 30450.c:781
void bgm_set_proximity_mix_near(s32 songName, s32 mix)
Definition 30450.c:793
AuResult snd_ambient_stop_quick(s32 arg0)
Definition 30450.c:285
AuResult snd_ambient_disable(s32 arg0)
Definition 30450.c:355
void au_stop_songs(void)
Definition 30450.c:487
void bgm_trigger_music_event(s32 arg0, s32 arg1, s32 arg2)
Definition 30450.c:812
AuResult snd_ambient_is_stopped(s32 arg0)
Definition 30450.c:325
void snd_ambient_80055760(s32 arg0)
Definition 30450.c:376
AuResult snd_song_set_detune(s32 songName, s32 arg1)
Definition 30450.c:670
void func_80055068(u32 arg0)
Definition 30450.c:108
void bgm_clear_music_events(void)
Definition 30450.c:821
void bgm_set_proximity_mix_far(s32 songName, s32 mix)
Definition 30450.c:789
void sfx_play_sound_at_player(s32 soundID, s32 arg1)
Definition sfx.c:521
AuResult snd_set_song_variation(s32 songName, s32 variation)
Definition 30450.c:628
void func_800561E4(s32 arg0)
Definition 30450.c:857
AuResult func_80055BF0(s32 songName)
Definition 30450.c:590
AuResult snd_ambient_play_only(s32 arg0)
Definition 30450.c:409