view src/cs/services/buzm/buzm_api.h @ 297:8dfdf88d632f

BUZM SWE initial implementation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Mar 2022 03:45:41 +0000
parents
children
line wrap: on
line source

/*
 * This header file defines the external API of our BUZM SWE,
 * callable from other tasks such as UI or AT commands.
 */

#ifndef __BUZM_API_H
#define __BUZM_API_H

#include "rv/rv_general.h"

#define	BUZM_VOLUME_MIN		1
#define	BUZM_VOLUME_MAX		64

T_RV_RET buzm_play_melody(const char *pathname, UINT8 volume, BOOL loop);
T_RV_RET buzm_stop_melody(void);

#endif	/* include guard */