Skip to content

Commit

Permalink
[unix] Accept more "default" modules (queried by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
krono committed Sep 11, 2020
1 parent 85b7ade commit b38617d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions platforms/unix/vm/sqUnixMain.c
Expand Up @@ -1166,25 +1166,25 @@ struct moduleDescription

static struct moduleDescription moduleDescriptions[]=
{
{ &displayModule, "display", "X11" }, /*** NO DEFAULT ***/
{ &displayModule, "display", "fbdev" }, /*** NO DEFAULT ***/
{ &displayModule, "display", "null" }, /*** NO DEFAULT ***/
{ &displayModule, "display", "X11" }, /*** Implicit ***/
{ &displayModule, "display", "custom" }, /*** NO DEFAULT ***/
{ &soundModule, "sound", "NAS" }, /*** NO DEFAULT ***/
{ &soundModule, "sound", "NAS" }, /*** Implicit ***/
{ &soundModule, "sound", "custom" }, /*** NO DEFAULT ***/
{ &soundModule, "sound", "sndio" }, /*** NO DEFAULT ***/
/* when adding an entry above be sure to change the defaultModules offset below */
{ &displayModule, "display", "Quartz" }, /* defaults... */
{ &displayModule, "display", "fbdev" },
{ &displayModule, "display", "null" },
{ &soundModule, "sound", "pulse" },
{ &soundModule, "sound", "OSS" },
{ &soundModule, "sound", "MacOSX" },
{ &soundModule, "sound", "Sun" },
{ &soundModule, "sound", "pulse" },
{ &soundModule, "sound", "ALSA" },
{ &soundModule, "sound", "sndio" },
{ &soundModule, "sound", "null" },
{ 0, 0, 0 }
};

static struct moduleDescription *defaultModules= moduleDescriptions + 7;
static struct moduleDescription *defaultModules= moduleDescriptions + 4;


struct SqModule *queryLoadModule(char *type, char *name, int query)
Expand Down

0 comments on commit b38617d

Please sign in to comment.