diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:01:49 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:17:48 -0500 |
commit | 6ac77bc180fbd985988015020c2e2347e802959d (patch) | |
tree | 1959127176dbc937fe4646d94e48f14cc013d087 /include/sound | |
parent | f956b4a3ae790e1bdde865ac42dd1b99b64a6256 (diff) |
[ALSA] Remove xxx_t typedefs: PCM OSS-emulation
Modules: ALSA<-OSS emulation
Remove xxx_t typedefs from the core PCM OSS-emulation codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/pcm_oss.h | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/include/sound/pcm_oss.h b/include/sound/pcm_oss.h index 0b67c9d105af..fddaddde47b4 100644 --- a/include/sound/pcm_oss.h +++ b/include/sound/pcm_oss.h | |||
@@ -22,10 +22,7 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | typedef struct _snd_pcm_plugin snd_pcm_plugin_t; | 25 | struct snd_pcm_oss_setup { |
26 | typedef struct _snd_pcm_oss_setup snd_pcm_oss_setup_t; | ||
27 | |||
28 | struct _snd_pcm_oss_setup { | ||
29 | char *task_name; | 26 | char *task_name; |
30 | unsigned int disable:1, | 27 | unsigned int disable:1, |
31 | direct:1, | 28 | direct:1, |
@@ -36,10 +33,10 @@ struct _snd_pcm_oss_setup { | |||
36 | buggyptr:1; | 33 | buggyptr:1; |
37 | unsigned int periods; | 34 | unsigned int periods; |
38 | unsigned int period_size; | 35 | unsigned int period_size; |
39 | snd_pcm_oss_setup_t *next; | 36 | struct snd_pcm_oss_setup *next; |
40 | }; | 37 | }; |
41 | 38 | ||
42 | typedef struct _snd_pcm_oss_runtime { | 39 | struct snd_pcm_oss_runtime { |
43 | unsigned params: 1, /* format/parameter change */ | 40 | unsigned params: 1, /* format/parameter change */ |
44 | prepare: 1, /* need to prepare the operation */ | 41 | prepare: 1, /* need to prepare the operation */ |
45 | trigger: 1, /* trigger flag */ | 42 | trigger: 1, /* trigger flag */ |
@@ -59,30 +56,30 @@ typedef struct _snd_pcm_oss_runtime { | |||
59 | size_t mmap_bytes; | 56 | size_t mmap_bytes; |
60 | char *buffer; /* vmallocated period */ | 57 | char *buffer; /* vmallocated period */ |
61 | size_t buffer_used; /* used length from period buffer */ | 58 | size_t buffer_used; /* used length from period buffer */ |
62 | snd_pcm_plugin_t *plugin_first; | 59 | struct snd_pcm_plugin *plugin_first; |
63 | snd_pcm_plugin_t *plugin_last; | 60 | struct snd_pcm_plugin *plugin_last; |
64 | unsigned int prev_hw_ptr_interrupt; | 61 | unsigned int prev_hw_ptr_interrupt; |
65 | } snd_pcm_oss_runtime_t; | 62 | }; |
66 | 63 | ||
67 | typedef struct _snd_pcm_oss_file { | 64 | struct snd_pcm_oss_file { |
68 | snd_pcm_substream_t *streams[2]; | 65 | struct snd_pcm_substream *streams[2]; |
69 | } snd_pcm_oss_file_t; | 66 | }; |
70 | 67 | ||
71 | typedef struct _snd_pcm_oss_substream { | 68 | struct snd_pcm_oss_substream { |
72 | unsigned oss: 1; /* oss mode */ | 69 | unsigned oss: 1; /* oss mode */ |
73 | snd_pcm_oss_setup_t *setup; /* active setup */ | 70 | struct snd_pcm_oss_setup *setup; /* active setup */ |
74 | snd_pcm_oss_file_t *file; | 71 | struct snd_pcm_oss_file *file; |
75 | } snd_pcm_oss_substream_t; | 72 | }; |
76 | 73 | ||
77 | typedef struct _snd_pcm_oss_stream { | 74 | struct snd_pcm_oss_stream { |
78 | snd_pcm_oss_setup_t *setup_list; /* setup list */ | 75 | struct snd_pcm_oss_setup *setup_list; /* setup list */ |
79 | struct semaphore setup_mutex; | 76 | struct semaphore setup_mutex; |
80 | snd_info_entry_t *proc_entry; | 77 | struct snd_info_entry *proc_entry; |
81 | } snd_pcm_oss_stream_t; | 78 | }; |
82 | 79 | ||
83 | typedef struct _snd_pcm_oss { | 80 | struct snd_pcm_oss { |
84 | int reg; | 81 | int reg; |
85 | unsigned int reg_mask; | 82 | unsigned int reg_mask; |
86 | } snd_pcm_oss_t; | 83 | }; |
87 | 84 | ||
88 | #endif /* __SOUND_PCM_OSS_H */ | 85 | #endif /* __SOUND_PCM_OSS_H */ |