[U-Boot] [PATCH v2 06/22] dm: sandbox: Update sound to use two buffers
sjg at google.com
sjg at google.com
Fri Dec 14 15:38:54 UTC 2018
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 at chromium.org>
---
Changes in v2: None
arch/sandbox/cpu/sdl.c | 88 ++++++++++++++++++++++++++++++------------
1 file changed, 63 insertions(+), 25 deletions(-)
Applied to u-boot-dm/master
More information about the U-Boot
mailing list