blip_buf

Undocumented in source.

Members

Aliases

buf_t
alias buf_t = int
Undocumented in source.
fixed_t
alias fixed_t = ulong
Undocumented in source.

Functions

ARITH_SHIFT
int ARITH_SHIFT(int n, int shift)
Undocumented in source. Be warned that the author may not have intended to support it.
CLAMP
void CLAMP(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
SAMPLES
buf_t* SAMPLES(blip_t* buf)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_add_delta
void blip_add_delta(blip_t* m, uint time, int delta)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_add_delta_fast
void blip_add_delta_fast(blip_t* m, uint time, int delta)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_clear
void blip_clear(blip_t* m)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_clocks_needed
int blip_clocks_needed(blip_t* m, int samples)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_delete
void blip_delete(blip_t* m)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_end_frame
void blip_end_frame(blip_t* m, uint t)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_new
blip_t* blip_new(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_read_samples
int blip_read_samples(blip_t* m, short* _out, int count, int stereo)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_samples_avail
int blip_samples_avail(blip_t* m)
Undocumented in source. Be warned that the author may not have intended to support it.
blip_set_rates
void blip_set_rates(blip_t* m, double clock_rate, double sample_rate)
Undocumented in source. Be warned that the author may not have intended to support it.
check_assumptions
void check_assumptions()
Undocumented in source. Be warned that the author may not have intended to support it.
remove_samples
void remove_samples(blip_t* m, int count)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

bass_shift
enum bass_shift;
Undocumented in source.
blip_max_frame
enum blip_max_frame;

Maximum number of samples that can be generated from one time frame.

blip_max_ratio
enum blip_max_ratio;

Maximum clock_rate/sample_rate ratio. For a given sample_rate, clock_rate must not be greater than sample_rate*blip_max_ratio.

buf_extra
enum buf_extra;
Undocumented in source.
delta_bits
enum delta_bits;
Undocumented in source.
delta_unit
enum delta_unit;
Undocumented in source.
end_frame_extra
enum end_frame_extra;
Undocumented in source.
frac_bits
enum frac_bits;
Undocumented in source.
half_width
enum half_width;
Undocumented in source.
max_sample
enum max_sample;
Undocumented in source.
min_sample
enum min_sample;
Undocumented in source.
phase_bits
enum phase_bits;
Undocumented in source.
phase_count
enum phase_count;
Undocumented in source.
pre_shift
enum pre_shift;
Undocumented in source.
time_bits
enum time_bits;
Undocumented in source.

Structs

blip_t
struct blip_t

Sample buffer that resamples to output rate and accumulates samples until they're read out

Variables

bl_step
short[half_width][phase_count + 1] bl_step;
Undocumented in source.
time_unit
fixed_t time_unit;
Undocumented in source.

Meta