annotate plugin/api/alsa/sound/asequencer.h @ 537:3cc4b7cd2aa5

* Merge from one-fftdataserver-per-fftmodel branch. This bit of reworking (which is not described very accurately by the title of the branch) turns the MatrixFile object into something that either reads or writes, but not both, and separates the FFT file cache reader and writer implementations separately. This allows the FFT data server to have a single thread owning writers and one reader per "customer" thread, and for all locking to be vastly simplified and concentrated in the data server alone (because none of the classes it makes use of is used in more than one thread at a time). The result is faster and more trustworthy code.
author Chris Cannam
date Tue, 27 Jan 2009 13:25:10 +0000
parents da6937383da8
children 48e9f538e6e9
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@0 31 #define SNDRV_SEQ_EVENT_SYSEX 130 /* system exclusive data (variable length) */
Chris@0 32
Chris@0 33 #define SNDRV_SEQ_EVENT_LENGTH_FIXED (0<<2) /* fixed event size */
Chris@0 34 #define SNDRV_SEQ_EVENT_LENGTH_VARIABLE (1<<2) /* variable event size */
Chris@0 35
Chris@0 36 #define SNDRV_SEQ_EVENT_LENGTH_MASK (3<<2)
Chris@0 37
Chris@0 38 #endif /* __SOUND_ASEQUENCER_H */