📄 constants_check.h
字号:
/* * constants_check.h *//* * Copyright (c) 1999 - 2001 by Matthias Pfisterer <Matthias.Pfisterer@gmx.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */#undef NDEBUG#include <assert.h>voidcheck_constants(){ assert(SND_SEQ_EVENT_SYSTEM == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SYSTEM); assert(SND_SEQ_EVENT_RESULT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_RESULT); assert(SND_SEQ_EVENT_NOTE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_NOTE); assert(SND_SEQ_EVENT_NOTEON == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_NOTEON); assert(SND_SEQ_EVENT_NOTEOFF == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_NOTEOFF); assert(SND_SEQ_EVENT_KEYPRESS == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_KEYPRESS); assert(SND_SEQ_EVENT_CONTROLLER == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CONTROLLER); assert(SND_SEQ_EVENT_PGMCHANGE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_PGMCHANGE); assert(SND_SEQ_EVENT_CHANPRESS == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CHANPRESS); assert(SND_SEQ_EVENT_PITCHBEND == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_PITCHBEND); assert(SND_SEQ_EVENT_CONTROL14 ==org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CONTROL14); assert(SND_SEQ_EVENT_NONREGPARAM == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_NONREGPARAM); assert(SND_SEQ_EVENT_REGPARAM == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_REGPARAM); assert(SND_SEQ_EVENT_SONGPOS == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SONGPOS); assert(SND_SEQ_EVENT_SONGSEL == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SONGSEL); assert(SND_SEQ_EVENT_QFRAME == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_QFRAME); assert(SND_SEQ_EVENT_TIMESIGN == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_TIMESIGN); assert(SND_SEQ_EVENT_KEYSIGN == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_KEYSIGN); assert(SND_SEQ_EVENT_START == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_START); assert(SND_SEQ_EVENT_CONTINUE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CONTINUE); assert(SND_SEQ_EVENT_STOP == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_STOP); assert(SND_SEQ_EVENT_SETPOS_TICK == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SETPOS_TICK); assert(SND_SEQ_EVENT_SETPOS_TIME == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SETPOS_TIME); assert(SND_SEQ_EVENT_TEMPO == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_TEMPO); assert(SND_SEQ_EVENT_CLOCK == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CLOCK); assert(SND_SEQ_EVENT_TICK == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_TICK);// gives an error with ALSA 0.9.0rc2// assert(SND_SEQ_EVENT_SYNC == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SYNC); assert(SND_SEQ_EVENT_SYNC_POS == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SYNC_POS); assert(SND_SEQ_EVENT_TUNE_REQUEST == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_TUNE_REQUEST); assert(SND_SEQ_EVENT_RESET == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_RESET); assert(SND_SEQ_EVENT_SENSING == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SENSING); assert(SND_SEQ_EVENT_ECHO == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_ECHO); assert(SND_SEQ_EVENT_OSS == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_OSS); assert(SND_SEQ_EVENT_CLIENT_START == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CLIENT_START); assert(SND_SEQ_EVENT_CLIENT_EXIT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CLIENT_EXIT); assert(SND_SEQ_EVENT_CLIENT_CHANGE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_CLIENT_CHANGE); assert(SND_SEQ_EVENT_PORT_START == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_PORT_START); assert(SND_SEQ_EVENT_PORT_EXIT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_PORT_EXIT); assert(SND_SEQ_EVENT_PORT_CHANGE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_PORT_CHANGE); assert(SND_SEQ_EVENT_PORT_SUBSCRIBED == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_PORT_SUBSCRIBED); assert(SND_SEQ_EVENT_PORT_UNSUBSCRIBED == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_PORT_UNSUBSCRIBED); assert(SND_SEQ_EVENT_SAMPLE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE); assert(SND_SEQ_EVENT_SAMPLE_CLUSTER == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_CLUSTER); assert(SND_SEQ_EVENT_SAMPLE_START == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_START); assert(SND_SEQ_EVENT_SAMPLE_STOP == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_STOP); assert(SND_SEQ_EVENT_SAMPLE_FREQ == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_FREQ); assert(SND_SEQ_EVENT_SAMPLE_VOLUME == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_VOLUME); assert(SND_SEQ_EVENT_SAMPLE_LOOP == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_LOOP); assert(SND_SEQ_EVENT_SAMPLE_POSITION == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_POSITION); assert(SND_SEQ_EVENT_SAMPLE_PRIVATE1 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SAMPLE_PRIVATE1); assert(SND_SEQ_EVENT_USR0 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR0); assert(SND_SEQ_EVENT_USR1 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR1); assert(SND_SEQ_EVENT_USR2 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR2); assert(SND_SEQ_EVENT_USR3 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR3); assert(SND_SEQ_EVENT_USR4 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR4); assert(SND_SEQ_EVENT_USR5 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR5); assert(SND_SEQ_EVENT_USR6 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR6); assert(SND_SEQ_EVENT_USR7 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR7); assert(SND_SEQ_EVENT_USR8 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR8); assert(SND_SEQ_EVENT_USR9 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR9); assert(SND_SEQ_EVENT_INSTR_BEGIN == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_BEGIN); assert(SND_SEQ_EVENT_INSTR_END == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_END); assert(SND_SEQ_EVENT_INSTR_INFO == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_INFO); assert(SND_SEQ_EVENT_INSTR_INFO_RESULT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_INFO_RESULT); assert(SND_SEQ_EVENT_INSTR_FINFO == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_FINFO); assert(SND_SEQ_EVENT_INSTR_FINFO_RESULT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_FINFO_RESULT); assert(SND_SEQ_EVENT_INSTR_RESET == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_RESET); assert(SND_SEQ_EVENT_INSTR_STATUS == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_STATUS); assert(SND_SEQ_EVENT_INSTR_STATUS_RESULT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_STATUS_RESULT); assert(SND_SEQ_EVENT_INSTR_PUT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_PUT); assert(SND_SEQ_EVENT_INSTR_GET == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_GET); assert(SND_SEQ_EVENT_INSTR_GET_RESULT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_GET_RESULT); assert(SND_SEQ_EVENT_INSTR_FREE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_FREE); assert(SND_SEQ_EVENT_INSTR_LIST == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_LIST); assert(SND_SEQ_EVENT_INSTR_LIST_RESULT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_LIST_RESULT); assert(SND_SEQ_EVENT_INSTR_CLUSTER == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_CLUSTER); assert(SND_SEQ_EVENT_INSTR_CLUSTER_GET == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_CLUSTER_GET); assert(SND_SEQ_EVENT_INSTR_CLUSTER_RESULT == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_CLUSTER_RESULT); assert(SND_SEQ_EVENT_INSTR_CHANGE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_INSTR_CHANGE); assert(SND_SEQ_EVENT_SYSEX == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_SYSEX); assert(SND_SEQ_EVENT_BOUNCE == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_BOUNCE); assert(SND_SEQ_EVENT_USR_VAR0 == org_tritonus_lowlevel_alsa_AlsaSeq_SND_SEQ_EVENT_USR_VAR0);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -