This is a simple HTML for the functions exported by Uematsu.DLL, click on one of the links below to jump directly to the text for that function. I would have used frames to do this, but only if I knew how to do frames. :-(
Uematsu_SetWindowHandleThe Uematsu_SetWindowHandle function takes the handle of a window that will be used as the owner of popup dialog boxes.
BOOL WINAPI Uematsu_SetWindowHandle(
HWND hWndOwner
);
Nonzero if successful; otherwise, 0.
The Uematsu_GetConfiguration function retrieves the current configuration for the engine.
BOOL WINAPI Uematsu_GetConfiguration(
LPUEMATSUCONFIG lpuc
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetConfiguration function sets the current configuration for the engine.
BOOL WINAPI Uematsu_SetConfiguration(
LPUEMATSUCONFIG lpuc
);
Nonzero if successful; otherwise, 0.
The Uematsu_Play function loads an SPC file and starts playing it.
BOOL WINAPI Uematsu_Play(
LPCTSTR lpszFileName
);
Nonzero if successful; otherwise, 0.
The Uematsu_Stop function stops any currently playing song.
BOOL WINAPI Uematsu_Stop();
Nonzero if successful; otherwise, 0.
The Uematsu_Pause function pauses a currently playing song.
BOOL WINAPI Uematsu_Pause();
Nonzero if successful; otherwise, 0.
The Uematsu_UnPause function resumes a previously paused song.
BOOL WINAPI Uematsu_UnPause();
Nonzero if successful; otherwise, 0.
The Uematsu_SetWAVOutputFileName function specifies the file name to use for dumping to WAV, and whether to output with or without sound.
BOOL WINAPI Uematsu_SetWAVOutputFileName(
LPCTSTR lpszFileName
BOOL bWithSound
);
Nonzero if successful; otherwise, 0.
The Uematsu_GetPlayTime function returns the current playing time.
UINT WINAPI Uematsu_GetPlayTime();
A UINT value representing the current playing time in milliseconds.
The Uematsu_SetPlayTime function seeks to the playing time specified.
BOOL WINAPI Uematsu_SetPlayTime(
UINT uTime
BOOL bFastSeek
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetSongLength function specifies the current length and fade length to use when playing a song.
BOOL WINAPI Uematsu_SetSongLength(
UINT uSong
UINT uFade
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetSongSpeed function sets the current speed or tempo to use when playing a song.
BOOL WINAPI Uematsu_SetSongSpeed(
UINT uSpeed
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetSongPitch function sets the current base pitch to use when playing a song.
BOOL WINAPI Uematsu_SetSongPitch(
UINT uPitch
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetMainSS function sets the current main stereo separation.
BOOL WINAPI Uematsu_SetMainSS(
UINT uSeparation
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetEchoSS function sets the current echo stereo separation or feedback crosstalk.
BOOL WINAPI Uematsu_SetEchoSS(
INT nSeparation
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetPreAmp function sets the current preamplification level.
BOOL WINAPI Uematsu_SetPreAmp(
UINT uPreAmp
);
Nonzero if successful; otherwise, 0.
The Uematsu_SetMixingThreadPriority function sets the current priority level for the sound mixing thread.
BOOL WINAPI Uematsu_SetMixingThreadPriority(
INT nPriority
);
Nonzero if successful; otherwise, 0.
Priority | Meaning |
---|---|
THREAD_PRIORITY_ABOVE_NORMAL | Indicates 1 point above normal priority for the priority class. |
THREAD_PRIORITY_BELOW_NORMAL | Indicates 1 point below normal priority for the priority class. |
THREAD_PRIORITY_HIGHEST | Indicates 2 points above normal priority for the priority class. |
THREAD_PRIORITY_IDLE | Indicates a base priority level of 1 for IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASS processes, and a base priority level of 16 for REALTIME_PRIORITY_CLASS processes. |
THREAD_PRIORITY_LOWEST | Indicates 2 points below normal priority for the priority class. |
THREAD_PRIORITY_NORMAL | Indicates normal priority for the priority class. |
THREAD_PRIORITY_TIME_CRITICAL | Indicates a base priority level of 15 for IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASS processes, and a base priority level of 31 for REALTIME_PRIORITY_CLASS processes. |
The Uematsu_IsActive function indicates whether the engine is currently active.
BOOL WINAPI Uematsu_IsActive();
Nonzero if the engine is active; otherwise, 0.
The Uematsu_IsPlaying function indicates whether a song is currently playing.
BOOL WINAPI Uematsu_IsPlaying();
Nonzero if a song is playing; otherwise, 0.
The Uematsu_HasFailed function indicates whether the mixing thread has failed to do something while playing.
BOOL WINAPI Uematsu_HasFailed();
Nonzero if the mixing thread has failed; otherwise, 0.
The Uematsu_MuteChannels function mutes or unmutes the 8 DSP channels.
BOOL WINAPI Uematsu_MuteChannels(
INT nChannels
);
Nonzero if successful; otherwise, 0.
The Uematsu_GetVisParams function retrieves the current visualization related parameters of the engine.
BOOL WINAPI Uematsu_GetVisParams(
LPUEMATSUVISPARAMS lpuvp
);
Nonzero if successful; otherwise, 0.
The Uematsu_LoadID666Tag function reads the ID666 tag of an SPC file.
BOOL WINAPI Uematsu_LoadID666Tag(
LPCTSTR lpszFileName
LPID666TAG lpTag
);
Nonzero if successful; otherwise, 0.
The Uematsu_SaveID666Tag function saves an ID666 tag to an SPC file.
BOOL WINAPI Uematsu_SaveID666Tag(
LPCTSTR lpszFileName
LPID666TAG lpTag
);
Nonzero if successful; otherwise, 0.
The Uematsu_GetCoreInfo function retrieves the version, minimum supported version and miscellaneous options for the core SNESAPU.DLL engine.
BOOL WINAPI Uematsu_GetCoreInfo(
LPUINT lpuVersion
LPUINT lpuMinVersion
LPUINT lpuOptions
);
Nonzero if successful; otherwise, 0.
The Uematsu_GetCurrentPreamp function returns the current preamplification level, which can change dynamically depending on the APR setting.
UINT WINAPI Uematsu_GetCurrentPreamp();
A UINT value representing the current preamplification level.