Lines Matching refs:OSSAudioError
68 static PyObject *OSSAudioError; variable
102 PyErr_SetString(OSSAudioError, "mode must be 'r', 'w', or 'rw'"); in newossobject()
505 (OSSAudioError, in oss_setparameters()
516 (OSSAudioError, in oss_setparameters()
527 (OSSAudioError, in oss_setparameters()
700 PyErr_SetString(OSSAudioError, "Invalid mixer channel specified."); in oss_mixer_get()
720 PyErr_SetString(OSSAudioError, "Invalid mixer channel specified."); in oss_mixer_set()
725 PyErr_SetString(OSSAudioError, "Volumes must be between 0 and 100."); in oss_mixer_set()
950 OSSAudioError = PyErr_NewException("ossaudiodev.OSSAudioError", in initossaudiodev()
952 if (OSSAudioError) { in initossaudiodev()
954 Py_INCREF(OSSAudioError); in initossaudiodev()
955 Py_INCREF(OSSAudioError); in initossaudiodev()
956 PyModule_AddObject(m, "error", OSSAudioError); in initossaudiodev()
957 PyModule_AddObject(m, "OSSAudioError", OSSAudioError); in initossaudiodev()