diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-05-03 16:41:02 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-03 16:41:02 +0200 |
commit | 333ff3971f374d9a057fd6d1492a2ef78989974d (patch) | |
tree | 194f15d828c478ff3dfe22e597cf202383fd2ddd /sound/pci/lola/lola.h | |
parent | a426c787233c87587b6cac797ac840162bdb09c2 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/lola/lola.h b/sound/pci/lola/lola.h index 23831a1a95a..1041b0f0e20 100644 --- a/sound/pci/lola/lola.h +++ b/sound/pci/lola/lola.h @@ -299,7 +299,6 @@ struct lola_stream { unsigned int bufsize; unsigned int period_bytes; unsigned int frags; - struct snd_dma_buffer bdl; /* BDL buffer */ /* format + channel setup */ unsigned int format_verb; @@ -314,6 +313,7 @@ struct lola_stream { struct lola_pcm { unsigned int num_streams; + struct snd_dma_buffer bdl; /* BDL buffer */ struct lola_stream streams[MAX_STREAM_COUNT]; }; |