Ignore:
Timestamp:
May 31, 2007, 6:45:32 AM (18 years ago)
Author:
Brendan Oakley
Message:

Merged to Alsa 0.9.0rc1. Builds.

Location:
GPL/branches/alsa-resync1/alsa-kernel/include/sound
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/adriver.h

    r107 r112  
    106106#define need_resched() (current->need_resched)
    107107#endif
    108 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 5) && !defined TARGET_OS2
     108#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 4) && !defined TARGET_OS2
     109#include <linux/fs.h>
    109110static inline struct proc_dir_entry *PDE(const struct inode *inode)
    110111{
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/asoundef.h

    r96 r112  
    156156#define MIDI_CTL_MSB_BREATH             0x02
    157157#define MIDI_CTL_MSB_FOOT               0x04
    158 #define MIDI_CTL_MSB_PORTNAMENTO_TIME   0x05
     158#define MIDI_CTL_MSB_PORTAMENTO_TIME    0x05
    159159#define MIDI_CTL_MSB_DATA_ENTRY         0x06
    160160#define MIDI_CTL_MSB_MAIN_VOLUME        0x07
     
    172172#define MIDI_CTL_LSB_BREATH             0x22
    173173#define MIDI_CTL_LSB_FOOT               0x24
    174 #define MIDI_CTL_LSB_PORTNAMENTO_TIME   0x25
     174#define MIDI_CTL_LSB_PORTAMENTO_TIME    0x25
    175175#define MIDI_CTL_LSB_DATA_ENTRY         0x26
    176176#define MIDI_CTL_LSB_MAIN_VOLUME        0x27
     
    204204#define MIDI_CTL_GENERAL_PURPOSE7       0x52
    205205#define MIDI_CTL_GENERAL_PURPOSE8       0x53
    206 #define MIDI_CTL_PORNAMENTO_CONTROL     0x54
     206#define MIDI_CTL_PORTAMENTO_CONTROL     0x54
    207207#define MIDI_CTL_E1_REVERB_DEPTH        0x5b
    208208#define MIDI_CTL_E2_TREMOLO_DEPTH       0x5c
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/core.h

    r109 r112  
    322322int snd_task_name(struct task_struct *task, char *name, size_t size);
    323323#ifdef CONFIG_SND_VERBOSE_PRINTK
    324 int snd_verbose_printk(const char *file, int line, const char *format);
     324void snd_verbose_printk(const char *file, int line, const char *format, ...);
     325#endif
     326#if defined(CONFIG_SND_DEBUG) && defined(CONFIG_SND_VERBOSE_PRINTK)
     327void snd_verbose_printd(const char *file, int line, const char *format, ...);
     328#endif
     329#if defined(CONFIG_SND_DEBUG) && !defined(CONFIG_SND_VERBOSE_PRINTK)
     330void snd_printd(const char *format, ...);
    325331#endif
    326332
     
    364370
    365371#ifdef CONFIG_SND_VERBOSE_PRINTK
    366 #define snd_printk(format, args...) do { \
    367         printk(snd_verbose_printk(__FILE__, __LINE__, format) ? format + 3 : format, ##args); \
    368 } while (0)
    369 #else
    370 #define snd_printk(format, args...) do { \
    371         printk(format, ##args); \
    372 } while (0)
     372#define snd_printk(format, args...) \
     373        snd_verbose_printk(__FILE__, __LINE__, format, ##args)
     374#else
     375#define snd_printk(format, args...) \
     376        printk(format, ##args)
    373377#endif
    374378
     
    377381#define __ASTRING__(x) #x
    378382
    379 #define snd_printd(format, args...) snd_printk(format, ##args)
     383#ifdef CONFIG_SND_VERBOSE_PRINTK
     384#define snd_printd(format, args...) \
     385        snd_verbose_printd(__FILE__, __LINE__, format, ##args)
     386#endif
    380387#define snd_assert(expr, args...) do {\
    381388        if (!(expr)) {\
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/driver.h

    r109 r112  
    9494#endif
    9595
    96 /*
    97  * Temporary hack, until linux/init.h is fixed.
    98  */
    99 #include <linux/init.h>
    100 #ifndef __devexit_p
    101 #define __devexit_p(x) x
    102 #endif
    103 
    10496#endif /* __SOUND_DRIVER_H */
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/minors.h

    r96 r112  
    3232#define SNDRV_MINOR_HWDEP               4       /* 4 - 7 */
    3333#define SNDRV_MINOR_HWDEPS              4
    34 #define SNDRV_MINOR_RAWMIDI             8       /* 8 - 11 */
    35 #define SNDRV_MINOR_RAWMIDIS            4
     34#define SNDRV_MINOR_RAWMIDI             8       /* 8 - 15 */
     35#define SNDRV_MINOR_RAWMIDIS            8
    3636#define SNDRV_MINOR_PCM_PLAYBACK        16      /* 16 - 23 */
    3737#define SNDRV_MINOR_PCM_CAPTURE         24      /* 24 - 31 */
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/pcm_params.h

    r96 r112  
    2222 *
    2323 */
    24 
    25 #include <linux/bitops.h>
    2624
    2725extern int snd_pcm_hw_param_mask(snd_pcm_substream_t *pcm, snd_pcm_hw_params_t *params,
Note: See TracChangeset for help on using the changeset viewer.