mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Add support for configuring thread stack sizes and fix GCC errors.
The thread priority can be set via ma_thread_create() and can be set in the context config along side the thread priority for configuring the size of the stack for the audio thread.
This commit is contained in:
@@ -253,8 +253,8 @@ Below a summary of some things to keep in mind for high performance mixing:
|
||||
of your data sources to 48000Hz before mixing may be unnecessarily inefficient because it'll need to perform mixing on a greater number of samples.
|
||||
*/
|
||||
|
||||
MA_API ma_uint32 ma_get_accumulation_bytes_per_sample(ma_format format);
|
||||
MA_API ma_uint32 ma_get_accumulation_bytes_per_frame(ma_format format, ma_uint32 channels);
|
||||
MA_API size_t ma_get_accumulation_bytes_per_sample(ma_format format);
|
||||
MA_API size_t ma_get_accumulation_bytes_per_frame(ma_format format, ma_uint32 channels);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user