diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-09-04 06:19:36 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-09-07 03:01:10 -0400 |
commit | a68c4d11336610dc348620766119db09675707c2 (patch) | |
tree | 5d12014b8547f6dd13281cd1b6be2bd3d38adfa9 /include/sound/pcm.h | |
parent | b5d10781731ece07bb2049e7743907194a5cc3f1 (diff) |
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>
Diffstat (limited to 'include/sound/pcm.h')
0 files changed, 0 insertions, 0 deletions