This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/util/jukebox/mixer.h

27 lines
495 B
C
Raw Permalink Normal View History

#pragma once
#include <stddef.h>
#include "./effect.h"
#include "./format.h"
struct jukebox_mixer_t;
typedef struct jukebox_mixer_t jukebox_mixer_t;
jukebox_mixer_t* /* OWNERSHIP */
jukebox_mixer_new(
const jukebox_format_t* format,
size_t reserve
);
void
jukebox_mixer_delete(
jukebox_mixer_t* mixer /* OWNERSHIP */
);
void
jukebox_mixer_add_effect(
jukebox_mixer_t* mixer,
jukebox_effect_t* effect /* must be alive while the mixer is alive */
);