Changeset 36


Ignore:
Timestamp:
Dec 16, 2005, 12:18:54 AM (20 years ago)
Author:
vladest
Message:

Updated include files
Added readme and build tool

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  
    577577    AC97_TUNE_INV_EAPD,     /* inverted EAPD implementation */
    578578    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 */
    579580};
    580581
  • GPL/trunk/alsa-kernel/include/sound/asound.h

    r35 r36  
    2424#define __SOUND_ASOUND_H
    2525
    26 #if defined(LINUX) || defined(__LINUX__) || defined(__linux__)
    27 #include <linux/ioctl.h>
    28 #include <endian.h>
    29 #if __BYTE_ORDER == __LITTLE_ENDIAN
    3026#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
    3728#ifndef __KERNEL__
    3829#include <sys/time.h>
     
    329320typedef int __bitwise snd_pcm_hw_param_t;
    330321#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 */
    332322#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 */
    334324#endif
     325#define SNDRV_PCM_HW_PARAM_FORMAT       ((__force snd_pcm_hw_param_t) 2) /* Format */
    335326#define SNDRV_PCM_HW_PARAM_SUBFORMAT    ((__force snd_pcm_hw_param_t) 3) /* Subformat */
    336327#define SNDRV_PCM_HW_PARAM_FIRST_MASK   SNDRV_PCM_HW_PARAM_ACCESS
  • GPL/trunk/alsa-kernel/include/sound/ymfpci.h

    r35 r36  
    201201 */
    202202
    203 typedef struct _snd_ymfpci_playback_bank {
     203typedef struct snd_ymfpci_playback_bank {
    204204        u32 format;
    205205        u32 loop_default;
     
    234234} snd_ymfpci_playback_bank_t;
    235235
    236 typedef struct _snd_ymfpci_capture_bank {
     236typedef struct snd_ymfpci_capture_bank {
    237237        u32 base;                       /* 32-bit address */
    238238        u32 loop_end;                   /* 32-bit offset */
     
    241241} snd_ymfpci_capture_bank_t;
    242242
    243 typedef struct _snd_ymfpci_effect_bank {
     243typedef struct snd_ymfpci_effect_bank {
    244244        u32 base;                       /* 32-bit address */
    245245        u32 loop_end;                   /* 32-bit offset */
     
    248248} snd_ymfpci_effect_bank_t;
    249249
    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;
     250typedef struct snd_ymfpci_voice ymfpci_voice_t;
     251typedef struct snd_ymfpci_pcm ymfpci_pcm_t;
     252typedef struct snd_ymfpci ymfpci_t;
    253253
    254254typedef enum {
     
    258258} ymfpci_voice_type_t;
    259259
    260 struct _snd_ymfpci_voice {
     260struct snd_ymfpci_voice {
    261261        ymfpci_t *chip;
    262262        int number;
     
    282282} snd_ymfpci_pcm_type_t;
    283283
    284 struct _snd_ymfpci_pcm {
     284struct snd_ymfpci_pcm {
    285285        ymfpci_t *chip;
    286286        snd_ymfpci_pcm_type_t type;
     
    299299};
    300300
    301 struct _snd_ymfpci {
     301struct snd_ymfpci {
    302302        int irq;
    303303
     
    390390                      ymfpci_t ** rcodec);
    391391
     392int snd_ymfpci_suspend(struct pci_dev *pci, pm_message_t state);
     393int snd_ymfpci_resume(struct pci_dev *pci);
     394
    392395int snd_ymfpci_pcm(ymfpci_t *chip, int device, snd_pcm_t **rpcm);
    393396int snd_ymfpci_pcm2(ymfpci_t *chip, int device, snd_pcm_t **rpcm);
Note: See TracChangeset for help on using the changeset viewer.