1 /* 2 SuperCollider real time audio synthesis system 3 Copyright (c) 2002 James McCartney. All rights reserved. 4 http://www.audiosynth.com 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 22 #pragma once 23 24 typedef int SCErr; 25 26 void SC_ErrorString(SCErr err, char returnString[]); 27 28 enum { 29 kSCErr_None, 30 kSCErr_Failed, 31 kSCErr_NodeNotFound, 32 kSCErr_TargetNodeNotFound, 33 kSCErr_GroupNotFound, 34 kSCErr_SynthDefNotFound, 35 kSCErr_NoSuchCommand, 36 kSCErr_WrongArgType, 37 kSCErr_IndexOutOfRange, 38 kSCErr_AccessDenied, 39 kSCErr_NoReplyPort, 40 kSCErr_InvalidControlIndex, 41 kSCErr_AlreadyLoggedIn, 42 kSCErr_NotLoggedIn, 43 kSCErr_TooManyUsers, 44 kSCErr_TooManyNodes, 45 kSCErr_DuplicateNodeID, 46 kSCErr_ReservedNodeID, 47 kSCErr_ReplaceRootGroup, 48 kSCErr_OutOfRealTimeMemory, 49 50 kSCErr_UnsupportedHeaderFormat, 51 kSCErr_UnsupportedSampleFormat, 52 53 kSCErr_BufGenNotFound, 54 55 kSCErr_NumErrors 56 }; 57