ALSA: fireworks: configure sampling transfer frequency in pcm.hw_params callback
This commit is a part of preparation to perform allocation/release of isochronous resources in pcm.hw_params/hw_free callbacks. At present, several operations are done in pcm.prepare callback. To reduce load of the callback, This commit splits out an operation to set sampling transfer frequency in pcm.hw_params callback. Signed-off-by:Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Showing
- sound/firewire/fireworks/fireworks.h 2 additions, 1 deletionsound/firewire/fireworks/fireworks.h
- sound/firewire/fireworks/fireworks_midi.c 5 additions, 2 deletionssound/firewire/fireworks/fireworks_midi.c
- sound/firewire/fireworks/fireworks_pcm.c 8 additions, 6 deletionssound/firewire/fireworks/fireworks_pcm.c
- sound/firewire/fireworks/fireworks_stream.c 42 additions, 23 deletionssound/firewire/fireworks/fireworks_stream.c
Loading
Please register or sign in to comment