mirror of
https://github.com/pret/pokeemerald.git
synced 2026-03-21 17:54:57 -05:00
Some checks failed
CI / build (push) Has been cancelled
* Convert uncompress samples to .wav files, and introduce wav2agb with matching capabilities Convert cries Remove aif2pcm and cleanup wav2agb * Add --no-pad option to support hq mixer * Update wav2agb README * Include the alignment padding in wav2agb * cleanup
27 lines
584 B
C
27 lines
584 B
C
#pragma once
|
|
|
|
#include <string>
|
|
#include <algorithm>
|
|
#include <cstdint>
|
|
|
|
enum class cmp_type {
|
|
none, dpcm
|
|
};
|
|
|
|
enum class out_type {
|
|
assembly, binary
|
|
};
|
|
|
|
void enable_dpcm_verbose();
|
|
void enable_dpcm_lookahead_fast();
|
|
void disable_dpcm_padding();
|
|
void set_dpcm_lookahead(size_t lookahead);
|
|
void set_wav_loop_start(uint32_t start);
|
|
void set_wav_loop_end(uint32_t end);
|
|
void set_wav_tune(double tune);
|
|
void set_wav_key(uint8_t key);
|
|
void set_wav_rate(uint32_t rate);
|
|
|
|
void convert(const std::string&, const std::string&,
|
|
const std::string& sym, cmp_type ct, out_type ot);
|