commit | e625b68b04a400ba377ec0a5b958bde0bc6244ff | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Dec 10 10:37:35 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 13 16:32:49 2018 -0700 |
tree | 0487b80bb20eac7868be358bec6f5446a7f4af67 | |
parent | e96fa6c91177d0aa81119d1d24cc0aa2dd663581 [diff] |
dm: sandbox: Update sound to use two buffers At present we use a single buffer for sound which means we cannot be playing one sound while queueing up the next. This wouldn't matter except that a long sound (more than a second) has to be created as a single buffer, thus using a lot of memory. To better mimic what real sound drivers do, add support for double buffering in sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>