📄 almodule.c
字号:
Py_DECREF(x);
#endif
#ifdef AL_ASSOCIATE
x = PyInt_FromLong((long) AL_ASSOCIATE);
if (x == NULL || PyDict_SetItemString(d, "ASSOCIATE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_BUFFER_NULL
x = PyInt_FromLong((long) AL_BAD_BUFFER_NULL);
if (x == NULL || PyDict_SetItemString(d, "BAD_BUFFER_NULL", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_BUFFERLENGTH
x = PyInt_FromLong((long) AL_BAD_BUFFERLENGTH);
if (x == NULL || PyDict_SetItemString(d, "BAD_BUFFERLENGTH", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_BUFFERLENGTH_NEG
x = PyInt_FromLong((long) AL_BAD_BUFFERLENGTH_NEG);
if (x == NULL || PyDict_SetItemString(d, "BAD_BUFFERLENGTH_NEG", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_BUFFERLENGTH_ODD
x = PyInt_FromLong((long) AL_BAD_BUFFERLENGTH_ODD);
if (x == NULL || PyDict_SetItemString(d, "BAD_BUFFERLENGTH_ODD", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_CHANNELS
x = PyInt_FromLong((long) AL_BAD_CHANNELS);
if (x == NULL || PyDict_SetItemString(d, "BAD_CHANNELS", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_CONFIG
x = PyInt_FromLong((long) AL_BAD_CONFIG);
if (x == NULL || PyDict_SetItemString(d, "BAD_CONFIG", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_COUNT_NEG
x = PyInt_FromLong((long) AL_BAD_COUNT_NEG);
if (x == NULL || PyDict_SetItemString(d, "BAD_COUNT_NEG", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_DEVICE
x = PyInt_FromLong((long) AL_BAD_DEVICE);
if (x == NULL || PyDict_SetItemString(d, "BAD_DEVICE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_DEVICE_ACCESS
x = PyInt_FromLong((long) AL_BAD_DEVICE_ACCESS);
if (x == NULL || PyDict_SetItemString(d, "BAD_DEVICE_ACCESS", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_DIRECTION
x = PyInt_FromLong((long) AL_BAD_DIRECTION);
if (x == NULL || PyDict_SetItemString(d, "BAD_DIRECTION", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_FILLPOINT
x = PyInt_FromLong((long) AL_BAD_FILLPOINT);
if (x == NULL || PyDict_SetItemString(d, "BAD_FILLPOINT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_FLOATMAX
x = PyInt_FromLong((long) AL_BAD_FLOATMAX);
if (x == NULL || PyDict_SetItemString(d, "BAD_FLOATMAX", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_ILLEGAL_STATE
x = PyInt_FromLong((long) AL_BAD_ILLEGAL_STATE);
if (x == NULL || PyDict_SetItemString(d, "BAD_ILLEGAL_STATE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_NO_PORTS
x = PyInt_FromLong((long) AL_BAD_NO_PORTS);
if (x == NULL || PyDict_SetItemString(d, "BAD_NO_PORTS", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_NOT_FOUND
x = PyInt_FromLong((long) AL_BAD_NOT_FOUND);
if (x == NULL || PyDict_SetItemString(d, "BAD_NOT_FOUND", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_NOT_IMPLEMENTED
x = PyInt_FromLong((long) AL_BAD_NOT_IMPLEMENTED);
if (x == NULL || PyDict_SetItemString(d, "BAD_NOT_IMPLEMENTED", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_OUT_OF_MEM
x = PyInt_FromLong((long) AL_BAD_OUT_OF_MEM);
if (x == NULL || PyDict_SetItemString(d, "BAD_OUT_OF_MEM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_PARAM
x = PyInt_FromLong((long) AL_BAD_PARAM);
if (x == NULL || PyDict_SetItemString(d, "BAD_PARAM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_PERMISSIONS
x = PyInt_FromLong((long) AL_BAD_PERMISSIONS);
if (x == NULL || PyDict_SetItemString(d, "BAD_PERMISSIONS", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_PORT
x = PyInt_FromLong((long) AL_BAD_PORT);
if (x == NULL || PyDict_SetItemString(d, "BAD_PORT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_PORTSTYLE
x = PyInt_FromLong((long) AL_BAD_PORTSTYLE);
if (x == NULL || PyDict_SetItemString(d, "BAD_PORTSTYLE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_PVBUFFER
x = PyInt_FromLong((long) AL_BAD_PVBUFFER);
if (x == NULL || PyDict_SetItemString(d, "BAD_PVBUFFER", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_QSIZE
x = PyInt_FromLong((long) AL_BAD_QSIZE);
if (x == NULL || PyDict_SetItemString(d, "BAD_QSIZE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_RATE
x = PyInt_FromLong((long) AL_BAD_RATE);
if (x == NULL || PyDict_SetItemString(d, "BAD_RATE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_RESOURCE
x = PyInt_FromLong((long) AL_BAD_RESOURCE);
if (x == NULL || PyDict_SetItemString(d, "BAD_RESOURCE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_SAMPFMT
x = PyInt_FromLong((long) AL_BAD_SAMPFMT);
if (x == NULL || PyDict_SetItemString(d, "BAD_SAMPFMT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_TRANSFER_SIZE
x = PyInt_FromLong((long) AL_BAD_TRANSFER_SIZE);
if (x == NULL || PyDict_SetItemString(d, "BAD_TRANSFER_SIZE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_BAD_WIDTH
x = PyInt_FromLong((long) AL_BAD_WIDTH);
if (x == NULL || PyDict_SetItemString(d, "BAD_WIDTH", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CHANNEL_MODE
x = PyInt_FromLong((long) AL_CHANNEL_MODE);
if (x == NULL || PyDict_SetItemString(d, "CHANNEL_MODE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CHANNELS
x = PyInt_FromLong((long) AL_CHANNELS);
if (x == NULL || PyDict_SetItemString(d, "CHANNELS", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CHAR_ELEM
x = PyInt_FromLong((long) AL_CHAR_ELEM);
if (x == NULL || PyDict_SetItemString(d, "CHAR_ELEM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CLOCK_GEN
x = PyInt_FromLong((long) AL_CLOCK_GEN);
if (x == NULL || PyDict_SetItemString(d, "CLOCK_GEN", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CLOCKGEN_TYPE
x = PyInt_FromLong((long) AL_CLOCKGEN_TYPE);
if (x == NULL || PyDict_SetItemString(d, "CLOCKGEN_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CONNECT
x = PyInt_FromLong((long) AL_CONNECT);
if (x == NULL || PyDict_SetItemString(d, "CONNECT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CONNECTION_TYPE
x = PyInt_FromLong((long) AL_CONNECTION_TYPE);
if (x == NULL || PyDict_SetItemString(d, "CONNECTION_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CONNECTIONS
x = PyInt_FromLong((long) AL_CONNECTIONS);
if (x == NULL || PyDict_SetItemString(d, "CONNECTIONS", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_CRYSTAL_MCLK_TYPE
x = PyInt_FromLong((long) AL_CRYSTAL_MCLK_TYPE);
if (x == NULL || PyDict_SetItemString(d, "CRYSTAL_MCLK_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DEFAULT_DEVICE
x = PyInt_FromLong((long) AL_DEFAULT_DEVICE);
if (x == NULL || PyDict_SetItemString(d, "DEFAULT_DEVICE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DEFAULT_INPUT
x = PyInt_FromLong((long) AL_DEFAULT_INPUT);
if (x == NULL || PyDict_SetItemString(d, "DEFAULT_INPUT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DEFAULT_OUTPUT
x = PyInt_FromLong((long) AL_DEFAULT_OUTPUT);
if (x == NULL || PyDict_SetItemString(d, "DEFAULT_OUTPUT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DEST
x = PyInt_FromLong((long) AL_DEST);
if (x == NULL || PyDict_SetItemString(d, "DEST", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DEVICE_TYPE
x = PyInt_FromLong((long) AL_DEVICE_TYPE);
if (x == NULL || PyDict_SetItemString(d, "DEVICE_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DEVICES
x = PyInt_FromLong((long) AL_DEVICES);
if (x == NULL || PyDict_SetItemString(d, "DEVICES", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DIGITAL_IF_TYPE
x = PyInt_FromLong((long) AL_DIGITAL_IF_TYPE);
if (x == NULL || PyDict_SetItemString(d, "DIGITAL_IF_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DIGITAL_INPUT_RATE
x = PyInt_FromLong((long) AL_DIGITAL_INPUT_RATE);
if (x == NULL || PyDict_SetItemString(d, "DIGITAL_INPUT_RATE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_DISCONNECT
x = PyInt_FromLong((long) AL_DISCONNECT);
if (x == NULL || PyDict_SetItemString(d, "DISCONNECT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ENUM_ELEM
x = PyInt_FromLong((long) AL_ENUM_ELEM);
if (x == NULL || PyDict_SetItemString(d, "ENUM_ELEM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ENUM_VALUE
x = PyInt_FromLong((long) AL_ENUM_VALUE);
if (x == NULL || PyDict_SetItemString(d, "ENUM_VALUE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ERROR_INPUT_OVERFLOW
x = PyInt_FromLong((long) AL_ERROR_INPUT_OVERFLOW);
if (x == NULL || PyDict_SetItemString(d, "ERROR_INPUT_OVERFLOW", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ERROR_LENGTH
x = PyInt_FromLong((long) AL_ERROR_LENGTH);
if (x == NULL || PyDict_SetItemString(d, "ERROR_LENGTH", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ERROR_LOCATION_LSP
x = PyInt_FromLong((long) AL_ERROR_LOCATION_LSP);
if (x == NULL || PyDict_SetItemString(d, "ERROR_LOCATION_LSP", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ERROR_LOCATION_MSP
x = PyInt_FromLong((long) AL_ERROR_LOCATION_MSP);
if (x == NULL || PyDict_SetItemString(d, "ERROR_LOCATION_MSP", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ERROR_NUMBER
x = PyInt_FromLong((long) AL_ERROR_NUMBER);
if (x == NULL || PyDict_SetItemString(d, "ERROR_NUMBER", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ERROR_OUTPUT_UNDERFLOW
x = PyInt_FromLong((long) AL_ERROR_OUTPUT_UNDERFLOW);
if (x == NULL || PyDict_SetItemString(d, "ERROR_OUTPUT_UNDERFLOW", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_ERROR_TYPE
x = PyInt_FromLong((long) AL_ERROR_TYPE);
if (x == NULL || PyDict_SetItemString(d, "ERROR_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_FIXED_ELEM
x = PyInt_FromLong((long) AL_FIXED_ELEM);
if (x == NULL || PyDict_SetItemString(d, "FIXED_ELEM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_FIXED_MCLK_TYPE
x = PyInt_FromLong((long) AL_FIXED_MCLK_TYPE);
if (x == NULL || PyDict_SetItemString(d, "FIXED_MCLK_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_GAIN
x = PyInt_FromLong((long) AL_GAIN);
if (x == NULL || PyDict_SetItemString(d, "GAIN", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_GAIN_REF
x = PyInt_FromLong((long) AL_GAIN_REF);
if (x == NULL || PyDict_SetItemString(d, "GAIN_REF", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_HRB_TYPE
x = PyInt_FromLong((long) AL_HRB_TYPE);
if (x == NULL || PyDict_SetItemString(d, "HRB_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_COUNT
x = PyInt_FromLong((long) AL_INPUT_COUNT);
if (x == NULL || PyDict_SetItemString(d, "INPUT_COUNT", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_DEVICE_TYPE
x = PyInt_FromLong((long) AL_INPUT_DEVICE_TYPE);
if (x == NULL || PyDict_SetItemString(d, "INPUT_DEVICE_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_DIGITAL
x = PyInt_FromLong((long) AL_INPUT_DIGITAL);
if (x == NULL || PyDict_SetItemString(d, "INPUT_DIGITAL", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_HRB_TYPE
x = PyInt_FromLong((long) AL_INPUT_HRB_TYPE);
if (x == NULL || PyDict_SetItemString(d, "INPUT_HRB_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_LINE
x = PyInt_FromLong((long) AL_INPUT_LINE);
if (x == NULL || PyDict_SetItemString(d, "INPUT_LINE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_MIC
x = PyInt_FromLong((long) AL_INPUT_MIC);
if (x == NULL || PyDict_SetItemString(d, "INPUT_MIC", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_PORT_TYPE
x = PyInt_FromLong((long) AL_INPUT_PORT_TYPE);
if (x == NULL || PyDict_SetItemString(d, "INPUT_PORT_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_RATE
x = PyInt_FromLong((long) AL_INPUT_RATE);
if (x == NULL || PyDict_SetItemString(d, "INPUT_RATE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INPUT_SOURCE
x = PyInt_FromLong((long) AL_INPUT_SOURCE);
if (x == NULL || PyDict_SetItemString(d, "INPUT_SOURCE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INT32_ELEM
x = PyInt_FromLong((long) AL_INT32_ELEM);
if (x == NULL || PyDict_SetItemString(d, "INT32_ELEM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INT64_ELEM
x = PyInt_FromLong((long) AL_INT64_ELEM);
if (x == NULL || PyDict_SetItemString(d, "INT64_ELEM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INTERFACE
x = PyInt_FromLong((long) AL_INTERFACE);
if (x == NULL || PyDict_SetItemString(d, "INTERFACE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INTERFACE_TYPE
x = PyInt_FromLong((long) AL_INTERFACE_TYPE);
if (x == NULL || PyDict_SetItemString(d, "INTERFACE_TYPE", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INVALID_PARAM
x = PyInt_FromLong((long) AL_INVALID_PARAM);
if (x == NULL || PyDict_SetItemString(d, "INVALID_PARAM", x) < 0)
goto error;
Py_DECREF(x);
#endif
#ifdef AL_INVALID_VALUE
x = PyInt_FromLong((long) AL_INVALID_VALUE);
if (x == NULL || PyDict_SetItemString(d, "INVALID_VALUE", x) < 0)
goto error;
Py_DECREF(x);
#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_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
#ifde
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -