cinap_lenrekadd hg and python4bb9e2215 years agoHistory
3226 lines · 79.7 KB · C
RawDownload
#endif#ifdef AL_JITTER	x =  PyInt_FromLong((long) AL_JITTER);	if (x == NULL || PyDict_SetItemString(d, "JITTER", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LABEL	x =  PyInt_FromLong((long) AL_LABEL);	if (x == NULL || PyDict_SetItemString(d, "LABEL", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LEFT_INPUT_ATTEN	x =  PyInt_FromLong((long) AL_LEFT_INPUT_ATTEN);	if (x == NULL || PyDict_SetItemString(d, "LEFT_INPUT_ATTEN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LEFT_MONITOR_ATTEN	x =  PyInt_FromLong((long) AL_LEFT_MONITOR_ATTEN);	if (x == NULL || PyDict_SetItemString(d, "LEFT_MONITOR_ATTEN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LEFT_SPEAKER_GAIN	x =  PyInt_FromLong((long) AL_LEFT_SPEAKER_GAIN);	if (x == NULL || PyDict_SetItemString(d, "LEFT_SPEAKER_GAIN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LEFT1_INPUT_ATTEN	x =  PyInt_FromLong((long) AL_LEFT1_INPUT_ATTEN);	if (x == NULL || PyDict_SetItemString(d, "LEFT1_INPUT_ATTEN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LEFT2_INPUT_ATTEN	x =  PyInt_FromLong((long) AL_LEFT2_INPUT_ATTEN);	if (x == NULL || PyDict_SetItemString(d, "LEFT2_INPUT_ATTEN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LINE_IF_TYPE	x =  PyInt_FromLong((long) AL_LINE_IF_TYPE);	if (x == NULL || PyDict_SetItemString(d, "LINE_IF_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_LOCKED	x =  PyInt_FromLong((long) AL_LOCKED);	if (x == NULL || PyDict_SetItemString(d, "LOCKED", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MASTER_CLOCK	x =  PyInt_FromLong((long) AL_MASTER_CLOCK);	if (x == NULL || PyDict_SetItemString(d, "MASTER_CLOCK", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MATRIX_VAL	x =  PyInt_FromLong((long) AL_MATRIX_VAL);	if (x == NULL || PyDict_SetItemString(d, "MATRIX_VAL", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MAX_ERROR	x =  PyInt_FromLong((long) AL_MAX_ERROR);	if (x == NULL || PyDict_SetItemString(d, "MAX_ERROR", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MAX_EVENT_PARAM	x =  PyInt_FromLong((long) AL_MAX_EVENT_PARAM);	if (x == NULL || PyDict_SetItemString(d, "MAX_EVENT_PARAM", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MAX_PBUFSIZE	x =  PyInt_FromLong((long) AL_MAX_PBUFSIZE);	if (x == NULL || PyDict_SetItemString(d, "MAX_PBUFSIZE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MAX_PORTS	x =  PyInt_FromLong((long) AL_MAX_PORTS);	if (x == NULL || PyDict_SetItemString(d, "MAX_PORTS", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MAX_RESOURCE_ID	x =  PyInt_FromLong((long) AL_MAX_RESOURCE_ID);	if (x == NULL || PyDict_SetItemString(d, "MAX_RESOURCE_ID", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MAX_SETSIZE	x =  PyInt_FromLong((long) AL_MAX_SETSIZE);	if (x == NULL || PyDict_SetItemString(d, "MAX_SETSIZE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MAX_STRLEN	x =  PyInt_FromLong((long) AL_MAX_STRLEN);	if (x == NULL || PyDict_SetItemString(d, "MAX_STRLEN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MCLK_TYPE	x =  PyInt_FromLong((long) AL_MCLK_TYPE);	if (x == NULL || PyDict_SetItemString(d, "MCLK_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MIC_IF_TYPE	x =  PyInt_FromLong((long) AL_MIC_IF_TYPE);	if (x == NULL || PyDict_SetItemString(d, "MIC_IF_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MONITOR_CTL	x =  PyInt_FromLong((long) AL_MONITOR_CTL);	if (x == NULL || PyDict_SetItemString(d, "MONITOR_CTL", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MONITOR_OFF	x =  PyInt_FromLong((long) AL_MONITOR_OFF);	if (x == NULL || PyDict_SetItemString(d, "MONITOR_OFF", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MONITOR_ON	x =  PyInt_FromLong((long) AL_MONITOR_ON);	if (x == NULL || PyDict_SetItemString(d, "MONITOR_ON", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MONO	x =  PyInt_FromLong((long) AL_MONO);	if (x == NULL || PyDict_SetItemString(d, "MONO", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_MUTE	x =  PyInt_FromLong((long) AL_MUTE);	if (x == NULL || PyDict_SetItemString(d, "MUTE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NAME	x =  PyInt_FromLong((long) AL_NAME);	if (x == NULL || PyDict_SetItemString(d, "NAME", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NEG_INFINITY	x =  PyInt_FromLong((long) AL_NEG_INFINITY);	if (x == NULL || PyDict_SetItemString(d, "NEG_INFINITY", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NEG_INFINITY_BIT	x =  PyInt_FromLong((long) AL_NEG_INFINITY_BIT);	if (x == NULL || PyDict_SetItemString(d, "NEG_INFINITY_BIT", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NO_CHANGE	x =  PyInt_FromLong((long) AL_NO_CHANGE);	if (x == NULL || PyDict_SetItemString(d, "NO_CHANGE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NO_CHANGE_BIT	x =  PyInt_FromLong((long) AL_NO_CHANGE_BIT);	if (x == NULL || PyDict_SetItemString(d, "NO_CHANGE_BIT", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NO_ELEM	x =  PyInt_FromLong((long) AL_NO_ELEM);	if (x == NULL || PyDict_SetItemString(d, "NO_ELEM", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NO_ERRORS	x =  PyInt_FromLong((long) AL_NO_ERRORS);	if (x == NULL || PyDict_SetItemString(d, "NO_ERRORS", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NO_OP	x =  PyInt_FromLong((long) AL_NO_OP);	if (x == NULL || PyDict_SetItemString(d, "NO_OP", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NO_VAL	x =  PyInt_FromLong((long) AL_NO_VAL);	if (x == NULL || PyDict_SetItemString(d, "NO_VAL", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NULL_INTERFACE	x =  PyInt_FromLong((long) AL_NULL_INTERFACE);	if (x == NULL || PyDict_SetItemString(d, "NULL_INTERFACE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_NULL_RESOURCE	x =  PyInt_FromLong((long) AL_NULL_RESOURCE);	if (x == NULL || PyDict_SetItemString(d, "NULL_RESOURCE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_OPTICAL_IF_TYPE	x =  PyInt_FromLong((long) AL_OPTICAL_IF_TYPE);	if (x == NULL || PyDict_SetItemString(d, "OPTICAL_IF_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_OUTPUT_COUNT	x =  PyInt_FromLong((long) AL_OUTPUT_COUNT);	if (x == NULL || PyDict_SetItemString(d, "OUTPUT_COUNT", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_OUTPUT_DEVICE_TYPE	x =  PyInt_FromLong((long) AL_OUTPUT_DEVICE_TYPE);	if (x == NULL || PyDict_SetItemString(d, "OUTPUT_DEVICE_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_OUTPUT_HRB_TYPE	x =  PyInt_FromLong((long) AL_OUTPUT_HRB_TYPE);	if (x == NULL || PyDict_SetItemString(d, "OUTPUT_HRB_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_OUTPUT_PORT_TYPE	x =  PyInt_FromLong((long) AL_OUTPUT_PORT_TYPE);	if (x == NULL || PyDict_SetItemString(d, "OUTPUT_PORT_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_OUTPUT_RATE	x =  PyInt_FromLong((long) AL_OUTPUT_RATE);	if (x == NULL || PyDict_SetItemString(d, "OUTPUT_RATE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PARAM_BIT	x =  PyInt_FromLong((long) AL_PARAM_BIT);	if (x == NULL || PyDict_SetItemString(d, "PARAM_BIT", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PARAMS	x =  PyInt_FromLong((long) AL_PARAMS);	if (x == NULL || PyDict_SetItemString(d, "PARAMS", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PORT_COUNT	x =  PyInt_FromLong((long) AL_PORT_COUNT);	if (x == NULL || PyDict_SetItemString(d, "PORT_COUNT", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PORT_TYPE	x =  PyInt_FromLong((long) AL_PORT_TYPE);	if (x == NULL || PyDict_SetItemString(d, "PORT_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PORTS	x =  PyInt_FromLong((long) AL_PORTS);	if (x == NULL || PyDict_SetItemString(d, "PORTS", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PORTSTYLE_DIRECT	x =  PyInt_FromLong((long) AL_PORTSTYLE_DIRECT);	if (x == NULL || PyDict_SetItemString(d, "PORTSTYLE_DIRECT", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PORTSTYLE_SERIAL	x =  PyInt_FromLong((long) AL_PORTSTYLE_SERIAL);	if (x == NULL || PyDict_SetItemString(d, "PORTSTYLE_SERIAL", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PRINT_ERRORS	x =  PyInt_FromLong((long) AL_PRINT_ERRORS);	if (x == NULL || PyDict_SetItemString(d, "PRINT_ERRORS", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_PTR_ELEM	x =  PyInt_FromLong((long) AL_PTR_ELEM);	if (x == NULL || PyDict_SetItemString(d, "PTR_ELEM", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RANGE_VALUE	x =  PyInt_FromLong((long) AL_RANGE_VALUE);	if (x == NULL || PyDict_SetItemString(d, "RANGE_VALUE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE	x =  PyInt_FromLong((long) AL_RATE);	if (x == NULL || PyDict_SetItemString(d, "RATE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_11025	x =  PyInt_FromLong((long) AL_RATE_11025);	if (x == NULL || PyDict_SetItemString(d, "RATE_11025", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_16000	x =  PyInt_FromLong((long) AL_RATE_16000);	if (x == NULL || PyDict_SetItemString(d, "RATE_16000", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_22050	x =  PyInt_FromLong((long) AL_RATE_22050);	if (x == NULL || PyDict_SetItemString(d, "RATE_22050", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_32000	x =  PyInt_FromLong((long) AL_RATE_32000);	if (x == NULL || PyDict_SetItemString(d, "RATE_32000", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_44100	x =  PyInt_FromLong((long) AL_RATE_44100);	if (x == NULL || PyDict_SetItemString(d, "RATE_44100", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_48000	x =  PyInt_FromLong((long) AL_RATE_48000);	if (x == NULL || PyDict_SetItemString(d, "RATE_48000", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_8000	x =  PyInt_FromLong((long) AL_RATE_8000);	if (x == NULL || PyDict_SetItemString(d, "RATE_8000", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_AES_1	x =  PyInt_FromLong((long) AL_RATE_AES_1);	if (x == NULL || PyDict_SetItemString(d, "RATE_AES_1", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_AES_1s	x =  PyInt_FromLong((long) AL_RATE_AES_1s);	if (x == NULL || PyDict_SetItemString(d, "RATE_AES_1s", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_AES_2	x =  PyInt_FromLong((long) AL_RATE_AES_2);	if (x == NULL || PyDict_SetItemString(d, "RATE_AES_2", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_AES_3	x =  PyInt_FromLong((long) AL_RATE_AES_3);	if (x == NULL || PyDict_SetItemString(d, "RATE_AES_3", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_AES_4	x =  PyInt_FromLong((long) AL_RATE_AES_4);	if (x == NULL || PyDict_SetItemString(d, "RATE_AES_4", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_AES_6	x =  PyInt_FromLong((long) AL_RATE_AES_6);	if (x == NULL || PyDict_SetItemString(d, "RATE_AES_6", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_FRACTION_D	x =  PyInt_FromLong((long) AL_RATE_FRACTION_D);	if (x == NULL || PyDict_SetItemString(d, "RATE_FRACTION_D", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_FRACTION_N	x =  PyInt_FromLong((long) AL_RATE_FRACTION_N);	if (x == NULL || PyDict_SetItemString(d, "RATE_FRACTION_N", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_INPUTRATE	x =  PyInt_FromLong((long) AL_RATE_INPUTRATE);	if (x == NULL || PyDict_SetItemString(d, "RATE_INPUTRATE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_NO_DIGITAL_INPUT	x =  PyInt_FromLong((long) AL_RATE_NO_DIGITAL_INPUT);	if (x == NULL || PyDict_SetItemString(d, "RATE_NO_DIGITAL_INPUT", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_UNACQUIRED	x =  PyInt_FromLong((long) AL_RATE_UNACQUIRED);	if (x == NULL || PyDict_SetItemString(d, "RATE_UNACQUIRED", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RATE_UNDEFINED	x =  PyInt_FromLong((long) AL_RATE_UNDEFINED);	if (x == NULL || PyDict_SetItemString(d, "RATE_UNDEFINED", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_REF_0DBV	x =  PyInt_FromLong((long) AL_REF_0DBV);	if (x == NULL || PyDict_SetItemString(d, "REF_0DBV", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_REF_NONE	x =  PyInt_FromLong((long) AL_REF_NONE);	if (x == NULL || PyDict_SetItemString(d, "REF_NONE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RESERVED1_TYPE	x =  PyInt_FromLong((long) AL_RESERVED1_TYPE);	if (x == NULL || PyDict_SetItemString(d, "RESERVED1_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RESERVED2_TYPE	x =  PyInt_FromLong((long) AL_RESERVED2_TYPE);	if (x == NULL || PyDict_SetItemString(d, "RESERVED2_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RESERVED3_TYPE	x =  PyInt_FromLong((long) AL_RESERVED3_TYPE);	if (x == NULL || PyDict_SetItemString(d, "RESERVED3_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RESERVED4_TYPE	x =  PyInt_FromLong((long) AL_RESERVED4_TYPE);	if (x == NULL || PyDict_SetItemString(d, "RESERVED4_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RESOURCE	x =  PyInt_FromLong((long) AL_RESOURCE);	if (x == NULL || PyDict_SetItemString(d, "RESOURCE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RESOURCE_ELEM	x =  PyInt_FromLong((long) AL_RESOURCE_ELEM);	if (x == NULL || PyDict_SetItemString(d, "RESOURCE_ELEM", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RESOURCE_TYPE	x =  PyInt_FromLong((long) AL_RESOURCE_TYPE);	if (x == NULL || PyDict_SetItemString(d, "RESOURCE_TYPE", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RIGHT_INPUT_ATTEN	x =  PyInt_FromLong((long) AL_RIGHT_INPUT_ATTEN);	if (x == NULL || PyDict_SetItemString(d, "RIGHT_INPUT_ATTEN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RIGHT_MONITOR_ATTEN	x =  PyInt_FromLong((long) AL_RIGHT_MONITOR_ATTEN);	if (x == NULL || PyDict_SetItemString(d, "RIGHT_MONITOR_ATTEN", x) < 0)		goto error;	Py_DECREF(x);#endif#ifdef AL_RIGHT_SPEAKER_GAIN

Lines 2501–3000 of 3226. Previous lines