Changeset 36
- Timestamp:
- Dec 16, 2005, 12:18:54 AM (20 years ago)
- Location:
- GPL/trunk/alsa-kernel/include/sound
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/include/sound/ac97_codec.h
r35 r36 577 577 AC97_TUNE_INV_EAPD, /* inverted EAPD implementation */ 578 578 AC97_TUNE_MUTE_LED, /* EAPD bit works as mute LED */ 579 AC97_TUNE_HP_MUTE_LED, /* EAPD bit works as mute LED, use headphone control as master */ 579 580 }; 580 581 -
GPL/trunk/alsa-kernel/include/sound/asound.h
r35 r36 24 24 #define __SOUND_ASOUND_H 25 25 26 #if defined(LINUX) || defined(__LINUX__) || defined(__linux__)27 #include <linux/ioctl.h>28 #include <endian.h>29 #if __BYTE_ORDER == __LITTLE_ENDIAN30 26 #define SNDRV_LITTLE_ENDIAN 31 #elif __BYTE_ORDER == __BIG_ENDIAN 32 #define SNDRV_BIG_ENDIAN 33 #else 34 #error "Unsupported endian..." 35 #endif 36 #endif 27 37 28 #ifndef __KERNEL__ 38 29 #include <sys/time.h> … … 329 320 typedef int __bitwise snd_pcm_hw_param_t; 330 321 #define SNDRV_PCM_HW_PARAM_ACCESS ((__force snd_pcm_hw_param_t) 0) /* Access type */ 331 #define SNDRV_PCM_HW_PARAM_FORMAT ((__force snd_pcm_hw_param_t) 1) /* Format */332 322 #ifdef TARGET_OS2 333 #define SNDRV_PCM_HW_PARAM_RATE_MASK ((__force snd_pcm_hw_param_t) 2) /* Format */323 #define SNDRV_PCM_HW_PARAM_RATE_MASK ((__force snd_pcm_hw_param_t) 1) /* Format */ 334 324 #endif 325 #define SNDRV_PCM_HW_PARAM_FORMAT ((__force snd_pcm_hw_param_t) 2) /* Format */ 335 326 #define SNDRV_PCM_HW_PARAM_SUBFORMAT ((__force snd_pcm_hw_param_t) 3) /* Subformat */ 336 327 #define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS -
GPL/trunk/alsa-kernel/include/sound/ymfpci.h
r35 r36 201 201 */ 202 202 203 typedef struct _snd_ymfpci_playback_bank {203 typedef struct snd_ymfpci_playback_bank { 204 204 u32 format; 205 205 u32 loop_default; … … 234 234 } snd_ymfpci_playback_bank_t; 235 235 236 typedef struct _snd_ymfpci_capture_bank {236 typedef struct snd_ymfpci_capture_bank { 237 237 u32 base; /* 32-bit address */ 238 238 u32 loop_end; /* 32-bit offset */ … … 241 241 } snd_ymfpci_capture_bank_t; 242 242 243 typedef struct _snd_ymfpci_effect_bank {243 typedef struct snd_ymfpci_effect_bank { 244 244 u32 base; /* 32-bit address */ 245 245 u32 loop_end; /* 32-bit offset */ … … 248 248 } snd_ymfpci_effect_bank_t; 249 249 250 typedef struct _snd_ymfpci_voice ymfpci_voice_t;251 typedef struct _snd_ymfpci_pcm ymfpci_pcm_t;252 typedef struct _snd_ymfpci ymfpci_t;250 typedef struct snd_ymfpci_voice ymfpci_voice_t; 251 typedef struct snd_ymfpci_pcm ymfpci_pcm_t; 252 typedef struct snd_ymfpci ymfpci_t; 253 253 254 254 typedef enum { … … 258 258 } ymfpci_voice_type_t; 259 259 260 struct _snd_ymfpci_voice {260 struct snd_ymfpci_voice { 261 261 ymfpci_t *chip; 262 262 int number; … … 282 282 } snd_ymfpci_pcm_type_t; 283 283 284 struct _snd_ymfpci_pcm {284 struct snd_ymfpci_pcm { 285 285 ymfpci_t *chip; 286 286 snd_ymfpci_pcm_type_t type; … … 299 299 }; 300 300 301 struct _snd_ymfpci {301 struct snd_ymfpci { 302 302 int irq; 303 303 … … 390 390 ymfpci_t ** rcodec); 391 391 392 int snd_ymfpci_suspend(struct pci_dev *pci, pm_message_t state); 393 int snd_ymfpci_resume(struct pci_dev *pci); 394 392 395 int snd_ymfpci_pcm(ymfpci_t *chip, int device, snd_pcm_t **rpcm); 393 396 int snd_ymfpci_pcm2(ymfpci_t *chip, int device, snd_pcm_t **rpcm);
Note:
See TracChangeset
for help on using the changeset viewer.