Skip to content

Commit

Permalink
1.3.2: fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Jul 4, 2022
1 parent fa4adcc commit 0233391
Show file tree
Hide file tree
Showing 24 changed files with 50 additions and 40 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ SHELL = /bin/sh
CC = gcc

TARGET = wavegain
CFLAGS += -m32
CFLAGS += -Wall
DEFS = -DHAVE_CONFIG_H
LIBS = -lm
SOURCES := $(wildcard *.c)
HEADERS := $(wildcard *.h)
SOURCES := $(wildcard src/*.c)
HEADERS := $(wildcard src/*.h)

prefix = /usr/local
bindir = $(prefix)/bin
Expand Down
44 changes: 27 additions & 17 deletions README → README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
ReplayGain for wave files, v1.3.2
![GitHub release (latest by date)](https://img.shields.io/github/v/release/Sound-Linux-More/wavegain)
![GitHub Release Date](https://img.shields.io/github/release-date/Sound-Linux-More/wavegain)
![GitHub repo size](https://img.shields.io/github/repo-size/Sound-Linux-More/wavegain)
![GitHub all releases](https://img.shields.io/github/downloads/Sound-Linux-More/wavegain/total)
![GitHub](https://img.shields.io/github/license/Sound-Linux-More/wavegain)

# Wavegain
ReplayGain for wave files

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


About replaygain
-------------------------------------------------------------------------------
## About replaygain

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


The saga of a Debian package for wavegain:
-------------------------------------------------------------------------------
## The saga of a Debian package for wavegain:

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


Install how-to
-------------------------------------------------------------------------------
## Install how-to

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

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

Traditional method:
```sh
$ make && sudo make install # by default installs to /usr/local/bin/wavegain
```
or
```sh
$ make && sudo make install prefix=/usr # to install to /usr/bin/wavegain
```

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

```sh
sudo apt install gcc-multilib
```


## Pre-compiled binaries and old versions

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

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


License and copyright
-------------------------------------------------------------------------------
## License and copyright

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


Documentation (from wavegain --help)
-------------------------------------------------------------------------------
## Documentation (from wavegain --help)

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

Usage: wavegain [options] input.wav [...]
Usage:
```sh
wavegain [options] input.wav [...]

OPTIONS
-h, --help Prints this help information.
Expand Down Expand Up @@ -183,6 +195,4 @@ Additional code by Magnus Holmgren, Gian-Carlo Pascutto, and Tycho
11025Hz or 8000Hz.
16 bit integer 'aiff' files are also supported.
Wildcards (?, *) can be used in the filename, or '-' for stdin.


wavegain-1.3.2
```
18 changes: 9 additions & 9 deletions mswindows/WaveGain.icproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Name="Source Files"
>
<File
RelativePath="..\audio.c"
RelativePath="..\src\audio.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -42,7 +42,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\dither.c"
RelativePath="..\src\dither.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -54,7 +54,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\gain_analysis.c"
RelativePath="..\src\gain_analysis.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -66,7 +66,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\getopt.c"
RelativePath="..\src\getopt.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -78,7 +78,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\getopt1.c"
RelativePath="..\src\getopt1.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -90,7 +90,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\main.c"
RelativePath="..\src\main.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -102,7 +102,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\misc.c"
RelativePath="..\src\misc.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -114,7 +114,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\recurse.c"
RelativePath="..\src\recurse.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand All @@ -126,7 +126,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\wavegain.c"
RelativePath="..\src\wavegain.c"
>
<FileConfiguration
Name="Debug|Win32"
Expand Down
22 changes: 11 additions & 11 deletions mswindows/WaveGain.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
RelativePath="..\audio.c"
RelativePath="..\src\audio.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -327,7 +327,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\dither.c"
RelativePath="..\src\dither.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -357,7 +357,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\gain_analysis.c"
RelativePath="..\src\gain_analysis.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -387,7 +387,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\getopt.c"
RelativePath="..\src\getopt.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -417,7 +417,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\getopt1.c"
RelativePath="..\src\getopt1.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -447,7 +447,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\main.c"
RelativePath="..\src\main.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -477,7 +477,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\misc.c"
RelativePath="..\src\misc.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -507,7 +507,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\recurse.c"
RelativePath="..\src\recurse.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -537,7 +537,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\wavegain.c"
RelativePath="..\src\wavegain.c"
>
<FileConfiguration
Name="Release|Win32"
Expand Down Expand Up @@ -572,11 +572,11 @@
Filter="h;hpp;hxx;hm;inl"
>
<File
RelativePath="..\gain_analysis.h"
RelativePath="..\src\gain_analysis.h"
>
</File>
<File
RelativePath="..\getopt.h"
RelativePath="..\src\getopt.h"
>
</File>
</Filter>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0233391

Please sign in to comment.