aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/lola/lola.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-05-03 10:41:02 -0400
committerTakashi Iwai <tiwai@suse.de>2011-05-03 10:41:02 -0400
commit333ff3971f374d9a057fd6d1492a2ef78989974d (patch)
tree194f15d828c478ff3dfe22e597cf202383fd2ddd /sound/pci/lola/lola.h
parenta426c787233c87587b6cac797ac840162bdb09c2 (diff)
ALSA: lola - Use a single BDL
Use a single BDL for both buffers instead of allocating for each. Also a few tune-up to avoid the stream stalls in the PCM code and the prelimianry work for SG-buffer support are added, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lola/lola.h')
-rw-r--r--sound/pci/lola/lola.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/lola/lola.h b/sound/pci/lola/lola.h
index 23831a1a95ad..1041b0f0e20f 100644
--- a/sound/pci/lola/lola.h
+++ b/sound/pci/lola/lola.h
@@ -299,7 +299,6 @@ struct lola_stream {
299 unsigned int bufsize; 299 unsigned int bufsize;
300 unsigned int period_bytes; 300 unsigned int period_bytes;
301 unsigned int frags; 301 unsigned int frags;
302 struct snd_dma_buffer bdl; /* BDL buffer */
303 302
304 /* format + channel setup */ 303 /* format + channel setup */
305 unsigned int format_verb; 304 unsigned int format_verb;
@@ -314,6 +313,7 @@ struct lola_stream {
314 313
315struct lola_pcm { 314struct lola_pcm {
316 unsigned int num_streams; 315 unsigned int num_streams;
316 struct snd_dma_buffer bdl; /* BDL buffer */
317 struct lola_stream streams[MAX_STREAM_COUNT]; 317 struct lola_stream streams[MAX_STREAM_COUNT];
318}; 318};
319 319