Changeset 224 for GPL/branches/alsa-resync1/alsa-kernel/include
- Timestamp:
- Jul 26, 2007, 7:21:09 AM (18 years ago)
- Location:
- GPL/branches/alsa-resync1/alsa-kernel/include/sound
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/include/sound/asound.h
r96 r224 1 1 /* 2 2 * Advanced Linux Sound Architecture - ALSA - Driver 3 * Copyright (c) 1994-200 0by Jaroslav Kysela <perex@suse.cz>,3 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@suse.cz>, 4 4 * Abramo Bagnara <abramo@alsa-project.org> 5 5 * -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/core.h
r222 r224 31 31 32 32 /* Typedef's */ 33 typedef struct time valsnd_timestamp_t;33 typedef struct timespec snd_timestamp_t; 34 34 #ifndef TARGET_OS2 35 35 typedef enum sndrv_card_type snd_card_type; … … 325 325 void snd_dma_program(unsigned long dma, const void *buf, unsigned int size, unsigned short mode); 326 326 void snd_dma_disable(unsigned long dma); 327 unsigned int snd_dma_ residue(unsigned long dma);327 unsigned int snd_dma_pointer(unsigned long dma, unsigned int size); 328 328 329 329 /* misc.c */ -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/driver.h
r210 r224 57 57 #endif /* TARGET_OS2 */ 58 58 59 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)60 #if defined(__i386__) || defined(__ppc__) || defined(__x86_64__)61 /*62 * Here a dirty hack for 2.4 kernels.. See sound/core/memory.c.63 */64 #define HACK_PCI_ALLOC_CONSISTENT65 #include <linux/pci.h>66 void *snd_pci_hack_alloc_consistent(struct pci_dev *hwdev, size_t size,67 dma_addr_t *dma_handle);68 #undef pci_alloc_consistent69 #define pci_alloc_consistent snd_pci_hack_alloc_consistent70 #endif /* i386 or ppc */71 #endif /* 2.4.0 */72 73 59 #ifdef CONFIG_SND_DEBUG_MEMORY 74 60 #include <linux/slab.h> -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/initval.h
r222 r224 26 26 #define MODULE_GENERIC_STRING(name, string) \ 27 27 static const char __module_generic_string_##name [] \ 28 __attribute__ (( section(".modstring"))) = #name "=" string;28 __attribute__ ((unused, __section__(".modstring"))) = #name "=" string; 29 29 #else 30 30 #define MODULE_GENERIC_STRING(name, string) … … 102 102 #define SNDRV_BOOLEAN_FALSE_DESC "allows:{{0,Disabled},{1,Enabled}},default:0,dialog:check" 103 103 104 #define SNDRV_ENABLED "enable:( snd_enable)"104 #define SNDRV_ENABLED "enable:(enable)" 105 105 106 106 #define SNDRV_INDEX_DESC SNDRV_ENABLED ",allows:{{0,7}},unique,skill:required,dialog:list" -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/mixer_oss.h
r222 r224 32 32 typedef int (*snd_mixer_oss_get_recsrc_t)(snd_mixer_oss_file_t *fmixer, snd_mixer_oss_slot_t *chn, int *active); 33 33 typedef int (*snd_mixer_oss_put_recsrc_t)(snd_mixer_oss_file_t *fmixer, snd_mixer_oss_slot_t *chn, int active); 34 typedef int (*snd_mixer_oss_get_recsrce_t)(snd_mixer_oss_file_t *fmixer, int *active_index);35 typedef int (*snd_mixer_oss_put_recsrce_t)(snd_mixer_oss_file_t *fmixer, int active_index);34 typedef int (*snd_mixer_oss_get_recsrce_t)(snd_mixer_oss_file_t *fmixer, unsigned int *active_index); 35 typedef int (*snd_mixer_oss_put_recsrce_t)(snd_mixer_oss_file_t *fmixer, unsigned int active_index); 36 36 37 37 #define SNDRV_OSS_MAX_MIXERS 32 -
GPL/branches/alsa-resync1/alsa-kernel/include/sound/uda1341.h
r215 r224 16 16 */ 17 17 18 /* uda1341.h,v 1. 2 2002/04/17 07:53:22perex Exp */18 /* uda1341.h,v 1.4 2003/02/25 12:48:16 perex Exp */ 19 19 20 20 #define UDA1341_ALSA_NAME "snd-uda1341" 21 22 /* 23 * Default rate set after inicialization 24 */ 25 #define AUDIO_RATE_DEFAULT 44100 21 26 22 27 /* … … 161 166 * 162 167 * UDA1341 datasheet on page 21: Peak value (dB) = (Peak level - 63.5)*5*log2 163 * There is an tab elwith these values [level]=value: [3]=-90.31, [7]=-84.29168 * There is an table with these values [level]=value: [3]=-90.31, [7]=-84.29 164 169 * [61]=-2.78, [62] = -1.48, [63] = 0.0 165 170 * I tried to compute it, but using but even using logarithm with base either 10 or 2
Note:
See TracChangeset
for help on using the changeset viewer.
