Lines Matching refs:LinuxAudioError
77 static PyObject *LinuxAudioError; variable
104 PyErr_SetString(LinuxAudioError, "mode should be 'r' or 'w'"); in newladobject()
124 PyErr_SetFromErrnoWithFilename(LinuxAudioError, basedev); in newladobject()
128 PyErr_SetFromErrnoWithFilename(LinuxAudioError, basedev); in newladobject()
132 PyErr_SetFromErrnoWithFilename(LinuxAudioError, basedev); in newladobject()
170 PyErr_SetFromErrno(LinuxAudioError); in lad_read()
203 PyErr_SetFromErrno(LinuxAudioError); in lad_write()
215 PyErr_SetFromErrno(LinuxAudioError); in lad_write()
288 PyErr_SetFromErrno(LinuxAudioError); in lad_setparameters()
292 PyErr_SetFromErrno(LinuxAudioError); in lad_setparameters()
296 PyErr_SetFromErrno(LinuxAudioError); in lad_setparameters()
346 PyErr_SetFromErrno(LinuxAudioError); in lad_bufsize()
350 PyErr_SetFromErrno(LinuxAudioError); in lad_bufsize()
365 PyErr_SetFromErrno(LinuxAudioError); in lad_obufcount()
369 PyErr_SetFromErrno(LinuxAudioError); in lad_obufcount()
385 PyErr_SetFromErrno(LinuxAudioError); in lad_obuffree()
389 PyErr_SetFromErrno(LinuxAudioError); in lad_obuffree()
400 PyErr_SetFromErrno(LinuxAudioError); in lad_flush()
417 PyErr_SetFromErrno(LinuxAudioError); in lad_getptr()
481 LinuxAudioError = PyErr_NewException("linuxaudiodev.error", NULL, NULL); in initlinuxaudiodev()
482 if (LinuxAudioError) in initlinuxaudiodev()
483 PyModule_AddObject(m, "error", LinuxAudioError); in initlinuxaudiodev()