libmsx
C library for MSX
Loading...
Searching...
No Matches
audio_dec.h
Go to the documentation of this file.
1// -*- coding: utf-8-unix -*-
2/*
3 * Copyright (c) 2021-2024 Daishi Mori (mori0091)
4 *
5 * This software is released under the MIT License.\n
6 * See https://github.com/mori0091/libmsx/blob/main/LICENSE
7 *
8 * GitHub libmsx project\n
9 * https://github.com/mori0091/libmsx
10 */
17#ifndef AUDIO_DEC_H_
18#define AUDIO_DEC_H_
19
20#include <stdbool.h>
21
89typedef struct AudioDecoder {
117 bool (*decode_update)(void);
118
135 void (*decode_final)(void);
136
148 void (*set_repeat)(bool repeat);
149
151
154#endif // AUDIO_DEC_H_
The audio decoder interface.
Definition audio_dec.h:89
bool(* decode_update)(void)
Function pointer to the decoder I/F decode_update().
Definition audio_dec.h:117
void(* set_repeat)(bool repeat)
Function pointer to the decoder I/F set_repeat().
Definition audio_dec.h:148
void(* decode_final)(void)
Function pointer to the decoder I/F decode_final().
Definition audio_dec.h:135