Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Stefan Strogin
flac
Commits
dcf04428
Commit
dcf04428
authored
Sep 14, 2006
by
Josh Coalson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ReplayGainReferenceLoudness constant
parent
6b21f667
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
include/share/replaygain_analysis.h
include/share/replaygain_analysis.h
+4
-2
src/share/replaygain_analysis/replaygain_analysis.c
src/share/replaygain_analysis/replaygain_analysis.c
+2
-0
No files found.
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