72 M_SAE_EQUALIZER_UPDATED = 0xA,
73 M_SAE_EQUALIZER_ERROR = 0xB,
74 M_SAE_3DAUDIO_UPDATED = 0xC,
75 M_SAE_3DAUDIO_ERROR = 0xD,
76 M_SAE_UNKNOWN_EVENT = 0xE,
77 M_SAE_UNKNOWN_EVENT_1 = 0xF,
97 M_SAE_UNKNOWN_EVENT_2 = 0x23,
98 M_SAE_UNKNOWN_EVENT_3 = 0x24,
102 M_SAE_VISUALIZATION_STOPPED = 0x28,
103 M_SAE_VISUALIZATION_STARTED = 0x29,
104 M_SAE_UNKNOWN_EVENT_4 = 0x2A,
105 M_SAE_VISUALIZATION_DATA = 0x2B,
106 M_SAE_STREAM_READY = 0x2C,
107 M_SAE_STREAM_STALLED = 0x2D,
108 M_SAE_STREAM_UNSTALLED = 0x2E,
109 M_SAE_STREAM_LOW_WATERMARK = 0x2F,
110 M_SAE_STREAM_HIGH_WATERMARK = 0x30,
111 M_SAE_BUFFER_CONSUMED = 0x31,
112 M_SAE_BUFFER_AVAILABLE = 0x32,
113 M_SAE_RESERVE_OK = 0x33,
114 M_SAE_RESERVE_FAIL = 0x34,
115 M_SAE_RELEASE_OK = 0x35,
116 M_SAE_RELEASE_FAIL = 0x36,
117 M_SAE_RELEASED = 0x37,
118 M_SAE_VOLUME_CHANGED = 0x38,
119 M_SAE_SOUNDSTATE_CHANGED = 0x39,
120 M_SAE_SOUNDSYSTEM_IDLE = 0x3A,
121 M_SAE_EVENT_IN_STACK = 0x3B,
294void PlaySound(
long volume,
long cepid,
long unk1,
long tone_type,
long unk2)
346int PlayMelody_SetVolume(
int handle,
PLAY_VOLUME volume)
347__swi_end(0x225, PlayMelody_SetVolume, (handle, volume));
#define __swi_end(number, func, call)
#define __swi_begin(number)
int play_first
Unknown, set to 0.
uint16_t unk
Unknown, set to 0.
short msg
MSG_PLAYFILE_REPORT
uint8_t level
volume level 0..5 (Obs 0, 1, 4, 8, 12, 15), 6 = the level from the profile
short pid_from
sender cepid
int time_between_play
Delay between each repeat.
int volume
Volume level (1-5)
int unk6
Unknown, set to 0.
uint16_t repeat_num
Number of repeat (0: unlimited)
int unk5
Unknown, set to 0.
void * RamAudioHook()
Pointer to the AudioHook.
PlaySoundEventID
Event IDs for the GBS_PSOUND_MSG.
int IsPlayerOn()
Check if the radio or player is active.
char * RamMediaIsPlaying()
Copy of a PASIC audio register, historically used to check if a sound is played.
static int PlayMelody_GetDuration(int handle, int *duration)
Get the duration of the playing melody.
PlaySoundVolumeID
Volume (=category) for tones (PlaySound).
void PlaySound(long volume, long cepid, long unk1, long tone_type, long unk2)
Play tone by id.
int GetPlayObjPosition(void *obj, int *position)
Get the current position from Obs or PlayObj (generic).
int AACC_AudioTransferReq(int oh, uint32_t type_and_conn)
Change audio output.
int PlayMelody_PausePlayback(int handle)
Pause the playback of the melody.
short SoundAE_PlayFileAsEvent(int event_id, int cepid, int msg_id, const WSHDR *folder, const WSHDR *file)
Play custom sound.
char * RamIsSoundRecordingActive()
Check if active recording of the sound.
char * RamSoundRecordingQuality()
Quality of the current sound recording.
int PlayMelody_StopPlayback(int handle)
Stop the playback of the melody.
int ChangeVolume(uint8_t volume)
Change the current audio volume.
int Audio_GetCurrAudioPath(void)
Get current audio path.
int Audio_GetObjectHandle()
Get current object handle.
int GetPlayStatus(void)
Get status of the MediaPlayer.
int PlayMelodyInMem(char unk1, const void *buffer, int size, int cepid, int msg, int unk2)
Play melody from memory.
void * GetPlayObjById(int handle)
Get a pointer to the PlayObject by PlayObject handle.
int GetPlayObjDuration(void *obj, int *duration)
Get the duration of from Obs or PlayObj (generic).
int PlayMelody_GetVolume(int handle, int *volume)
Get the volume of the playing melody.
int PlayMelody_SetPosition(int handle, int position)
Set the position of the playing melody.
void PlaySoundLoop(int unk1, int unk2, int duration)
Play vibra tone (???).
static int PlayMelody_GetPosition(int handle, int *position)
Get the current position of the playing melody.
PlaySoundJobID
Job IDs for the GBS_PSOUND_MSG.
char * RamVolumeLevel()
Get current volume level.
short PlayFile(int flags, const WSHDR *folder, const WSHDR *file, int cepid, int msgid, const PLAYFILE_OPT *sfo)
Play file from filesystem (path=folder\file).
int PlayMelody_ResumePlayBack(int handle)
Resume the playback of the melody.
int PlayMelody_ChangeVolume(int handle, int volume)
Change the volume of the playing melody.
@ M_SAE_INFO_DATA_AVAILABLE
@ M_SAE_INFO_REQUEST_FAIL
@ M_SAE_MAX_RECORDING_TIME_AVAILABLE
@ M_SAE_MAX_RECORDING_TIME_ERROR
@ M_SAE_PLAYBACK_NEXTCYCLE
@ M_SAE_AUDIO_EVENT_PAUSED
@ M_SAE_AUDIO_EVENT_RESUMED
@ M_SAE_HANDSFREE_UPDATED
@ M_SAE_AUDIO_EVENT_UPDATED_MS
@ M_SAE_AUDIO_EVENT_STOPPED
@ M_SAE_AUDIO_EVENT_UPDATED
@ Job_GetRecordingTimeMax
GBS event (MSG_PLAYFILE_REPORT) for the PlayFile or PlayMelodyInMem.
Volume of a play object (NSG/ELKA), passed by value to PlayMelody_ChangeVolume.
Options for the PlayFile.