diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-12-08 18:10:35 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-12-10 12:44:37 +0300 |
commit | 288a8d0cb04f7715c7c302c8a40bdb227142f3a6 (patch) | |
tree | 9427dabd4ef1f858e4e7315a0ebeb1e3760dafa9 /sound/firewire/dice/dice.h | |
parent | bf35df66f1c613b46e054ca35ceb5caddacc6fa8 (diff) | |
download | linux-288a8d0cb04f7715c7c302c8a40bdb227142f3a6.tar.xz |
ALSA: dice: Change the way to start stream
Streaming functionality can start streams when rate is given but currently
some codes are in PCM functionality.
This commit changes the way to start stream and add some arrangement
to make it easy to understand the way.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/dice/dice.h')
-rw-r--r-- | sound/firewire/dice/dice.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/firewire/dice/dice.h b/sound/firewire/dice/dice.h index 969189a6604f..8be530fe1c34 100644 --- a/sound/firewire/dice/dice.h +++ b/sound/firewire/dice/dice.h @@ -160,9 +160,7 @@ extern const unsigned int snd_dice_rates[SND_DICE_RATES_COUNT]; int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, unsigned int *mode); -int snd_dice_stream_start_packets(struct snd_dice *dice); -int snd_dice_stream_start(struct snd_dice *dice); -void snd_dice_stream_stop_packets(struct snd_dice *dice); +int snd_dice_stream_start(struct snd_dice *dice, unsigned int rate); void snd_dice_stream_stop(struct snd_dice *dice); int snd_dice_stream_init(struct snd_dice *dice); void snd_dice_stream_destroy(struct snd_dice *dice); |