commit | 0d22f41f6ba0cca34b7d92764577c42f4ed676af | [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 | c953aafbcbad59be934dfbfd06f81f439c1b9d0d [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>