replaygain_analysis : Rename float_t -> flac_float_t.

There were a number of reports that float_t clashed with a type
defined in Linux system header files.
This commit is contained in:
Erik de Castro Lopo
2014-06-24 21:00:58 +10:00
parent 6c9abe3690
commit 731655ad23
3 changed files with 56 additions and 56 deletions

View File

@@ -42,15 +42,15 @@
extern "C" {
#endif
typedef float float_t; /* Type used for filtering */
typedef float flac_float_t; /* Type used for filtering */
extern float_t ReplayGainReferenceLoudness; /* in dB SPL, currently == 89.0 */
extern flac_float_t ReplayGainReferenceLoudness; /* in dB SPL, currently == 89.0 */
int InitGainAnalysis ( long samplefreq );
int ValidGainFrequency ( long samplefreq );
int AnalyzeSamples ( const float_t* left_samples, const float_t* right_samples, size_t num_samples, int num_channels );
float_t GetTitleGain ( void );
float_t GetAlbumGain ( void );
int AnalyzeSamples ( const flac_float_t* left_samples, const flac_float_t* right_samples, size_t num_samples, int num_channels );
flac_float_t GetTitleGain ( void );
flac_float_t GetAlbumGain ( void );
#ifdef __cplusplus
}