annotate plugin/api/alsa/sound/asequencer.h @ 1310:aa1b1fc2d018 mp3-gapless

Stop reporting sync errors only when we really are at eof, i.e. after the input callback has been called again (previously we just tested whether we'd buffered up all the input, which of course we do in one go at the start)
author Chris Cannam
date Tue, 29 Nov 2016 16:45:29 +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 */