Changeset 398 for GPL/branches
- Timestamp:
- Oct 24, 2008, 11:14:31 AM (17 years ago)
- Location:
- GPL/branches/uniaud32-2.0/alsa-kernel
- Files:
-
- 24 edited
-
include/sound/ad1816a.h (modified) (4 diffs)
-
include/sound/ad1848.h (modified) (5 diffs)
-
include/sound/asound.h (modified) (2 diffs)
-
include/sound/control.h (modified) (3 diffs)
-
include/sound/cs4231.h (modified) (6 diffs)
-
include/sound/emu8000.h (modified) (2 diffs)
-
include/sound/emu8000_reg.h (modified) (3 diffs)
-
include/sound/es1688.h (modified) (4 diffs)
-
include/sound/i2c.h (modified) (1 diff)
-
include/sound/initval.h (modified) (2 diffs)
-
include/sound/minors.h (modified) (3 diffs)
-
include/sound/mixer_oss.h (modified) (2 diffs)
-
include/sound/pcm_oss.h (modified) (1 diff)
-
include/sound/pcm_params.h (modified) (5 diffs)
-
include/sound/rawmidi.h (modified) (1 diff)
-
include/sound/sb16_csp.h (modified) (2 diffs)
-
include/sound/seq_oss.h (modified) (3 diffs)
-
include/sound/seq_oss_legacy.h (modified) (3 diffs)
-
include/sound/tea6330t.h (modified) (2 diffs)
-
include/sound/version.h (modified) (1 diff)
-
include/sound/wavefront.h (modified) (12 diffs)
-
pci/ac97/Makefile (modified) (1 diff)
-
pci/au88x0/Makefile (modified) (1 diff)
-
pci/ca0106/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/ad1816a.h
r305 r398 1 2 #ifndef __AD1816A_H 3 #define __AD1816A_H 1 #ifndef __SOUND_AD1816A_H 2 #define __SOUND_AD1816A_H 4 3 5 4 /* … … 19 18 You should have received a copy of the GNU General Public License 20 19 along with this program; if not, write to the Free Software 21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 21 */ 23 22 … … 138 137 139 138 unsigned short mode; 139 unsigned int clock_freq; 140 140 141 141 struct snd_card *card; … … 171 171 extern int snd_ad1816a_mixer(struct snd_ad1816a *chip); 172 172 173 #endif /* __AD1816A_H */ 174 173 #endif /* __SOUND_AD1816A_H */ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/ad1848.h
r305 r398 1 #ifndef __ AD1848_H2 #define __ AD1848_H1 #ifndef __SOUND_AD1848_H 2 #define __SOUND_AD1848_H 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 * 23 23 */ 24 24 25 #include "control.h"26 25 #include "pcm.h" 26 #include <linux/interrupt.h> 27 27 28 28 /* IO ports */ … … 112 112 #define AD1848_MODE_TIMER 0x0004 113 113 #define AD1848_MODE_OPEN (AD1848_MODE_PLAY|AD1848_MODE_CAPTURE|AD1848_MODE_TIMER) 114 #define AD1848_MODE_RUNNING 0x0010 114 115 115 116 /* defines for codec.hardware */ … … 120 121 #define AD1848_HW_CS4248 0x0003 /* CS4248 chip */ 121 122 #define AD1848_HW_CMI8330 0x0004 /* CMI8330 chip */ 123 #define AD1848_HW_THINKPAD 0x0005 /* Thinkpad 360/750/755 */ 124 125 /* IBM Thinkpad specific stuff */ 126 #define AD1848_THINKPAD_CTL_PORT1 0x15e8 127 #define AD1848_THINKPAD_CTL_PORT2 0x15e9 128 #define AD1848_THINKPAD_CS4248_ENABLE_BIT 0x02 122 129 123 130 struct snd_ad1848 { … … 139 146 int mce_bit; 140 147 int calibrate_mute; 141 int dma_size;142 int thinkpad_flag;/* Thinkpad CS4248 needs some extra help */148 int dma_size; 149 int thinkpad_flag; /* Thinkpad CS4248 needs some extra help */ 143 150 144 151 #ifdef CONFIG_PM -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/asound.h
r320 r398 265 265 #define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD 266 266 267 268 #ifdef SNDRV_LITTLE_ENDIAN269 #define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_LE270 #define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_LE271 #define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_LE272 #define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_LE273 #define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_LE274 #define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_LE275 #define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_LE276 #define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_LE277 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE278 #endif279 #ifdef SNDRV_BIG_ENDIAN280 #define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_BE281 #define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_BE282 #define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_BE283 #define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_BE284 #define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_BE285 #define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_BE286 #define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_BE287 #define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_BE288 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE289 #endif290 291 267 #define SNDRV_PCM_INFO_MMAP 0x00000001 /* hardware supports mmap */ 292 268 #define SNDRV_PCM_INFO_MMAP_VALID 0x00000002 /* period data are valid during transfer */ … … 891 867 }; 892 868 893 894 869 enum { 895 870 SNDRV_CTL_IOCTL_PVERSION = _IOR('U', 0x00, int), -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/control.h
r358 r398 1 #ifndef __ CONTROL_H2 #define __ CONTROL_H1 #ifndef __SOUND_CONTROL_H 2 #define __SOUND_CONTROL_H 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 * 23 23 */ … … 182 182 183 183 #endif /* __SOUND_CONTROL_H */ 184 -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/cs4231.h
r358 r398 1 #ifndef __ CS4231_H2 #define __ CS4231_H1 #ifndef __SOUND_CS4231_H 2 #define __SOUND_CS4231_H 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 * 23 23 */ … … 45 45 #define CS4231_HW_CS4231 0x0100 /* CS4231 chip */ 46 46 #define CS4231_HW_CS4231A 0x0101 /* CS4231A chip */ 47 #define CS4231_HW_AD1845 0x0102 /* AD1845 chip */ 47 48 #define CS4231_HW_CS4232_MASK 0x0200 /* CS4232 serie (has control ports) */ 48 49 #define CS4231_HW_CS4232 0x0200 /* CS4232 */ … … 152 153 */ 153 154 154 #ifndef TARGET_OS2155 155 #define CS4231_SINGLE(xname, xindex, reg, shift, mask, invert) \ 156 156 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ … … 158 158 .get = snd_cs4231_get_single, .put = snd_cs4231_put_single, \ 159 159 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 160 #else 161 #define CS4231_SINGLE(xname, xindex, reg, shift, mask, invert) \ 162 { SNDRV_CTL_ELEM_IFACE_MIXER, 0,0, xname, xindex, \ 163 0, 0, snd_cs4231_info_single, \ 164 snd_cs4231_get_single, snd_cs4231_put_single, \ 165 reg | (shift << 8) | (mask << 16) | (invert << 24) } 166 #endif 160 167 161 int snd_cs4231_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); 168 162 int snd_cs4231_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); 169 163 int snd_cs4231_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); 170 164 171 #ifndef TARGET_OS2172 165 #define CS4231_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ 173 166 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ … … 175 168 .get = snd_cs4231_get_double, .put = snd_cs4231_put_double, \ 176 169 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask << 24) | (invert << 22) } 177 #else 178 #define CS4231_SINGLE(xname, xindex, reg, shift, mask, invert) \ 179 { SNDRV_CTL_ELEM_IFACE_MIXER, 0,0, xname, xindex, \ 180 0, 0, snd_cs4231_info_single, \ 181 snd_cs4231_get_single, snd_cs4231_put_single, \ 182 reg | (shift << 8) | (mask << 16) | (invert << 24) } 183 #endif 170 184 171 int snd_cs4231_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); 185 172 int snd_cs4231_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/emu8000.h
r305 r398 1 #ifndef __ EMU8000_H2 #define __ EMU8000_H1 #ifndef __SOUND_EMU8000_H 2 #define __SOUND_EMU8000_H 3 3 /* 4 4 * Defines for the emu8000 (AWE32/64) … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 */ 23 23 24 #include "driver.h"25 24 #include "emux_synth.h" 26 25 #include "seq_kernel.h" -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/emu8000_reg.h
r32 r398 1 #ifndef __ EMU8000_REG_H2 #define __ EMU8000_REG_H1 #ifndef __SOUND_EMU8000_REG_H 2 #define __SOUND_EMU8000_REG_H 3 3 /* 4 4 * Register operations for the EMU8000 … … 20 20 * You should have received a copy of the GNU General Public License 21 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 23 * 24 24 */ … … 205 205 snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(5, (chan)), (val)) 206 206 207 #endif 207 #endif /* __SOUND_EMU8000_REG_H */ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/es1688.h
r305 r398 1 #ifndef __ ES1688_H2 #define __ ES1688_H1 #ifndef __SOUND_ES1688_H 2 #define __SOUND_ES1688_H 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 * 23 23 */ … … 25 25 #include "control.h" 26 26 #include "pcm.h" 27 #include <linux/interrupt.h> 27 28 28 29 #define ES1688_HW_AUTO 0x0000 … … 118 119 int snd_es1688_mixer(struct snd_es1688 *chip); 119 120 120 #endif /* __ES1688_H */121 #endif /* __SOUND_ES1688_H */ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/i2c.h
r305 r398 1 #ifndef __S ND_I2C_H2 #define __S ND_I2C_H1 #ifndef __SOUND_I2C_H 2 #define __SOUND_I2C_H 3 3 4 4 /* -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/initval.h
r305 r398 1 #ifndef __ INITVAL_H2 #define __ INITVAL_H1 #ifndef __SOUND_INITVAL_H 2 #define __SOUND_INITVAL_H 3 3 4 4 /* … … 18 18 * You should have received a copy of the GNU General Public License 19 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 21 * 22 22 */ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/minors.h
r305 r398 1 #ifndef __ MINORS_H2 #define __ MINORS_H1 #ifndef __SOUND_MINORS_H 2 #define __SOUND_MINORS_H 3 3 4 4 /* … … 18 18 * You should have received a copy of the GNU General Public License 19 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 21 * 22 22 */ … … 101 101 #define SNDRV_OSS_DEVICE_TYPE_MUSIC 6 102 102 103 #define MODULE_ALIAS_SNDRV_MINOR(type) \ 104 MODULE_ALIAS("sound-service-?-" __stringify(type)) 105 103 106 #endif 104 107 105 #endif /* __MINORS_H */108 #endif /* __SOUND_MINORS_H */ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/mixer_oss.h
r305 r398 1 #ifndef __ MIXER_OSS_H2 #define __ MIXER_OSS_H1 #ifndef __SOUND_MIXER_OSS_H 2 #define __SOUND_MIXER_OSS_H 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 * 23 23 */ 24 24 25 #if def CONFIG_SND_OSSEMUL25 #if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS_MODULE) 26 26 27 27 #define SNDRV_OSS_MAX_MIXERS 32 -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/pcm_oss.h
r305 r398 1 #ifndef __ PCM_OSS_H2 #define __ PCM_OSS_H1 #ifndef __SOUND_PCM_OSS_H 2 #define __SOUND_PCM_OSS_H 3 3 4 4 /* -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/pcm_params.h
r305 r398 1 #ifndef __ PCM_PARAMS_H2 #define __ PCM_PARAMS_H1 #ifndef __SOUND_PCM_PARAMS_H 2 #define __SOUND_PCM_PARAMS_H 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 * 23 23 */ … … 324 324 } 325 325 326 INLINEunsigned int add(unsigned int a, unsigned int b)326 static inline unsigned int add(unsigned int a, unsigned int b) 327 327 { 328 328 if (a >= UINT_MAX - b) … … 331 331 } 332 332 333 INLINEunsigned int sub(unsigned int a, unsigned int b)333 static inline unsigned int sub(unsigned int a, unsigned int b) 334 334 { 335 335 if (a > b) … … 338 338 } 339 339 340 #endif 340 #endif /* __SOUND_PCM_PARAMS_H */ 341 -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/rawmidi.h
r305 r398 29 29 #include <linux/mutex.h> 30 30 31 #ifdef TARGET_OS2x32 #define tasklet_struct tq_struct33 #endif34 31 #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE) 35 32 #include "seq_device.h" -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/sb16_csp.h
r305 r398 1 #ifndef __S B16_CSP_H2 #define __S B16_CSP_H1 #ifndef __SOUND_SB16_CSP_H 2 #define __SOUND_SB16_CSP_H 3 3 4 4 /* … … 20 20 * You should have received a copy of the GNU General Public License 21 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 23 * 24 24 */ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/seq_oss.h
r305 r398 1 #ifndef __SOUND_SEQ_OSS_H 2 #define __SOUND_SEQ_OSS_H 3 1 4 /* 2 5 * OSS compatible sequencer driver … … 16 19 * You should have received a copy of the GNU General Public License 17 20 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 22 */ 20 21 #ifndef __SEQ_OSS_H22 #define __SEQ_OSS_H23 23 24 24 #include "asequencer.h" … … 94 94 #define SNDRV_SEQ_DEV_ID_OSS "seq-oss" 95 95 96 #endif 96 #endif /* __SOUND_SEQ_OSS_H */ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/seq_oss_legacy.h
r32 r398 1 #ifndef __SOUND_SEQ_OSS_LEGACY_H 2 #define __SOUND_SEQ_OSS_LEGACY_H 3 1 4 /* 2 5 * OSS compatible macro definitions … … 16 19 * You should have received a copy of the GNU General Public License 17 20 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 22 */ 20 21 #ifndef __SEQ_OSS_LEGACY_H22 #define __SEQ_OSS_LEGACY_H23 23 24 24 #include <linux/soundcard.h> … … 28 28 #endif 29 29 30 #endif 30 #endif /* __SOUND_SEQ_OSS_LEGACY_H */ 31 -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/tea6330t.h
r305 r398 1 #ifndef __ TEA6330T_H2 #define __ TEA6330T_H1 #ifndef __SOUND_TEA6330T_H 2 #define __SOUND_TEA6330T_H 3 3 4 4 /* … … 18 18 * You should have received a copy of the GNU General Public License 19 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 21 * 22 22 * -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/version.h
r358 r398 1 /* 2 * Configuration header file for compilation of the ALSA driver 3 */ 4 5 #ifndef __ALSA_VERSION_H__ 6 #define __ALSA_VERSION_H__ 1 /* include/version.h */ 2 #define CONFIG_SND_VERSION "1.0.17" 7 3 #define CONFIG_SND_DATE "" 8 #define CONFIG_SND_VERSION "1.0.17"9 #endif //__ALSA_VERSION_H__ -
GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/wavefront.h
r305 r398 1 #ifndef __ WAVEFRONT_H__2 #define __ WAVEFRONT_H__1 #ifndef __SOUND_WAVEFRONT_H__ 2 #define __SOUND_WAVEFRONT_H__ 3 3 4 4 /* … … 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 22 */ 23 23 … … 65 65 */ 66 66 67 typedef short INT16; 68 typedef unsigned short UINT16; 69 typedef int INT32; 70 typedef unsigned int UINT32; 71 typedef char CHAR8; 72 typedef unsigned char UCHAR8; 67 #ifndef __KERNEL__ 68 /* keep them for compatibility */ 69 typedef short s16; 70 typedef unsigned short u16; 71 typedef int s32; 72 typedef unsigned int u32; 73 typedef char s8; 74 typedef unsigned char u8; 75 typedef s16 INT16; 76 typedef u16 UINT16; 77 typedef s32 INT32; 78 typedef u32 UINT32; 79 typedef s8 CHAR8; 80 typedef u8 UCHAR8; 81 #endif 73 82 74 83 /* Pseudo-commands not part of the WaveFront command set. … … 198 207 struct wf_envelope 199 208 { 200 UCHAR8 attack_time:7;201 UCHAR8 Unused1:1;202 203 UCHAR8 decay1_time:7;204 UCHAR8 Unused2:1;205 206 UCHAR8 decay2_time:7;207 UCHAR8 Unused3:1;208 209 UCHAR8 sustain_time:7;210 UCHAR8 Unused4:1;211 212 UCHAR8 release_time:7;213 UCHAR8 Unused5:1;214 215 UCHAR8 release2_time:7;216 UCHAR8 Unused6:1;217 218 CHAR8 attack_level;219 CHAR8 decay1_level;220 CHAR8 decay2_level;221 CHAR8 sustain_level;222 CHAR8 release_level;223 224 UCHAR8 attack_velocity:7;225 UCHAR8 Unused7:1;226 227 UCHAR8 volume_velocity:7;228 UCHAR8 Unused8:1;229 230 UCHAR8 keyboard_scaling:7;231 UCHAR8 Unused9:1;209 u8 attack_time:7; 210 u8 Unused1:1; 211 212 u8 decay1_time:7; 213 u8 Unused2:1; 214 215 u8 decay2_time:7; 216 u8 Unused3:1; 217 218 u8 sustain_time:7; 219 u8 Unused4:1; 220 221 u8 release_time:7; 222 u8 Unused5:1; 223 224 u8 release2_time:7; 225 u8 Unused6:1; 226 227 s8 attack_level; 228 s8 decay1_level; 229 s8 decay2_level; 230 s8 sustain_level; 231 s8 release_level; 232 233 u8 attack_velocity:7; 234 u8 Unused7:1; 235 236 u8 volume_velocity:7; 237 u8 Unused8:1; 238 239 u8 keyboard_scaling:7; 240 u8 Unused9:1; 232 241 }; 233 242 typedef struct wf_envelope wavefront_envelope; … … 235 244 struct wf_lfo 236 245 { 237 UCHAR8 sample_number;238 239 UCHAR8 frequency:7;240 UCHAR8 Unused1:1;241 242 UCHAR8 am_src:4;243 UCHAR8 fm_src:4;244 245 CHAR8 fm_amount;246 CHAR8 am_amount;247 CHAR8 start_level;248 CHAR8 end_level;249 250 UCHAR8 ramp_delay:7;251 UCHAR8 wave_restart:1; /* for LFO2 only */252 253 UCHAR8 ramp_time:7;254 UCHAR8 Unused2:1;246 u8 sample_number; 247 248 u8 frequency:7; 249 u8 Unused1:1; 250 251 u8 am_src:4; 252 u8 fm_src:4; 253 254 s8 fm_amount; 255 s8 am_amount; 256 s8 start_level; 257 s8 end_level; 258 259 u8 ramp_delay:7; 260 u8 wave_restart:1; /* for LFO2 only */ 261 262 u8 ramp_time:7; 263 u8 Unused2:1; 255 264 }; 256 265 typedef struct wf_lfo wavefront_lfo; … … 258 267 struct wf_patch 259 268 { 260 INT16 frequency_bias; /* ** THIS IS IN MOTOROLA FORMAT!! ** */261 262 UCHAR8 amplitude_bias:7;263 UCHAR8 Unused1:1;264 265 UCHAR8 portamento:7;266 UCHAR8 Unused2:1;267 268 UCHAR8 sample_number;269 270 UCHAR8 pitch_bend:4;271 UCHAR8 sample_msb:1;272 UCHAR8 Unused3:3;273 274 UCHAR8 mono:1;275 UCHAR8 retrigger:1;276 UCHAR8 nohold:1;277 UCHAR8 restart:1;278 UCHAR8 filterconfig:2; /* SDK says "not used" */279 UCHAR8 reuse:1;280 UCHAR8 reset_lfo:1;281 282 UCHAR8 fm_src2:4;283 UCHAR8 fm_src1:4;284 285 CHAR8 fm_amount1;286 CHAR8 fm_amount2;287 288 UCHAR8 am_src:4;289 UCHAR8 Unused4:4;290 291 CHAR8 am_amount;292 293 UCHAR8 fc1_mode:4;294 UCHAR8 fc2_mode:4;295 296 CHAR8 fc1_mod_amount;297 CHAR8 fc1_keyboard_scaling;298 CHAR8 fc1_bias;299 CHAR8 fc2_mod_amount;300 CHAR8 fc2_keyboard_scaling;301 CHAR8 fc2_bias;302 303 UCHAR8 randomizer:7;304 UCHAR8 Unused5:1;269 s16 frequency_bias; /* ** THIS IS IN MOTOROLA FORMAT!! ** */ 270 271 u8 amplitude_bias:7; 272 u8 Unused1:1; 273 274 u8 portamento:7; 275 u8 Unused2:1; 276 277 u8 sample_number; 278 279 u8 pitch_bend:4; 280 u8 sample_msb:1; 281 u8 Unused3:3; 282 283 u8 mono:1; 284 u8 retrigger:1; 285 u8 nohold:1; 286 u8 restart:1; 287 u8 filterconfig:2; /* SDK says "not used" */ 288 u8 reuse:1; 289 u8 reset_lfo:1; 290 291 u8 fm_src2:4; 292 u8 fm_src1:4; 293 294 s8 fm_amount1; 295 s8 fm_amount2; 296 297 u8 am_src:4; 298 u8 Unused4:4; 299 300 s8 am_amount; 301 302 u8 fc1_mode:4; 303 u8 fc2_mode:4; 304 305 s8 fc1_mod_amount; 306 s8 fc1_keyboard_scaling; 307 s8 fc1_bias; 308 s8 fc2_mod_amount; 309 s8 fc2_keyboard_scaling; 310 s8 fc2_bias; 311 312 u8 randomizer:7; 313 u8 Unused5:1; 305 314 306 315 struct wf_envelope envelope1; … … 313 322 struct wf_layer 314 323 { 315 UCHAR8 patch_number;316 317 UCHAR8 mix_level:7;318 UCHAR8 mute:1;319 320 UCHAR8 split_point:7;321 UCHAR8 play_below:1;322 323 UCHAR8 pan_mod_src:2;324 UCHAR8 pan_or_mod:1;325 UCHAR8 pan:4;326 UCHAR8 split_type:1;324 u8 patch_number; 325 326 u8 mix_level:7; 327 u8 mute:1; 328 329 u8 split_point:7; 330 u8 play_below:1; 331 332 u8 pan_mod_src:2; 333 u8 pan_or_mod:1; 334 u8 pan:4; 335 u8 split_type:1; 327 336 }; 328 337 typedef struct wf_layer wavefront_layer; … … 336 345 struct wf_sample_offset 337 346 { 338 INT32 Fraction:4;339 INT32 Integer:20;340 INT32 Unused:8;347 s32 Fraction:4; 348 s32 Integer:20; 349 s32 Unused:8; 341 350 }; 342 351 typedef struct wf_sample_offset wavefront_sample_offset; … … 492 501 493 502 typedef struct wf_channel_programs { 494 UCHAR8 Program[NUM_MIDICHANNELS];503 u8 Program[NUM_MIDICHANNELS]; 495 504 } wavefront_channel_programs; 496 505 … … 523 532 */ 524 533 525 INT16 key; /* Use WAVEFRONT_PATCH here */526 UINT16 devno; /* fill in when sending */527 UCHAR8 subkey; /* WF_ST_{SAMPLE,ALIAS,etc.} */534 s16 key; /* Use WAVEFRONT_PATCH here */ 535 u16 devno; /* fill in when sending */ 536 u8 subkey; /* WF_ST_{SAMPLE,ALIAS,etc.} */ 528 537 529 538 #define WAVEFRONT_FIND_FREE_SAMPLE_SLOT 999 530 539 531 UINT16 number; /* patch/sample/prog number */532 533 UINT32 size; /* size of any data included in540 u16 number; /* patch/sample/prog number */ 541 542 u32 size; /* size of any data included in 534 543 one of the fields in `hdrptr', or 535 544 as `dataptr'. … … 546 555 547 556 */ 548 wavefront_any *hdrptr; /* user-space ptr to hdr bytes */549 UINT16*dataptr; /* actual sample data */557 wavefront_any __user *hdrptr; /* user-space ptr to hdr bytes */ 558 u16 __user *dataptr; /* actual sample data */ 550 559 551 560 wavefront_any hdr; /* kernel-space copy of hdr bytes */ … … 679 688 /* Allow direct user-space control over FX memory/coefficient data. 680 689 In theory this could be used to download the FX microprogram, 681 but it would be a little slower, and involve some w ierd code.690 but it would be a little slower, and involve some weird code. 682 691 */ 683 692 684 693 #define WFFX_MEMSET 69 685 694 686 #endif /* __WAVEFRONT_H__ */ 687 695 #endif /* __SOUND_WAVEFRONT_H__ */ -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/ac97/Makefile
r32 r398 1 1 # 2 2 # Makefile for ALSA 3 # Copyright (c) 2001 by Jaroslav Kysela <perex@ suse.cz>3 # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz> 4 4 # 5 5 6 snd-ac97-codec- objs := ac97_codec.o ac97_proc.o ac97_patch.o7 snd-a k4531-codec-objs := ak4531_codec.o6 snd-ac97-codec-y := ac97_codec.o ac97_pcm.o 7 snd-ac97-codec-$(CONFIG_PROC_FS) += ac97_proc.o 8 8 9 9 # Toplevel Module Dependency 10 obj-$(CONFIG_SND_CS4281) += snd-ac97-codec.o 11 obj-$(CONFIG_SND_ENS1370) += snd-ak4531-codec.o 12 obj-$(CONFIG_SND_ENS1371) += snd-ac97-codec.o 13 obj-$(CONFIG_SND_ES1968) += snd-ac97-codec.o 14 obj-$(CONFIG_SND_FM801) += snd-ac97-codec.o 15 obj-$(CONFIG_SND_ICE1712) += snd-ac97-codec.o 16 obj-$(CONFIG_SND_ICE1724) += snd-ac97-codec.o 17 obj-$(CONFIG_SND_INTEL8X0) += snd-ac97-codec.o 18 obj-$(CONFIG_SND_MAESTRO3) += snd-ac97-codec.o 19 obj-$(CONFIG_SND_VIA82XX) += snd-ac97-codec.o 20 obj-$(CONFIG_SND_ALI5451) += snd-ac97-codec.o 21 obj-$(CONFIG_SND_CS46XX) += snd-ac97-codec.o 22 obj-$(CONFIG_SND_EMU10K1) += snd-ac97-codec.o 23 obj-$(CONFIG_SND_NM256) += snd-ac97-codec.o 24 obj-$(CONFIG_SND_TRIDENT) += snd-ac97-codec.o 25 obj-$(CONFIG_SND_YMFPCI) += snd-ac97-codec.o 26 27 obj-m := $(sort $(obj-m)) 10 obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/au88x0/Makefile
r32 r398 1 TOPDIR = ../.. 2 3 include $(TOPDIR)/toplevel.config 4 include $(TOPDIR)/Makefile.conf 5 6 snd-au8810-objs := au8810.o au8810_core.o au8810_pcm.o au8810_mixer.o au8810_mpu401.o au8810_game.o au8810_eq.o 7 snd-au8820-objs := au8820.o au8820_core.o au8820_pcm.o au8820_mixer.o au8820_mpu401.o au8820_game.o au8820_synth.o 8 snd-au8830-objs := au8830.o au8830_core.o au8830_pcm.o au8830_mixer.o au8830_mpu401.o au8830_game.o au8830_eq.o au8830_synth.o 1 snd-au8810-objs := au8810.o 2 snd-au8820-objs := au8820.o 3 snd-au8830-objs := au8830.o 9 4 10 5 obj-$(CONFIG_SND_AU8810) += snd-au8810.o 11 6 obj-$(CONFIG_SND_AU8820) += snd-au8820.o 12 7 obj-$(CONFIG_SND_AU8830) += snd-au8830.o 13 14 include $(TOPDIR)/Rules.make -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/ca0106/Makefile
r32 r398 1 snd-ca0106-objs := ca0106_main.o ca0106_proc.o ca0106_mixer.o 1 snd-ca0106-objs := ca0106_main.o ca0106_proc.o ca0106_mixer.o ca_midi.o 2 2 3 3 obj-$(CONFIG_SND_CA0106) += snd-ca0106.o
Note:
See TracChangeset
for help on using the changeset viewer.
