Moved snddriver and soundflags to audiocore.
This is "temporary" in that all these global config variables will be referenced via the global named resource system in the end. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2040 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
|
||||
static audio_Driver audiodrv;
|
||||
|
||||
/* The globals that control the sound drivers. */
|
||||
int snddriver, soundflags;
|
||||
|
||||
/*
|
||||
* Declarations for driver init funcs
|
||||
*/
|
||||
|
||||
@@ -83,6 +83,8 @@ enum
|
||||
audio_ENUM_SIZE
|
||||
};
|
||||
|
||||
extern int snddriver, soundflags;
|
||||
|
||||
typedef struct {
|
||||
/* General */
|
||||
void (* Uninitialize) (void);
|
||||
|
||||
@@ -94,9 +94,6 @@ static int Check_PC_3DO_opt (const char *value, DWORD mask, const char *opt,
|
||||
int *result);
|
||||
static const char *PC_3DO_optString (DWORD optMask);
|
||||
|
||||
/* TODO: Remove these global variables once threading is gone. */
|
||||
int snddriver, soundflags;
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user