annotate plugin/api/alsa/sound/asequencer.h @ 1518:9c09a3f05139 import-audio-data

Pull allocation/deallocation out of the inner loop
author Chris Cannam
date Sat, 08 Sep 2018 20:53:48 +0100
parents 48e9f538e6e9
children
rev   line source
Chris@0 1 /* DSSI ALSA compatibility library
Chris@0 2 *
Chris@0 3 * This library provides for Mac OS X the ALSA snd_seq_event_t handling
Chris@0 4 * necessary to compile and run DSSI. It was extracted from alsa-lib 1.0.8.
Chris@0 5 */
Chris@0 6
Chris@0 7 /*
Chris@0 8 * Main header file for the ALSA sequencer
Chris@0 9 * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
Chris@0 10 * (c) 1998-1999 by Jaroslav Kysela <perex@suse.cz>
Chris@0 11 *
Chris@0 12 *
Chris@0 13 * This program is free software; you can redistribute it and/or modify
Chris@0 14 * it under the terms of the GNU General Public License as published by
Chris@0 15 * the Free Software Foundation; either version 2 of the License, or
Chris@0 16 * (at your option) any later version.
Chris@0 17 *
Chris@0 18 * This program is distributed in the hope that it will be useful,
Chris@0 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Chris@0 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Chris@0 21 * GNU General Public License for more details.
Chris@0 22 *
Chris@0 23 * You should have received a copy of the GNU General Public License
Chris@0 24 * along with this program; if not, write to the Free Software
Chris@0 25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Chris@0 26 *
Chris@0 27 */
Chris@0 28 #ifndef __SOUND_ASEQUENCER_H
Chris@0 29 #define __SOUND_ASEQUENCER_H
Chris@0 30
Chris@1429 31 #define SNDRV_SEQ_EVENT_SYSEX 130 /* system exclusive data (variable length) */
Chris@0 32
Chris@1429 33 #define SNDRV_SEQ_EVENT_LENGTH_FIXED (0<<2) /* fixed event size */
Chris@1429 34 #define SNDRV_SEQ_EVENT_LENGTH_VARIABLE (1<<2) /* variable event size */
Chris@0 35
Chris@1429 36 #define SNDRV_SEQ_EVENT_LENGTH_MASK (3<<2)
Chris@0 37
Chris@0 38 #endif /* __SOUND_ASEQUENCER_H */