This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds support to play both CDAudio single MP3 as well as loading individual tracks directly from a music directory.
- Loading branch information
Showing
9 changed files
with
501 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#pragma once | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
|
||
typedef struct MUSIC_BACKEND { | ||
bool (*init)(struct MUSIC_BACKEND *backend); | ||
const char *(*describe)(const struct MUSIC_BACKEND *backend); | ||
int32_t (*play)(const struct MUSIC_BACKEND *backend, int32_t track_id); | ||
void *data; | ||
} MUSIC_BACKEND; |
Oops, something went wrong.