mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 05:29:51 +01:00
platform: remove unneeded argument from SNDDMA_Init
This commit is contained in:
parent
37255354d4
commit
b2895770b8
@ -1840,7 +1840,7 @@ qboolean S_Init( void )
|
||||
Cmd_AddCommand( "spk", S_SayReliable_f, "reliable play a specified sententce" );
|
||||
Cmd_AddCommand( "speak", S_Say_f, "playing a specified sententce" );
|
||||
|
||||
if( !SNDDMA_Init( host.hWnd ))
|
||||
if( !SNDDMA_Init( ) )
|
||||
{
|
||||
Con_Printf( "Audio: sound system can't be initialized\n" );
|
||||
return false;
|
||||
|
@ -199,7 +199,7 @@ static const char *SNDDMA_Android_Init( void )
|
||||
return NULL;
|
||||
}
|
||||
|
||||
qboolean SNDDMA_Init( void *hwnd)
|
||||
qboolean SNDDMA_Init( void )
|
||||
{
|
||||
const char *initError;
|
||||
|
||||
|
@ -118,7 +118,7 @@ qboolean SW_CreateBuffer( int width, int height, uint *stride, uint *bpp, uint *
|
||||
==============================================================================
|
||||
*/
|
||||
// initializes cycling through a DMA buffer and returns information on it
|
||||
qboolean SNDDMA_Init( void *hInst );
|
||||
qboolean SNDDMA_Init( void );
|
||||
int SNDDMA_GetSoundtime( void );
|
||||
void SNDDMA_Shutdown( void );
|
||||
void SNDDMA_BeginPainting( void );
|
||||
|
@ -63,7 +63,7 @@ Try to find a sound device to mix for.
|
||||
Returns false if nothing is found.
|
||||
==================
|
||||
*/
|
||||
qboolean SNDDMA_Init( void *hInst )
|
||||
qboolean SNDDMA_Init( void )
|
||||
{
|
||||
SDL_AudioSpec desired, obtained;
|
||||
int samplecount;
|
||||
|
Loading…
Reference in New Issue
Block a user