Lines Matching refs:AudioopError

375 static PyObject *AudioopError;  variable
381 PyErr_SetString(AudioopError, "Size should be 1, 2, 3 or 4"); in audioop_check_size()
394 PyErr_SetString(AudioopError, "not a whole number of frames"); in audioop_check_parameters()
426 PyErr_SetString(AudioopError, "Index out of range"); in audioop_getsample_impl()
617 PyErr_SetString(AudioopError, "Strings should be even-sized"); in audioop_findfit_impl()
626 PyErr_SetString(AudioopError, "First sample should be longer"); in audioop_findfit_impl()
684 PyErr_SetString(AudioopError, "Strings should be even-sized"); in audioop_findfactor_impl()
688 PyErr_SetString(AudioopError, "Samples should be same size"); in audioop_findfactor_impl()
728 PyErr_SetString(AudioopError, "Strings should be even-sized"); in audioop_findmax_impl()
735 PyErr_SetString(AudioopError, "Input sample should be longer"); in audioop_findmax_impl()
967 PyErr_SetString(AudioopError, "not a whole number of frames"); in audioop_tomono_impl()
1062 PyErr_SetString(AudioopError, "Lengths should be the same"); in audioop_add_impl()
1308 PyErr_SetString(AudioopError, "# of channels should be >= 1"); in audioop_ratecv_impl()
1321 PyErr_SetString(AudioopError, in audioop_ratecv_impl()
1327 PyErr_SetString(AudioopError, "not a whole number of frames"); in audioop_ratecv_impl()
1331 PyErr_SetString(AudioopError, "sampling rate not > 0"); in audioop_ratecv_impl()
1372 PyErr_SetString(AudioopError, in audioop_ratecv_impl()
1923 AudioopError = PyErr_NewException("audioop.error", NULL, NULL); in PyInit_audioop()
1924 if (AudioopError != NULL) in PyInit_audioop()
1925 PyDict_SetItemString(d,"error",AudioopError); in PyInit_audioop()