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 /sound/core/oss/io.c | |
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 'sound/core/oss/io.c')
-rw-r--r-- | sound/core/oss/io.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sound/core/oss/io.c b/sound/core/oss/io.c index 63eca9aec96..322702e05f3 100644 --- a/sound/core/oss/io.c +++ b/sound/core/oss/io.c | |||
@@ -35,9 +35,9 @@ | |||
35 | * Basic io plugin | 35 | * Basic io plugin |
36 | */ | 36 | */ |
37 | 37 | ||
38 | static snd_pcm_sframes_t io_playback_transfer(snd_pcm_plugin_t *plugin, | 38 | static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin, |
39 | const snd_pcm_plugin_channel_t *src_channels, | 39 | const struct snd_pcm_plugin_channel *src_channels, |
40 | snd_pcm_plugin_channel_t *dst_channels, | 40 | struct snd_pcm_plugin_channel *dst_channels, |
41 | snd_pcm_uframes_t frames) | 41 | snd_pcm_uframes_t frames) |
42 | { | 42 | { |
43 | snd_assert(plugin != NULL, return -ENXIO); | 43 | snd_assert(plugin != NULL, return -ENXIO); |
@@ -58,9 +58,9 @@ static snd_pcm_sframes_t io_playback_transfer(snd_pcm_plugin_t *plugin, | |||
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||
61 | static snd_pcm_sframes_t io_capture_transfer(snd_pcm_plugin_t *plugin, | 61 | static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin, |
62 | const snd_pcm_plugin_channel_t *src_channels, | 62 | const struct snd_pcm_plugin_channel *src_channels, |
63 | snd_pcm_plugin_channel_t *dst_channels, | 63 | struct snd_pcm_plugin_channel *dst_channels, |
64 | snd_pcm_uframes_t frames) | 64 | snd_pcm_uframes_t frames) |
65 | { | 65 | { |
66 | snd_assert(plugin != NULL, return -ENXIO); | 66 | snd_assert(plugin != NULL, return -ENXIO); |
@@ -82,13 +82,13 @@ static snd_pcm_sframes_t io_capture_transfer(snd_pcm_plugin_t *plugin, | |||
82 | return 0; | 82 | return 0; |
83 | } | 83 | } |
84 | 84 | ||
85 | static snd_pcm_sframes_t io_src_channels(snd_pcm_plugin_t *plugin, | 85 | static snd_pcm_sframes_t io_src_channels(struct snd_pcm_plugin *plugin, |
86 | snd_pcm_uframes_t frames, | 86 | snd_pcm_uframes_t frames, |
87 | snd_pcm_plugin_channel_t **channels) | 87 | struct snd_pcm_plugin_channel **channels) |
88 | { | 88 | { |
89 | int err; | 89 | int err; |
90 | unsigned int channel; | 90 | unsigned int channel; |
91 | snd_pcm_plugin_channel_t *v; | 91 | struct snd_pcm_plugin_channel *v; |
92 | err = snd_pcm_plugin_client_channels(plugin, frames, &v); | 92 | err = snd_pcm_plugin_client_channels(plugin, frames, &v); |
93 | if (err < 0) | 93 | if (err < 0) |
94 | return err; | 94 | return err; |
@@ -100,13 +100,13 @@ static snd_pcm_sframes_t io_src_channels(snd_pcm_plugin_t *plugin, | |||
100 | return frames; | 100 | return frames; |
101 | } | 101 | } |
102 | 102 | ||
103 | int snd_pcm_plugin_build_io(snd_pcm_plug_t *plug, | 103 | int snd_pcm_plugin_build_io(struct snd_pcm_substream *plug, |
104 | snd_pcm_hw_params_t *params, | 104 | struct snd_pcm_hw_params *params, |
105 | snd_pcm_plugin_t **r_plugin) | 105 | struct snd_pcm_plugin **r_plugin) |
106 | { | 106 | { |
107 | int err; | 107 | int err; |
108 | snd_pcm_plugin_format_t format; | 108 | struct snd_pcm_plugin_format format; |
109 | snd_pcm_plugin_t *plugin; | 109 | struct snd_pcm_plugin *plugin; |
110 | 110 | ||
111 | snd_assert(r_plugin != NULL, return -ENXIO); | 111 | snd_assert(r_plugin != NULL, return -ENXIO); |
112 | *r_plugin = NULL; | 112 | *r_plugin = NULL; |