Searched hist:a68c4d11336610dc348620766119db09675707c2 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/drivers/ |
H A D | dummy.c | diff a68c4d11336610dc348620766119db09675707c2 Fri Sep 04 05:19:36 CDT 2009 Takashi Iwai <tiwai@suse.de> 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: Takashi Iwai <tiwai@suse.de>
|