mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
ALSA: fireworks/bebob: Change type of argument for sampling rate
Originally, I intent to this argument given with 'struct snd_pcm_runtime.rate' or params_rate(). They return value of 'unsigned int'. So 'unsigned int' is better for the type of this argument. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
93219d0649
commit
4a286d5528
4 changed files with 4 additions and 4 deletions
|
@ -211,7 +211,7 @@ int snd_bebob_stream_discover(struct snd_bebob *bebob);
|
|||
int snd_bebob_stream_map(struct snd_bebob *bebob,
|
||||
struct amdtp_stream *stream);
|
||||
int snd_bebob_stream_init_duplex(struct snd_bebob *bebob);
|
||||
int snd_bebob_stream_start_duplex(struct snd_bebob *bebob, int rate);
|
||||
int snd_bebob_stream_start_duplex(struct snd_bebob *bebob, unsigned int rate);
|
||||
void snd_bebob_stream_stop_duplex(struct snd_bebob *bebob);
|
||||
void snd_bebob_stream_update_duplex(struct snd_bebob *bebob);
|
||||
void snd_bebob_stream_destroy_duplex(struct snd_bebob *bebob);
|
||||
|
|
|
@ -483,7 +483,7 @@ int snd_bebob_stream_init_duplex(struct snd_bebob *bebob)
|
|||
return err;
|
||||
}
|
||||
|
||||
int snd_bebob_stream_start_duplex(struct snd_bebob *bebob, int rate)
|
||||
int snd_bebob_stream_start_duplex(struct snd_bebob *bebob, unsigned int rate)
|
||||
{
|
||||
struct snd_bebob_rate_spec *rate_spec = bebob->spec->rate;
|
||||
struct amdtp_stream *master, *slave;
|
||||
|
|
|
@ -205,7 +205,7 @@ int snd_efw_command_get_sampling_rate(struct snd_efw *efw, unsigned int *rate);
|
|||
int snd_efw_command_set_sampling_rate(struct snd_efw *efw, unsigned int rate);
|
||||
|
||||
int snd_efw_stream_init_duplex(struct snd_efw *efw);
|
||||
int snd_efw_stream_start_duplex(struct snd_efw *efw, int sampling_rate);
|
||||
int snd_efw_stream_start_duplex(struct snd_efw *efw, unsigned int rate);
|
||||
void snd_efw_stream_stop_duplex(struct snd_efw *efw);
|
||||
void snd_efw_stream_update_duplex(struct snd_efw *efw);
|
||||
void snd_efw_stream_destroy_duplex(struct snd_efw *efw);
|
||||
|
|
|
@ -195,7 +195,7 @@ int snd_efw_stream_init_duplex(struct snd_efw *efw)
|
|||
return err;
|
||||
}
|
||||
|
||||
int snd_efw_stream_start_duplex(struct snd_efw *efw, int rate)
|
||||
int snd_efw_stream_start_duplex(struct snd_efw *efw, unsigned int rate)
|
||||
{
|
||||
struct amdtp_stream *master, *slave;
|
||||
atomic_t *slave_substreams;
|
||||
|
|
Loading…
Reference in a new issue