152 M_SAE_AUDIO_EVENT_UPDATED = 0x1D,
153 M_SAE_AUDIO_EVENT_UPDATED_MS = 0x1E,
294void PlaySound(
long volume,
long cepid,
long unk1,
long tone_type,
long unk2)
#define __swi_end(number, func, call)
#define __swi_begin(number)
int play_first
Unknown, set to 0.
uint16_t unk
Unknown, set to 0.
int unk8
Unknown, set to 0.
uint8_t level
volume level 0..5 (Obs 0, 1, 4, 8, 12, 15), 6 = the level from the profile
int msg
MSG_PLAYFILE_REPORT
int time_between_play
Delay between each repeat.
int volume
Volume level (1-15)
int unk6
Unknown, set to 0.
uint16_t repeat_num
Number of repeat (0: unlimited)
int unk9
Unknown, set to 0.
int unk7
Unknown, set to 0.
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.
int PlayMelody_ChangeVolume(int handle, PLAY_VOLUME volume)
Change the volume 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 PlayMelody_SetVolume(int handle, PLAY_VOLUME volume)
Change the volume of the playing melody.
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_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.
int PlayMelody_GetVolume(int handle, PLAY_VOLUME *volume)
Get the volume 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.
@ M_SAE_INFO_DATA_AVAILABLE
@ M_SAE_EQUALIZER_UPDATED
@ M_SAE_INFO_REQUEST_FAIL
@ M_SAE_VISUALIZATION_STOPPED
@ M_SAE_MAX_RECORDING_TIME_AVAILABLE
@ M_SAE_VISUALIZATION_DATA
@ M_SAE_STREAM_LOW_WATERMARK
@ M_SAE_MAX_RECORDING_TIME_ERROR
@ M_SAE_STREAM_HIGH_WATERMARK
@ M_SAE_PLAYBACK_NEXTCYCLE
@ M_SAE_VISUALIZATION_STARTED
@ M_SAE_AUDIO_EVENT_PAUSED
@ M_SAE_AUDIO_EVENT_RESUMED
@ M_SAE_SOUNDSTATE_CHANGED
@ M_SAE_HANDSFREE_UPDATED
@ M_SAE_AUDIO_EVENT_STOPPED
@ 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.