diff options
author | Simon Glass <sjg@chromium.org> | 2014-02-27 13:26:18 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-03-17 20:05:48 -0600 |
commit | c34c0246a3600dc4712247b267f71576234e403b (patch) | |
tree | d0e0a3386e5ceedf3f99c18f084a57f439520b88 /arch/sandbox | |
parent | bbc09bf27e77dc80f74054f7fc8a66111dd113c6 (diff) |
sandbox: Add a simple sound driver
Add a sound driver for sandbox, which uses SDL.
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/include/asm/arch-sandbox/sound.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/arch-sandbox/sound.h b/arch/sandbox/include/asm/arch-sandbox/sound.h new file mode 100644 index 00000000000..a32e8c802d7 --- /dev/null +++ b/arch/sandbox/include/asm/arch-sandbox/sound.h @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2013 Google, Inc + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __SANDBOX_SOUND_H +#define __SANDBOX_SOUND_H + +int sound_play(unsigned int msec, unsigned int frequency); + +int sound_init(const void *blob); + +#endif |