mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
Update vendor/miniaudio to v0.11.9
This commit is contained in:
Vendored
+30
@@ -12,6 +12,36 @@ when ODIN_OS == .Windows {
|
||||
|
||||
MAX_LOG_CALLBACKS :: 4
|
||||
|
||||
|
||||
/*
|
||||
The callback for handling log messages.
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
pUserData (in)
|
||||
The user data pointer that was passed into ma_log_register_callback().
|
||||
|
||||
logLevel (in)
|
||||
The log level. This can be one of the following:
|
||||
|
||||
+----------------------+
|
||||
| Log Level |
|
||||
+----------------------+
|
||||
| MA_LOG_LEVEL_DEBUG |
|
||||
| MA_LOG_LEVEL_INFO |
|
||||
| MA_LOG_LEVEL_WARNING |
|
||||
| MA_LOG_LEVEL_ERROR |
|
||||
+----------------------+
|
||||
|
||||
pMessage (in)
|
||||
The log message.
|
||||
|
||||
|
||||
Remarks
|
||||
-------
|
||||
Do not modify the state of the device from inside the callback.
|
||||
*/
|
||||
log_callback_proc :: proc "c" (pUserData: rawptr, level: u32, pMessage: cstring)
|
||||
|
||||
log_callback :: struct {
|
||||
|
||||
Reference in New Issue
Block a user