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:
mcmartin
2005-12-08 05:50:51 +00:00
parent 8a4a8c484e
commit f3b188b69d
3 changed files with 5 additions and 3 deletions
+3
View File
@@ -23,6 +23,9 @@
static audio_Driver audiodrv;
/* The globals that control the sound drivers. */
int snddriver, soundflags;
/*
* Declarations for driver init funcs
*/
+2
View File
@@ -83,6 +83,8 @@ enum
audio_ENUM_SIZE
};
extern int snddriver, soundflags;
typedef struct {
/* General */
void (* Uninitialize) (void);
-3
View File
@@ -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[])
{