aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/lola/lola.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-05-03 16:59:27 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-03 16:59:27 +0200
commit7e79f2267605e59492fef92b966dddc3c6a68b41 (patch)
tree65a091902884420f475ec284ef3b77a021ab647f /sound/pci/lola/lola.h
parentALSA: lola - Allow granularity changes (diff)
downloadlinux-dev-7e79f2267605e59492fef92b966dddc3c6a68b41.tar.xz
linux-dev-7e79f2267605e59492fef92b966dddc3c6a68b41.zip
ALSA: lola - Add SRC refcounting
Added the refcounting for the exclusive SRC control. Also, fixed the possible stall after PCM pause operations. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lola/lola.h')
-rw-r--r--sound/pci/lola/lola.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/lola/lola.h b/sound/pci/lola/lola.h
index bc8110ff6b46..180c2c124620 100644
--- a/sound/pci/lola/lola.h
+++ b/sound/pci/lola/lola.h
@@ -306,6 +306,7 @@ struct lola_stream {
/* flags */
unsigned int opened:1;
unsigned int prepared:1;
+ unsigned int paused:1;
unsigned int running:1;
};
@@ -356,6 +357,8 @@ struct lola {
/* clock */
struct lola_clock_widget clock;
+ int ref_count_rate;
+ unsigned int sample_rate;
/* mixer */
struct lola_mixer_widget mixer;
@@ -370,7 +373,6 @@ struct lola {
unsigned int sample_rate_max;
/* flags */
- unsigned int running :1;
unsigned int initialized :1;
unsigned int cold_reset :1;