Skip to content

Commit 0233391

Browse files
committed
1.3.2: fix #1
1 parent fa4adcc commit 0233391

24 files changed

+50
-40
lines changed

COPYING renamed to LICENSE

File renamed without changes.

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ SHELL = /bin/sh
22
CC = gcc
33

44
TARGET = wavegain
5-
CFLAGS += -m32
5+
CFLAGS += -Wall
66
DEFS = -DHAVE_CONFIG_H
77
LIBS = -lm
8-
SOURCES := $(wildcard *.c)
9-
HEADERS := $(wildcard *.h)
8+
SOURCES := $(wildcard src/*.c)
9+
HEADERS := $(wildcard src/*.h)
1010

1111
prefix = /usr/local
1212
bindir = $(prefix)/bin

README renamed to README.md

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
ReplayGain for wave files, v1.3.2
1+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/Sound-Linux-More/wavegain)
2+
![GitHub Release Date](https://img.shields.io/github/release-date/Sound-Linux-More/wavegain)
3+
![GitHub repo size](https://img.shields.io/github/repo-size/Sound-Linux-More/wavegain)
4+
![GitHub all releases](https://img.shields.io/github/downloads/Sound-Linux-More/wavegain/total)
5+
![GitHub](https://img.shields.io/github/license/Sound-Linux-More/wavegain)
6+
7+
# Wavegain
8+
ReplayGain for wave files
29

310
WaveGain is an application of the ReplayGain algorithms to standard PCM wave
411
files. Calculated gain adjustments are applied directly to the audio data,
@@ -12,8 +19,7 @@ current players are aware of this "standard", the metadata is used only by
1219
WaveGain for the "--undo-gain" feature, which is lossy.
1320

1421

15-
About replaygain
16-
-------------------------------------------------------------------------------
22+
## About replaygain
1723

1824
Replaygain is a standard that allows compatible players to play audio files with
1925
an adjusted volume gain so they have a consistent perceived loudness.
@@ -35,8 +41,7 @@ http://wiki.hydrogenaudio.org/index.php?title=Replaygain
3541
http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_specification
3642

3743

38-
The saga of a Debian package for wavegain:
39-
-------------------------------------------------------------------------------
44+
## The saga of a Debian package for wavegain:
4045

4146
- Current source code (in .zip format) and windows binaries are published at
4247
http://www.rarewares.org/others.php
@@ -53,43 +58,49 @@ packaging improved from the Mint release, and some patches to fix some
5358
(serious) Linux issues.
5459

5560

56-
Install how-to
57-
-------------------------------------------------------------------------------
61+
## Install how-to
5862

5963
There are 2 approaches: you can build and install a .deb package, or simply
6064
compile and install from source. For both I assume you are already at the
6165
source directory (which is not the root directory of the cloned repository)
6266

6367
Debian method:
6468
This is OUTDATED, UNMAINTANED and NON-WORKING! Use Traditional Method instead!
69+
```sh
6570
$ sudo apt-get install devscripts # if you don't already have debuild
6671
$ debuild -- binary && sudo dpkg --install ../wavegain_*.deb
72+
```
6773

6874
Traditional method:
75+
```sh
6976
$ make && sudo make install # by default installs to /usr/local/bin/wavegain
77+
```
7078
or
79+
```sh
7180
$ make && sudo make install prefix=/usr # to install to /usr/bin/wavegain
81+
```
7282

7383
Currently, 64-bit binaries build fine but can generate corrupted audio on output
7484
files, so to prevent this by default it builts a 32-bit executable instead,
7585
which runs and works fine on 64-bit architectures. However, multi-arch libraries
7686
and headers might be needed as a pre-requiste for compiling. On Debian/Ubuntu this
7787
can be installed by:
7888

89+
```sh
7990
sudo apt install gcc-multilib
91+
```
92+
8093

94+
## Pre-compiled binaries and old versions
8195

82-
Pre-compiled binaries and old versions
83-
-------------------------------------------------------------------------------
8496
You can find pre-compiled .DEB binariy packages for i386 and amd64, as well
8597
as as some other goodies, like a mega-archive of all previous versions
8698
and a (lame and outdated) html manual in the Downloads section of GitHub:
8799

88100
https://github.com/MestreLion/wavegain/downloads
89101

90102

91-
License and copyright
92-
-------------------------------------------------------------------------------
103+
## License and copyright
93104

94105
WaveGain is Copyright (c) 2002-2010 John Edwards <john.edwards33@ntlworld.com>,
95106
a.k.a. John33, and several other co-authors and contributors are mentioned as
@@ -107,13 +118,14 @@ The Debianization and aditional material, like this README and Makefile, is
107118
Copyright (c) 2012 Rodrigo Silva (MestreLion)
108119

109120

110-
Documentation (from wavegain --help)
111-
-------------------------------------------------------------------------------
121+
## Documentation (from wavegain --help)
112122

113123
Copyright (c) 2002-2010 John Edwards <john.edwards33@ntlworld.com>
114124
Additional code by Magnus Holmgren, Gian-Carlo Pascutto, and Tycho
115125

116-
Usage: wavegain [options] input.wav [...]
126+
Usage:
127+
```sh
128+
wavegain [options] input.wav [...]
117129

118130
OPTIONS
119131
-h, --help Prints this help information.
@@ -183,6 +195,4 @@ Additional code by Magnus Holmgren, Gian-Carlo Pascutto, and Tycho
183195
11025Hz or 8000Hz.
184196
16 bit integer 'aiff' files are also supported.
185197
Wildcards (?, *) can be used in the filename, or '-' for stdin.
186-
187-
188-
wavegain-1.3.2
198+
```

mswindows/WaveGain.icproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Name="Source Files"
3131
>
3232
<File
33-
RelativePath="..\audio.c"
33+
RelativePath="..\src\audio.c"
3434
>
3535
<FileConfiguration
3636
Name="Debug|Win32"
@@ -42,7 +42,7 @@
4242
</FileConfiguration>
4343
</File>
4444
<File
45-
RelativePath="..\dither.c"
45+
RelativePath="..\src\dither.c"
4646
>
4747
<FileConfiguration
4848
Name="Debug|Win32"
@@ -54,7 +54,7 @@
5454
</FileConfiguration>
5555
</File>
5656
<File
57-
RelativePath="..\gain_analysis.c"
57+
RelativePath="..\src\gain_analysis.c"
5858
>
5959
<FileConfiguration
6060
Name="Debug|Win32"
@@ -66,7 +66,7 @@
6666
</FileConfiguration>
6767
</File>
6868
<File
69-
RelativePath="..\getopt.c"
69+
RelativePath="..\src\getopt.c"
7070
>
7171
<FileConfiguration
7272
Name="Debug|Win32"
@@ -78,7 +78,7 @@
7878
</FileConfiguration>
7979
</File>
8080
<File
81-
RelativePath="..\getopt1.c"
81+
RelativePath="..\src\getopt1.c"
8282
>
8383
<FileConfiguration
8484
Name="Debug|Win32"
@@ -90,7 +90,7 @@
9090
</FileConfiguration>
9191
</File>
9292
<File
93-
RelativePath="..\main.c"
93+
RelativePath="..\src\main.c"
9494
>
9595
<FileConfiguration
9696
Name="Debug|Win32"
@@ -102,7 +102,7 @@
102102
</FileConfiguration>
103103
</File>
104104
<File
105-
RelativePath="..\misc.c"
105+
RelativePath="..\src\misc.c"
106106
>
107107
<FileConfiguration
108108
Name="Debug|Win32"
@@ -114,7 +114,7 @@
114114
</FileConfiguration>
115115
</File>
116116
<File
117-
RelativePath="..\recurse.c"
117+
RelativePath="..\src\recurse.c"
118118
>
119119
<FileConfiguration
120120
Name="Debug|Win32"
@@ -126,7 +126,7 @@
126126
</FileConfiguration>
127127
</File>
128128
<File
129-
RelativePath="..\wavegain.c"
129+
RelativePath="..\src\wavegain.c"
130130
>
131131
<FileConfiguration
132132
Name="Debug|Win32"

mswindows/WaveGain.vcproj

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
298298
>
299299
<File
300-
RelativePath="..\audio.c"
300+
RelativePath="..\src\audio.c"
301301
>
302302
<FileConfiguration
303303
Name="Release|Win32"
@@ -327,7 +327,7 @@
327327
</FileConfiguration>
328328
</File>
329329
<File
330-
RelativePath="..\dither.c"
330+
RelativePath="..\src\dither.c"
331331
>
332332
<FileConfiguration
333333
Name="Release|Win32"
@@ -357,7 +357,7 @@
357357
</FileConfiguration>
358358
</File>
359359
<File
360-
RelativePath="..\gain_analysis.c"
360+
RelativePath="..\src\gain_analysis.c"
361361
>
362362
<FileConfiguration
363363
Name="Release|Win32"
@@ -387,7 +387,7 @@
387387
</FileConfiguration>
388388
</File>
389389
<File
390-
RelativePath="..\getopt.c"
390+
RelativePath="..\src\getopt.c"
391391
>
392392
<FileConfiguration
393393
Name="Release|Win32"
@@ -417,7 +417,7 @@
417417
</FileConfiguration>
418418
</File>
419419
<File
420-
RelativePath="..\getopt1.c"
420+
RelativePath="..\src\getopt1.c"
421421
>
422422
<FileConfiguration
423423
Name="Release|Win32"
@@ -447,7 +447,7 @@
447447
</FileConfiguration>
448448
</File>
449449
<File
450-
RelativePath="..\main.c"
450+
RelativePath="..\src\main.c"
451451
>
452452
<FileConfiguration
453453
Name="Release|Win32"
@@ -477,7 +477,7 @@
477477
</FileConfiguration>
478478
</File>
479479
<File
480-
RelativePath="..\misc.c"
480+
RelativePath="..\src\misc.c"
481481
>
482482
<FileConfiguration
483483
Name="Release|Win32"
@@ -507,7 +507,7 @@
507507
</FileConfiguration>
508508
</File>
509509
<File
510-
RelativePath="..\recurse.c"
510+
RelativePath="..\src\recurse.c"
511511
>
512512
<FileConfiguration
513513
Name="Release|Win32"
@@ -537,7 +537,7 @@
537537
</FileConfiguration>
538538
</File>
539539
<File
540-
RelativePath="..\wavegain.c"
540+
RelativePath="..\src\wavegain.c"
541541
>
542542
<FileConfiguration
543543
Name="Release|Win32"
@@ -572,11 +572,11 @@
572572
Filter="h;hpp;hxx;hm;inl"
573573
>
574574
<File
575-
RelativePath="..\gain_analysis.h"
575+
RelativePath="..\src\gain_analysis.h"
576576
>
577577
</File>
578578
<File
579-
RelativePath="..\getopt.h"
579+
RelativePath="..\src\getopt.h"
580580
>
581581
</File>
582582
</Filter>

audio.c renamed to src/audio.c

File renamed without changes.

audio.h renamed to src/audio.h

File renamed without changes.

config.h renamed to src/config.h

File renamed without changes.

dither.c renamed to src/dither.c

File renamed without changes.

dither.h renamed to src/dither.h

File renamed without changes.
File renamed without changes.
File renamed without changes.

getopt.c renamed to src/getopt.c

File renamed without changes.

getopt.h renamed to src/getopt.h

File renamed without changes.

getopt1.c renamed to src/getopt1.c

File renamed without changes.

i18n.h renamed to src/i18n.h

File renamed without changes.

main.c renamed to src/main.c

File renamed without changes.

main.h renamed to src/main.h

File renamed without changes.

misc.c renamed to src/misc.c

File renamed without changes.

misc.h renamed to src/misc.h

File renamed without changes.

recurse.c renamed to src/recurse.c

File renamed without changes.

recurse.h renamed to src/recurse.h

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)