[PATCH 2/3] sound: add CONFIG_SOUND_SINE symbol

Simon Glass sjg at chromium.org
Sun Dec 4 22:18:24 CET 2022


Hi Heinrich,

On Mon, 5 Dec 2022 at 09:53, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Provide a configuration symbol to allow the sound command play a sine wave
> instead of a square wave.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  drivers/sound/Kconfig        |  6 ++++++
>  drivers/sound/sound-uclass.c | 10 ++++++++--
>  test/dm/sound.c              | 20 ++++++++++++--------
>  3 files changed, 26 insertions(+), 10 deletions(-)

This should be a runtime setting, so we can test both. Probably it
needs another arg to sound_beep().

Regards,
Simon


More information about the U-Boot mailing list