ALSA: fireworks: unify substream counter
This commit is a part of preparation to perform allocation/release of isochronous resources in pcm.hw_params/hw_free callbacks. It's inconvenient to handle two isochronous context separately each other. This commit unifies the counters to handle the two at the same time. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Takashi Iwai

parent
33e41a5ce5
commit
1dc5921082
@@ -89,8 +89,7 @@ struct snd_efw {
|
||||
struct amdtp_stream rx_stream;
|
||||
struct cmp_connection out_conn;
|
||||
struct cmp_connection in_conn;
|
||||
unsigned int capture_substreams;
|
||||
unsigned int playback_substreams;
|
||||
unsigned int substreams_counter;
|
||||
|
||||
/* hardware metering parameters */
|
||||
unsigned int phys_out;
|
||||
|
Reference in New Issue
Block a user