/
aky_player.h
35 lines (30 loc) · 1.74 KB
/
aky_player.h
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
29
30
31
32
33
34
35
// ____________________________
// ██▀▀█▀▀██▀▀▀▀▀▀▀█▀▀█ │ ▄▄ ▄▄
// ██ ▀ █▄ ▀██▄ ▀ ▄█ ▄▀▀ █ │ ██▄█ ██▄▀ ██▄▀ ▄█▀▄ ██▀
// █ █ █ ▀▀ ▄█ █ █ ▀▄█ █▄ │ ██ █ ██ ██ █ ▀█▄▀ ▄██
// ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀────────┘
// by Guillaume 'Aoineko' Blanchard under CC BY-SA license
//─────────────────────────────────────────────────────────────────────────────
// Arkos AKY replayer (Fastest)
//
// Arkos Tracker and the Z80 players are coded and designed by Julien Névo a.k.a Targhan/Arkos.
// https://www.julien-nevo.com/arkostracker/index.php/credits/
//─────────────────────────────────────────────────────────────────────────────
#pragma once
#include "arkos.h"
//=============================================================================
// FUNCTIONS
//=============================================================================
// Function: AKY_Init
// Initialize music and start playback
//
// Paramaters:
// data - Pointer to the music data
// num - Music number
void AKY_Init(const void* data, u8 num);
// Function: AKY_Stop
// Stop music playback
// void AKY_Stop();
// Function: AKY_Decode
// Decode a music frame and update the PSG
bool AKY_Decode();