mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-12 02:05:54 +00:00
23 lines
361 B
C
23 lines
361 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (c) 2013 Google, Inc
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/sound.h>
|
|
#include <asm/sdl.h>
|
|
|
|
int sound_play(uint32_t msec, uint32_t frequency)
|
|
{
|
|
sandbox_sdl_sound_start(frequency);
|
|
mdelay(msec);
|
|
sandbox_sdl_sound_stop();
|
|
|
|
return 0;
|
|
}
|
|
|
|
int sound_init(const void *blob)
|
|
{
|
|
return sandbox_sdl_sound_init();
|
|
}
|