"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "usr/lib/oss/build/vmix.c" of archive oss-linux-v4.0-1016-x86_64.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2  * Automatically generated file - do not edit.
    3  */
    4 #define DRIVER_NAME	vmix
    5 #define DRIVER_NICK	"vmix"
    6 #define DRIVER_STR_INFO	vmix_str_info
    7 #define DRIVER_ATTACH	vmix_attach
    8 #define DRIVER_DETACH	vmix_detach
    9 #define DRIVER_TYPE	DRV_VMIX
   10 
   11 int vmix_instances=8;
   12 /*
   13  * vmix_instances: Number of instances created by the vmix driver. Each
   14  * instance will drive a physical device (or a input/output device pair).
   15  */
   16 int vmix_multich_enable=0;
   17 /*
   18  * vmix_multich_enable: By default the virtual mixer engines don't support
   19  * more than two channels (stereo) and 16 bits of resolution. This is necessary
   20  * to decrease CPU usage in typical systems that don't have anything better
   21  * that cheap stereo speakers/headphones.
   22  *
   23  * To enable support for multiple channels and 24/32 bit sample format you need
   24  * to change vmix_multich_enable to 1. The drawback is that in this mode the
   25  * system load caused by vmix is significantly higher.
   26  */
   27 int vmix_disable=0;
   28 /*
   29  * The vmix_disable option can be set to 1 to disable virtual mixing for all
   30  * devices.
   31  */
   32 
   33 int vmix1_masterdev=-1;
   34 int vmix1_numoutputs=8;
   35 int vmix1_numloops=0;
   36 int vmix1_inputdev=-1;
   37 int vmix1_rate=48000;
   38 
   39 int vmix2_masterdev=-1;
   40 int vmix2_numoutputs=8;
   41 int vmix2_numloops=0;
   42 int vmix2_inputdev=-1;
   43 int vmix2_rate=48000;
   44 
   45 int vmix3_masterdev=-1;
   46 int vmix3_numoutputs=8;
   47 int vmix3_numloops=0;
   48 int vmix3_inputdev=-1;
   49 int vmix3_rate=48000;
   50 
   51 int vmix4_masterdev=-1;
   52 int vmix4_numoutputs=8;
   53 int vmix4_numloops=0;
   54 int vmix4_inputdev=-1;
   55 int vmix4_rate=48000;
   56 
   57 int vmix5_masterdev=-1;
   58 int vmix5_numoutputs=8;
   59 int vmix5_numloops=0;
   60 int vmix5_inputdev=-1;
   61 int vmix5_rate=48000;
   62 
   63 int vmix6_masterdev=-1;
   64 int vmix6_numoutputs=8;
   65 int vmix6_numloops=0;
   66 int vmix6_inputdev=-1;
   67 int vmix6_rate=48000;
   68 
   69 int vmix7_masterdev=-1;
   70 int vmix7_numoutputs=8;
   71 int vmix7_numloops=0;
   72 int vmix7_inputdev=-1;
   73 int vmix7_rate=48000;
   74 
   75 int vmix8_masterdev=-1;
   76 int vmix8_numoutputs=8;
   77 int vmix8_numloops=0;
   78 int vmix8_inputdev=-1;
   79 int vmix8_rate=48000;
   80 #include "module.inc"
   81 
   82 module_param(vmix_instances, int, S_IRUGO);
   83 MODULE_PARM_DESC(vmix_instances,
   84 "\n"
   85 "vmix_instances: Number of instances created by the vmix driver. Each\n"
   86 "instance will drive a physical device (or a input/output device pair).\n"
   87 "\n");
   88 module_param(vmix_multich_enable, int, S_IRUGO);
   89 MODULE_PARM_DESC(vmix_multich_enable,
   90 "\n"
   91 "vmix_multich_enable: By default the virtual mixer engines don't support\n"
   92 "more than two channels (stereo) and 16 bits of resolution. This is necessary\n"
   93 "to decrease CPU usage in typical systems that don't have anything better\n"
   94 "that cheap stereo speakers/headphones.\n"
   95 "\n"
   96 "To enable support for multiple channels and 24/32 bit sample format you need\n"
   97 "to change vmix_multich_enable to 1. The drawback is that in this mode the \n"
   98 "system load caused by vmix is significantly higher.\n"
   99 "\n");
  100 module_param(vmix_disable, int, S_IRUGO);
  101 MODULE_PARM_DESC(vmix_disable,
  102 "\n"
  103 "The vmix_disable option can be set to 1 to disable virtual mixing for all\n"
  104 "devices.\n"
  105 "\n"
  106 "\n");
  107 module_param(vmix1_masterdev, int, S_IRUGO);
  108 module_param(vmix1_numoutputs, int, S_IRUGO);
  109 module_param(vmix1_numloops, int, S_IRUGO);
  110 module_param(vmix1_inputdev, int, S_IRUGO);
  111 module_param(vmix1_rate, int, S_IRUGO);
  112 MODULE_PARM_DESC(vmix1_rate,
  113 "\n");
  114 module_param(vmix2_masterdev, int, S_IRUGO);
  115 module_param(vmix2_numoutputs, int, S_IRUGO);
  116 module_param(vmix2_numloops, int, S_IRUGO);
  117 module_param(vmix2_inputdev, int, S_IRUGO);
  118 module_param(vmix2_rate, int, S_IRUGO);
  119 MODULE_PARM_DESC(vmix2_rate,
  120 "\n");
  121 module_param(vmix3_masterdev, int, S_IRUGO);
  122 module_param(vmix3_numoutputs, int, S_IRUGO);
  123 module_param(vmix3_numloops, int, S_IRUGO);
  124 module_param(vmix3_inputdev, int, S_IRUGO);
  125 module_param(vmix3_rate, int, S_IRUGO);
  126 MODULE_PARM_DESC(vmix3_rate,
  127 "\n");
  128 module_param(vmix4_masterdev, int, S_IRUGO);
  129 module_param(vmix4_numoutputs, int, S_IRUGO);
  130 module_param(vmix4_numloops, int, S_IRUGO);
  131 module_param(vmix4_inputdev, int, S_IRUGO);
  132 module_param(vmix4_rate, int, S_IRUGO);
  133 MODULE_PARM_DESC(vmix4_rate,
  134 "\n");
  135 module_param(vmix5_masterdev, int, S_IRUGO);
  136 module_param(vmix5_numoutputs, int, S_IRUGO);
  137 module_param(vmix5_numloops, int, S_IRUGO);
  138 module_param(vmix5_inputdev, int, S_IRUGO);
  139 module_param(vmix5_rate, int, S_IRUGO);
  140 MODULE_PARM_DESC(vmix5_rate,
  141 "\n");
  142 module_param(vmix6_masterdev, int, S_IRUGO);
  143 module_param(vmix6_numoutputs, int, S_IRUGO);
  144 module_param(vmix6_numloops, int, S_IRUGO);
  145 module_param(vmix6_inputdev, int, S_IRUGO);
  146 module_param(vmix6_rate, int, S_IRUGO);
  147 MODULE_PARM_DESC(vmix6_rate,
  148 "\n");
  149 module_param(vmix7_masterdev, int, S_IRUGO);
  150 module_param(vmix7_numoutputs, int, S_IRUGO);
  151 module_param(vmix7_numloops, int, S_IRUGO);
  152 module_param(vmix7_inputdev, int, S_IRUGO);
  153 module_param(vmix7_rate, int, S_IRUGO);
  154 MODULE_PARM_DESC(vmix7_rate,
  155 "\n");
  156 module_param(vmix8_masterdev, int, S_IRUGO);
  157 module_param(vmix8_numoutputs, int, S_IRUGO);
  158 module_param(vmix8_numloops, int, S_IRUGO);
  159 module_param(vmix8_inputdev, int, S_IRUGO);
  160 module_param(vmix8_rate, int, S_IRUGO);
  161 
  162