#include <libtransistor/nx.h>
Go to the source code of this file.
|
| #define | R_FAILED(r) ((r) != RESULT_OK) |
| |
| #define | compat_thread_create(thread, func, data, stack_size, prio, cpu) trn_thread_create(thread, func, data, prio, cpu, stack_size, NULL) |
| |
| #define | compat_thread_start(thread) trn_thread_start(thread) |
| |
| #define | compat_thread_join(thread) trn_thread_join(thread, -1) |
| |
| #define | compat_thread_close(thread) trn_thread_destroy(thread) |
| |
| #define | compat_mutex_create(mutex) trn_mutex_create(mutex) |
| |
| #define | compat_mutex_lock(mutex) trn_mutex_lock(mutex) |
| |
| #define | compat_mutex_unlock(mutex) trn_mutex_unlock(mutex) |
| |
| #define | compat_condvar_create(condvar) trn_condvar_create(condvar) |
| |
| #define | compat_condvar_wait(condvar, mutex) trn_condvar_wait(condvar, mutex, -1) |
| |
| #define | compat_condvar_wake_all(condvar) trn_condvar_signal(condvar, -1) |
| |
| #define | switch_audio_ipc_init audio_ipc_init |
| |
| #define | switch_audio_ipc_finalize audio_ipc_finalize |
| |
| #define | switch_audio_ipc_output_get_released_buffer(a, b) audio_ipc_output_get_released_buffer(&a->output, &b, &a->current_buffer) |
| |
| #define | switch_audio_ipc_output_append_buffer(a, b) audio_ipc_output_append_buffer(&a->output, b) |
| |
| #define | switch_audio_ipc_output_stop(a) audio_ipc_output_stop(&a->output) |
| |
| #define | switch_audio_ipc_output_start(a) audio_ipc_output_start(&a->output) |
| |
◆ compat_condvar_create
| #define compat_condvar_create |
( |
|
condvar | ) |
trn_condvar_create(condvar) |
◆ compat_condvar_wait
| #define compat_condvar_wait |
( |
|
condvar, |
|
|
|
mutex |
|
) |
| trn_condvar_wait(condvar, mutex, -1) |
◆ compat_condvar_wake_all
| #define compat_condvar_wake_all |
( |
|
condvar | ) |
trn_condvar_signal(condvar, -1) |
◆ compat_mutex_create
| #define compat_mutex_create |
( |
|
mutex | ) |
trn_mutex_create(mutex) |
◆ compat_mutex_lock
| #define compat_mutex_lock |
( |
|
mutex | ) |
trn_mutex_lock(mutex) |
◆ compat_mutex_unlock
| #define compat_mutex_unlock |
( |
|
mutex | ) |
trn_mutex_unlock(mutex) |
◆ compat_thread_close
| #define compat_thread_close |
( |
|
thread | ) |
trn_thread_destroy(thread) |
◆ compat_thread_create
| #define compat_thread_create |
( |
|
thread, |
|
|
|
func, |
|
|
|
data, |
|
|
|
stack_size, |
|
|
|
prio, |
|
|
|
cpu |
|
) |
| trn_thread_create(thread, func, data, prio, cpu, stack_size, NULL) |
◆ compat_thread_join
| #define compat_thread_join |
( |
|
thread | ) |
trn_thread_join(thread, -1) |
◆ compat_thread_start
| #define compat_thread_start |
( |
|
thread | ) |
trn_thread_start(thread) |
◆ R_FAILED
| #define R_FAILED |
( |
|
r | ) |
((r) != RESULT_OK) |
◆ switch_audio_ipc_finalize
| #define switch_audio_ipc_finalize audio_ipc_finalize |
◆ switch_audio_ipc_init
| #define switch_audio_ipc_init audio_ipc_init |
◆ switch_audio_ipc_output_append_buffer
| #define switch_audio_ipc_output_append_buffer |
( |
|
a, |
|
|
|
b |
|
) |
| audio_ipc_output_append_buffer(&a->output, b) |
◆ switch_audio_ipc_output_get_released_buffer
| #define switch_audio_ipc_output_get_released_buffer |
( |
|
a, |
|
|
|
b |
|
) |
| audio_ipc_output_get_released_buffer(&a->output, &b, &a->current_buffer) |
◆ switch_audio_ipc_output_start
| #define switch_audio_ipc_output_start |
( |
|
a | ) |
audio_ipc_output_start(&a->output) |
◆ switch_audio_ipc_output_stop
| #define switch_audio_ipc_output_stop |
( |
|
a | ) |
audio_ipc_output_stop(&a->output) |
◆ compat_audio_out_buffer
◆ compat_condvar
◆ compat_mutex
◆ compat_thread
◆ Result