Skip to content
Commit a68c4d11 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: dummy - Fake buffer allocations



Instead of allocating the real buffers, use a fake buffer and ignore
read/write in the dummy driver so that we can save the resources.
For mmap, a single page (unique to the direction, though) is reused
to all buffers.

When the app requires to read/write the real buffers, pass fake_buffer=0
module option at loading time.  This will get back to the old behavior.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b5d10781
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment