Changeset 112 for GPL/branches/alsa-resync1/alsa-kernel/include
- Timestamp:
- May 31, 2007, 6:45:32 AM (18 years ago)
- 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 106 106 #define need_resched() (current->need_resched) 107 107 #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> 109 110 static inline struct proc_dir_entry *PDE(const struct inode *inode) 110 111 { -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/asoundef.h
r96 r112 156 156 #define MIDI_CTL_MSB_BREATH 0x02 157 157 #define MIDI_CTL_MSB_FOOT 0x04 158 #define MIDI_CTL_MSB_PORT NAMENTO_TIME 0x05158 #define MIDI_CTL_MSB_PORTAMENTO_TIME 0x05 159 159 #define MIDI_CTL_MSB_DATA_ENTRY 0x06 160 160 #define MIDI_CTL_MSB_MAIN_VOLUME 0x07 … … 172 172 #define MIDI_CTL_LSB_BREATH 0x22 173 173 #define MIDI_CTL_LSB_FOOT 0x24 174 #define MIDI_CTL_LSB_PORT NAMENTO_TIME 0x25174 #define MIDI_CTL_LSB_PORTAMENTO_TIME 0x25 175 175 #define MIDI_CTL_LSB_DATA_ENTRY 0x26 176 176 #define MIDI_CTL_LSB_MAIN_VOLUME 0x27 … … 204 204 #define MIDI_CTL_GENERAL_PURPOSE7 0x52 205 205 #define MIDI_CTL_GENERAL_PURPOSE8 0x53 206 #define MIDI_CTL_POR NAMENTO_CONTROL 0x54206 #define MIDI_CTL_PORTAMENTO_CONTROL 0x54 207 207 #define MIDI_CTL_E1_REVERB_DEPTH 0x5b 208 208 #define MIDI_CTL_E2_TREMOLO_DEPTH 0x5c -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/core.h
r109 r112 322 322 int snd_task_name(struct task_struct *task, char *name, size_t size); 323 323 #ifdef CONFIG_SND_VERBOSE_PRINTK 324 int snd_verbose_printk(const char *file, int line, const char *format); 324 void snd_verbose_printk(const char *file, int line, const char *format, ...); 325 #endif 326 #if defined(CONFIG_SND_DEBUG) && defined(CONFIG_SND_VERBOSE_PRINTK) 327 void snd_verbose_printd(const char *file, int line, const char *format, ...); 328 #endif 329 #if defined(CONFIG_SND_DEBUG) && !defined(CONFIG_SND_VERBOSE_PRINTK) 330 void snd_printd(const char *format, ...); 325 331 #endif 326 332 … … 364 370 365 371 #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) 373 377 #endif 374 378 … … 377 381 #define __ASTRING__(x) #x 378 382 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 380 387 #define snd_assert(expr, args...) do {\ 381 388 if (!(expr)) {\ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/driver.h
r109 r112 94 94 #endif 95 95 96 /*97 * Temporary hack, until linux/init.h is fixed.98 */99 #include <linux/init.h>100 #ifndef __devexit_p101 #define __devexit_p(x) x102 #endif103 104 96 #endif /* __SOUND_DRIVER_H */ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/minors.h
r96 r112 32 32 #define SNDRV_MINOR_HWDEP 4 /* 4 - 7 */ 33 33 #define SNDRV_MINOR_HWDEPS 4 34 #define SNDRV_MINOR_RAWMIDI 8 /* 8 - 1 1*/35 #define SNDRV_MINOR_RAWMIDIS 434 #define SNDRV_MINOR_RAWMIDI 8 /* 8 - 15 */ 35 #define SNDRV_MINOR_RAWMIDIS 8 36 36 #define SNDRV_MINOR_PCM_PLAYBACK 16 /* 16 - 23 */ 37 37 #define SNDRV_MINOR_PCM_CAPTURE 24 /* 24 - 31 */ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/pcm_params.h
r96 r112 22 22 * 23 23 */ 24 25 #include <linux/bitops.h>26 24 27 25 extern 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.
