view src/cs/services/buzm/buzm_messages_i.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

/*
 * In this header file we are going to define our internal messages
 * that will be sent to our BUZM task by our API layer.
 */

#ifndef __BUZM_MESSAGES_I
#define __BUZM_MESSAGES_I

#include "rv/rv_general.h"
#include "ffs/ffs_api.h"

struct buzm_start_msg {
	T_RV_HDR hdr;
	T_FFS_FD fd;
	UINT8 volume;
	BOOL loop;
};

struct buzm_stop_msg {
	T_RV_HDR hdr;
};

enum buzm_msg_id {
	BUZM_START_REQ	= 1,
	BUZM_STOP_REQ
};

#endif