Changeset 212 for GPL/branches/alsa-resync1/alsa-kernel/include
- Timestamp:
- Jul 14, 2007, 7:13:46 AM (18 years ago)
- Location:
- GPL/branches/alsa-resync1/alsa-kernel/include/sound
- Files:
-
- 1 added
- 5 edited
-
core.h (modified) (2 diffs)
-
cs4231.h (modified) (4 diffs)
-
mixer_oss.h (modified) (5 diffs)
-
pcm_params.h (modified) (1 diff)
-
snd_wavefront.h (modified) (1 diff)
-
sscape_ioctl.h (added)
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/include/sound/core.h
r210 r212 218 218 219 219 extern int snd_ecards_limit; 220 extern int snd_device_mode;221 extern int snd_device_gid;222 extern int snd_device_uid;220 extern int device_mode; 221 extern int device_gid; 222 extern int device_uid; 223 223 224 224 void snd_request_card(int card); … … 243 243 244 244 int snd_oss_init_module(void); 245 void snd_oss_cleanup_module(void);246 245 247 246 #endif -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/cs4231.h
r210 r212 55 55 #define CS4231_PLY_LWR_CNT 0x0f /* playback lower base count */ 56 56 #define CS4231_ALT_FEATURE_1 0x10 /* alternate #1 feature enable */ 57 #define AD1845_AF1_MIC_LEFT 0x10 /* alternate #1 feature + MIC left */ 57 58 #define CS4231_ALT_FEATURE_2 0x11 /* alternate #2 feature enable */ 59 #define AD1845_AF2_MIC_RIGHT 0x11 /* alternate #2 feature + MIC right */ 58 60 #define CS4231_LEFT_LINE_IN 0x12 /* left line input control */ 59 61 #define CS4231_RIGHT_LINE_IN 0x13 /* right line input control */ … … 61 63 #define CS4231_TIMER_HIGH 0x15 /* timer high byte */ 62 64 #define CS4231_LEFT_MIC_INPUT 0x16 /* left MIC input control register (InterWave only) */ 65 #define AD1845_UPR_FREQ_SEL 0x16 /* upper byte of frequency select */ 63 66 #define CS4231_RIGHT_MIC_INPUT 0x17 /* right MIC input control register (InterWave only) */ 67 #define AD1845_LWR_FREQ_SEL 0x17 /* lower byte of frequency select */ 64 68 #define CS4236_EXT_REG 0x17 /* extended register access */ 65 69 #define CS4231_IRQ_STATUS 0x18 /* irq status register */ … … 68 72 #define CS4231_MONO_CTRL 0x1a /* mono input/output control */ 69 73 #define CS4231_LINE_RIGHT_OUTPUT 0x1b /* right line output control register (InterWave only) */ 74 #define AD1845_PWR_DOWN 0x1b /* power down control */ 70 75 #define CS4235_LEFT_MASTER 0x1b /* left master output control */ 71 76 #define CS4231_REC_FORMAT 0x1c /* clock and data format - record - bits 7-0 MCE */ 72 77 #define CS4231_PLY_VAR_FREQ 0x1d /* playback variable frequency */ 78 #define AD1845_CLOCK 0x1d /* crystal clock select and total power down */ 73 79 #define CS4235_RIGHT_MASTER 0x1d /* right master output control */ 74 80 #define CS4231_REC_UPR_CNT 0x1e /* record upper count */ … … 192 198 #define CS4231_HW_CS4231 0x0100 /* CS4231 chip */ 193 199 #define CS4231_HW_CS4231A 0x0101 /* CS4231A chip */ 200 #define CS4231_HW_AD1845 0x0102 /* AD1845 chip */ 194 201 #define CS4231_HW_CS4232_MASK 0x0200 /* CS4232 serie (has control ports) */ 195 202 #define CS4231_HW_CS4232 0x0200 /* CS4232 */ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/mixer_oss.h
r210 r212 35 35 typedef int (*snd_mixer_oss_put_recsrce_t)(snd_mixer_oss_file_t *fmixer, int active_index); 36 36 37 #define SNDRV_OSS_MAX_MIXERS 32 38 37 39 struct _snd_oss_mixer_slot { 38 40 int number; … … 45 47 void *private_data; 46 48 void (*private_free)(snd_mixer_oss_slot_t *slot); 49 int volume[2]; 47 50 }; 48 51 … … 51 54 char id[16]; 52 55 char name[32]; 53 snd_mixer_oss_slot_t slots[ 32];/* OSS mixer slots */56 snd_mixer_oss_slot_t slots[SNDRV_OSS_MAX_MIXERS]; /* OSS mixer slots */ 54 57 unsigned int mask_recsrc; /* exclusive recsrc mask */ 55 58 snd_mixer_oss_get_recsrce_t get_recsrc; … … 57 60 void *private_data_recsrc; 58 61 void (*private_free_recsrc)(snd_mixer_oss_t *mixer); 62 struct semaphore reg_mutex; 63 snd_info_entry_t *proc_entry; 59 64 /* --- */ 60 65 int oss_recsrc; … … 62 67 63 68 struct _snd_oss_file { 64 int volume[32][2];65 69 snd_card_t *card; 66 70 snd_mixer_oss_t *mixer; -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/pcm_params.h
r210 r212 37 37 38 38 #define INLINE static inline 39 #define assert(a) 39 #define assert(a) (void)(a) 40 40 41 41 #define SNDRV_MASK_BITS 64 /* we use so far 64bits only */ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/snd_wavefront.h
r96 r212 92 92 char interrupts_are_midi; /* h/w MPU interrupts enabled ? */ 93 93 char rom_samples_rdonly; /* can we write on ROM samples */ 94 spinlock_t irq_lock; 94 95 wait_queue_head_t interrupt_sleeper; 95 96 snd_wavefront_midi_t midi; /* ICS2115 MIDI interface */
Note:
See TracChangeset
for help on using the changeset viewer.
