mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Fix a compilation warning.
This commit is contained in:
+4
-2
@@ -1947,7 +1947,7 @@ MA_API void ma_version(ma_uint32* pMajor, ma_uint32* pMinor, ma_uint32* pRevisio
|
|||||||
/*
|
/*
|
||||||
Retrieves the version of miniaudio as a string which can be useful for logging purposes.
|
Retrieves the version of miniaudio as a string which can be useful for logging purposes.
|
||||||
*/
|
*/
|
||||||
MA_API const char* ma_version_string();
|
MA_API const char* ma_version_string(void);
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************************************************************************************************
|
/**************************************************************************************************************************************************************
|
||||||
@@ -6325,7 +6325,7 @@ MA_API void ma_version(ma_uint32* pMajor, ma_uint32* pMinor, ma_uint32* pRevisio
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MA_API const char* ma_version_string()
|
MA_API const char* ma_version_string(void)
|
||||||
{
|
{
|
||||||
return MA_VERSION_STRING;
|
return MA_VERSION_STRING;
|
||||||
}
|
}
|
||||||
@@ -25221,7 +25221,9 @@ static AVAudioSessionCategory ma_to_AVAudioSessionCategory(ma_ios_session_catego
|
|||||||
|
|
||||||
static ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma_context* pContext)
|
static ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma_context* pContext)
|
||||||
{
|
{
|
||||||
|
#if !defined(MA_APPLE_MOBILE)
|
||||||
ma_result result;
|
ma_result result;
|
||||||
|
#endif
|
||||||
|
|
||||||
MA_ASSERT(pConfig != NULL);
|
MA_ASSERT(pConfig != NULL);
|
||||||
MA_ASSERT(pContext != NULL);
|
MA_ASSERT(pContext != NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user