Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
dcf04428
Commit
dcf04428
authored
Sep 14, 2006
by
Josh Coalson
Browse files
add ReplayGainReferenceLoudness constant
parent
6b21f667
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/share/replaygain_analysis.h
View file @
dcf04428
...
...
@@ -44,11 +44,13 @@ extern "C" {
typedef
float
Float_t
;
/* Type used for filtering */
Float_t
ReplayGainReferenceLoudness
;
/* in dB SPL, currently == 89.0 */
int
InitGainAnalysis
(
long
samplefreq
);
int
AnalyzeSamples
(
const
Float_t
*
left_samples
,
const
Float_t
*
right_samples
,
size_t
num_samples
,
int
num_channels
);
int
ResetSampleFrequency
(
long
samplefreq
);
Float_t
GetTitleGain
(
void
);
Float_t
GetAlbumGain
(
void
);
Float_t
GetTitleGain
(
void
);
Float_t
GetAlbumGain
(
void
);
#ifdef __cplusplus
}
...
...
src/share/replaygain_analysis/replaygain_analysis.c
View file @
dcf04428
...
...
@@ -100,6 +100,8 @@
#include "replaygain_analysis.h"
extern
Float_t
ReplayGainReferenceLoudness
=
89
.
0
;
/* in dB SPL */
typedef
unsigned
short
Uint16_t
;
typedef
signed
short
Int16_t
;
typedef
unsigned
int
Uint32_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment