mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
the plugin structs /definitly/ have to be static and remove some debug from
alsa_0_9
This commit is contained in:
parent
bcc768295f
commit
2c51098ac9
3 changed files with 20 additions and 21 deletions
|
@ -110,13 +110,13 @@ cvar_t *snd_phasesep;
|
|||
cvar_t *snd_show;
|
||||
cvar_t *snd_volumesep;
|
||||
|
||||
plugin_t plugin_info;
|
||||
plugin_data_t plugin_info_data;
|
||||
plugin_funcs_t plugin_info_funcs;
|
||||
general_data_t plugin_info_general_data;
|
||||
general_funcs_t plugin_info_general_funcs;
|
||||
snd_render_data_t plugin_info_snd_render_data;
|
||||
snd_render_funcs_t plugin_info_snd_render_funcs;
|
||||
static plugin_t plugin_info;
|
||||
static plugin_data_t plugin_info_data;
|
||||
static plugin_funcs_t plugin_info_funcs;
|
||||
static general_data_t plugin_info_general_data;
|
||||
static general_funcs_t plugin_info_general_funcs;
|
||||
static snd_render_data_t plugin_info_snd_render_data;
|
||||
static snd_render_funcs_t plugin_info_snd_render_funcs;
|
||||
|
||||
|
||||
// User-setable variables =====================================================
|
||||
|
|
|
@ -74,21 +74,21 @@ static struct snd_pcm_channel_setup setup;
|
|||
static snd_pcm_mmap_control_t *mmap_control = NULL;
|
||||
static char *mmap_data = NULL;
|
||||
static int card = -1, dev = -1;
|
||||
int snd_blocked = 0;
|
||||
volatile dma_t sn;
|
||||
static int snd_blocked = 0;
|
||||
static volatile dma_t sn;
|
||||
|
||||
cvar_t *snd_stereo;
|
||||
cvar_t *snd_rate;
|
||||
cvar_t *snd_device;
|
||||
cvar_t *snd_bits;
|
||||
static cvar_t *snd_stereo;
|
||||
static cvar_t *snd_rate;
|
||||
static cvar_t *snd_device;
|
||||
static cvar_t *snd_bits;
|
||||
|
||||
plugin_t plugin_info;
|
||||
plugin_data_t plugin_info_data;
|
||||
plugin_funcs_t plugin_info_funcs;
|
||||
general_data_t plugin_info_general_data;
|
||||
general_funcs_t plugin_info_general_funcs;
|
||||
snd_output_data_t plugin_info_snd_output_data;
|
||||
snd_output_funcs_t plugin_info_snd_output_funcs;
|
||||
static plugin_t plugin_info;
|
||||
static plugin_data_t plugin_info_data;
|
||||
static plugin_funcs_t plugin_info_funcs;
|
||||
static general_data_t plugin_info_general_data;
|
||||
static general_funcs_t plugin_info_general_funcs;
|
||||
static snd_output_data_t plugin_info_snd_output_data;
|
||||
static snd_output_funcs_t plugin_info_snd_output_funcs;
|
||||
|
||||
static void
|
||||
SNDDMA_Init_Cvars (void)
|
||||
|
|
|
@ -64,7 +64,6 @@ static snd_output_funcs_t plugin_info_snd_output_funcs;
|
|||
void
|
||||
static SNDDMA_Init_Cvars (void)
|
||||
{
|
||||
puts("boo bee boo");
|
||||
snd_stereo = Cvar_Get ("snd_stereo", "1", CVAR_ROM, NULL,
|
||||
"sound stereo output");
|
||||
snd_rate = Cvar_Get ("snd_rate", "0", CVAR_ROM, NULL,
|
||||
|
|
Loading…
Reference in a new issue