Mercurial > mplayer.hg
comparison libaf/af.h @ 8674:93212da0032e
10l memory leak + bug fixes in ms to sample time conversion
author | anders |
---|---|
date | Tue, 31 Dec 2002 05:42:20 +0000 |
parents | d6f40a06867b |
children | 558f0b1f45ee |
comparison
equal
deleted
inserted
replaced
8673:4c0882ee0f4d | 8674:93212da0032e |
---|---|
185 int af_from_dB(int n, float* in, float* out, float k, float mi, float ma); | 185 int af_from_dB(int n, float* in, float* out, float k, float mi, float ma); |
186 /* Helper function used to convert from gain value to dB. Returns | 186 /* Helper function used to convert from gain value to dB. Returns |
187 AF_OK if of and AF_ERROR if fail */ | 187 AF_OK if of and AF_ERROR if fail */ |
188 int af_to_dB(int n, float* in, float* out, float k); | 188 int af_to_dB(int n, float* in, float* out, float k); |
189 /* Helper function used to convert from ms to sample time*/ | 189 /* Helper function used to convert from ms to sample time*/ |
190 int af_from_ms(int n, float* in, float* out, int rate, float mi, float ma); | 190 int af_from_ms(int n, float* in, int* out, int rate, float mi, float ma); |
191 /* Helper function used to convert from sample time to ms */ | 191 /* Helper function used to convert from sample time to ms */ |
192 int af_to_ms(int n, float* in, float* out, int rate); | 192 int af_to_ms(int n, int* in, float* out, int rate); |
193 /* Helper function for testing the output format */ | 193 /* Helper function for testing the output format */ |
194 int af_test_output(struct af_instance_s* af, af_data_t* out); | 194 int af_test_output(struct af_instance_s* af, af_data_t* out); |
195 | 195 |
196 /* Memory reallocation macro: if a local buffer is used (i.e. if the | 196 /* Memory reallocation macro: if a local buffer is used (i.e. if the |
197 filter doesn't operate on the incoming buffer this macro must be | 197 filter doesn't operate on the incoming buffer this macro must be |