diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-06 10:07:01 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-06 10:07:01 -0500 |
commit | 14f2d087a3d6347ba0ff7a7e9aaff6955e53e7a8 (patch) | |
tree | bc4677f00c57b7ff42a0852a50d213266896e68a /arch/sandbox/include/asm/test.h | |
parent | 1c470f32f74248ff4aa145bf033fb6524dc7fc2e (diff) | |
parent | 304bc9f437df51b4d982fe25fd0988350c8f5fc9 (diff) |
Merge tag 'sound-2023-01-rc4' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for sound-2023-01-rc4
* Avoid endless loop and amend unit test
* Add man-page for the sound command
* Fix sandbox sound driver
Diffstat (limited to 'arch/sandbox/include/asm/test.h')
-rw-r--r-- | arch/sandbox/include/asm/test.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.h index 0406085917f..568738c16d5 100644 --- a/arch/sandbox/include/asm/test.h +++ b/arch/sandbox/include/asm/test.h @@ -189,6 +189,16 @@ int sandbox_get_setup_called(struct udevice *dev); int sandbox_get_sound_active(struct udevice *dev); /** + * sandbox_get_sound_count() - Read back the count of the sound data so far + * + * This data is provided to the sandbox driver by the sound play() method. + * + * @dev: Device to check + * Return: count of audio data + */ +int sandbox_get_sound_count(struct udevice *dev); + +/** * sandbox_get_sound_sum() - Read back the sum of the sound data so far * * This data is provided to the sandbox driver by the sound play() method. |