projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm: sound: Complete migration to driver model
[oweals/u-boot.git]
/
arch
/
sandbox
/
include
/
asm
/
sdl.h
diff --git
a/arch/sandbox/include/asm/sdl.h
b/arch/sandbox/include/asm/sdl.h
index 0143ed9e621cce64aca411e790816573301fb69a..2799a8bee0690ba1e0ceb4d6b6bbcd61216e1e90 100644
(file)
--- a/
arch/sandbox/include/asm/sdl.h
+++ b/
arch/sandbox/include/asm/sdl.h
@@
-54,12
+54,12
@@
int sandbox_sdl_scan_keys(int key[], int max_keys);
int sandbox_sdl_key_pressed(int keycode);
/**
int sandbox_sdl_key_pressed(int keycode);
/**
- * sandbox_sdl_sound_
start() - start playing
a sound
+ * sandbox_sdl_sound_
play() - Play
a sound
*
*
- * @
frequency: Frequency of sounds in Hertz
- * @
return 0 if OK, -ENODEV if no sound is available
+ * @
data: Data to play (typically 16-bit)
+ * @
count: Number of bytes in data
*/
*/
-int sandbox_sdl_sound_
start(uint frequency
);
+int sandbox_sdl_sound_
play(const void *data, uint count
);
/**
* sandbox_sdl_sound_stop() - stop playing a sound
/**
* sandbox_sdl_sound_stop() - stop playing a sound
@@
-68,14
+68,6
@@
int sandbox_sdl_sound_start(uint frequency);
*/
int sandbox_sdl_sound_stop(void);
*/
int sandbox_sdl_sound_stop(void);
-/**
- * sandbox_sdl_sound_play() - Play a sound
- *
- * @data: Data to play (typically 16-bit)
- * @count: Number of bytes in data
- */
-int sandbox_sdl_sound_play(const void *data, uint count);
-
/**
* sandbox_sdl_sound_init() - set up the sound system
*
/**
* sandbox_sdl_sound_init() - set up the sound system
*
@@
-110,6
+102,11
@@
static inline int sandbox_sdl_sound_start(uint frequency)
return -ENODEV;
}
return -ENODEV;
}
+int sandbox_sdl_sound_play(const void *data, uint count)
+{
+ return -ENODEV;
+}
+
static inline int sandbox_sdl_sound_stop(void)
{
return -ENODEV;
static inline int sandbox_sdl_sound_stop(void)
{
return -ENODEV;