summaryrefslogtreecommitdiff
path: root/project/Core/Inc/Project/player.h
blob: fa779b19b61e35fe07ce469f294e195bbcf5aa38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * player_actions.h
 *
 *  Created on: Oct 17, 2025
 *      Author: sowgro
 */

#ifndef INC_PROJECT_PLAYER_H_
#define INC_PROJECT_PLAYER_H_

#include <stdint.h>

#define PLAYING_STATE (1)
#define PAUSED_STATE (2)
#define STOPPED_STATE (3)

uint8_t player_get_state();
void player_set_state(uint8_t newState);

void player_help();
void player_next();
void player_play();
void player_pause();
void player_stop();

void player_loop();

#endif /* INC_PROJECT_PLAYER_H_ */