libmsx
C library for MSX
Loading...
Searching...
No Matches
audio_efx_amp.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 */
16#ifndef AUDIO_EFX_AMP_H_
17#define AUDIO_EFX_AMP_H_
18
19#include <stdint.h>
20
75void audio_efx_amp(void);
76
82void audio_efx_amp_set_volume(uint8_t volume);
83
90
99void audio_efx_amp_fadeout(uint8_t ticks);
100
109void audio_efx_amp_fadein(uint8_t ticks);
110
120
123#endif // AUDIO_EFX_AMP_H_
void audio_efx_amp_fadein(uint8_t ticks)
MSX Increase the main volume level by one for each specified period of time.
int8_t audio_efx_amp_get_fade(void)
MSX Return the status of fade-in/out.
void audio_efx_amp_fadeout(uint8_t ticks)
MSX Decrease the main volume level by one for each specified period of time.
void audio_efx_amp_set_volume(uint8_t volume)
MSX Sets the main volume level to the AMP effector.
uint8_t audio_efx_amp_get_volume(void)
MSX Gets the current main volume level from the AMP effector.
void audio_efx_amp(void)
MSX The AMP effector for the libmsx audio replayer.