view src/cs/services/buzm/buzm_api.h @ 299:91e61d00a6b5

add AT@BUZ and AT@BZSTOP commands for testing BUZM SWE
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Mar 2022 04:41:25 +0000
parents 8dfdf88d632f
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 */