mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Reorder parameters in the callback.
This swaps the order of the input and output pointers so that it's consistent with the order used by memcpy().
This commit is contained in:
+1
-1
@@ -2232,7 +2232,7 @@ typedef struct
|
||||
mal_event endOfPlaybackEvent;
|
||||
} playback_test_callback_data;
|
||||
|
||||
void on_send__playback_test(mal_device* pDevice, const void* pInput, void* pOutput, mal_uint32 frameCount)
|
||||
void on_send__playback_test(mal_device* pDevice, void* pOutput, const void* pInput, mal_uint32 frameCount)
|
||||
{
|
||||
playback_test_callback_data* pData = (playback_test_callback_data*)pDevice->pUserData;
|
||||
mal_assert(pData != NULL);
|
||||
|
||||
Reference in New Issue
Block a user