Changeset 679 for GPL/trunk/alsa-kernel/include/sound/opl3.h
- Timestamp:
- Mar 18, 2021, 8:57:36 PM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-linux-3.2.102 (added) merged: 611-614 /GPL/branches/uniaud32-next (added) merged: 615-678
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/include/sound/opl3.h
r598 r679 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 1 2 #ifndef __SOUND_OPL3_H 2 3 #define __SOUND_OPL3_H … … 7 8 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>, 8 9 * Hannu Savolainen 1993-1996 9 *10 10 * 11 11 * The OPL-3 mode is switched on by writing 0x01, to the offset 5 … … 34 34 * register of the voice (0xC0-0xC8). In 4 OP voices these bits are 35 35 * in the second half of the voice. 36 *37 *38 * This program is free software; you can redistribute it and/or modify39 * it under the terms of the GNU General Public License as published by40 * the Free Software Foundation; either version 2 of the License, or41 * (at your option) any later version.42 *43 * This program is distributed in the hope that it will be useful,44 * but WITHOUT ANY WARRANTY; without even the implied warranty of45 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the46 * GNU General Public License for more details.47 *48 * You should have received a copy of the GNU General Public License49 * along with this program; if not, write to the Free Software50 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA51 *52 36 */ 53 37 … … 56 40 #include <sound/timer.h> 57 41 #include <sound/seq_midi_emul.h> 58 #ifdef CONFIG_SND_SEQUENCER_OSS59 42 #include <sound/seq_oss.h> 60 43 #include <sound/seq_oss_legacy.h> 61 #endif62 44 #include <sound/seq_device.h> 63 45 #include <sound/asound_fm.h> … … 330 312 unsigned char rhythm; /* percussion mode flag */ 331 313 unsigned char max_voices; /* max number of voices */ 332 #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)314 #if IS_ENABLED(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER) 333 315 #define SNDRV_OPL3_MODE_SYNTH 0 /* OSS - voices allocated by application */ 334 316 #define SNDRV_OPL3_MODE_SEQ 1 /* ALSA - driver handles voice allocation */ … … 339 321 struct snd_midi_channel_set * chset; 340 322 341 #if def CONFIG_SND_SEQUENCER_OSS323 #if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS) || defined(CONFIG_SND_SEQUENCER) 342 324 struct snd_seq_device *oss_seq_dev; /* OSS sequencer device */ 343 325 struct snd_midi_channel_set * oss_chset; … … 383 365 void snd_opl3_reset(struct snd_opl3 * opl3); 384 366 385 #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)367 #if IS_ENABLED(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER) 386 368 long snd_opl3_write(struct snd_hwdep *hw, const char __user *buf, long count, 387 369 loff_t *offset);
Note:
See TracChangeset
for help on using the changeset viewer.