mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-08 12:02:28 +01:00
Restructured gcc instructions in README.html
This commit is contained in:
parent
4c885873df
commit
cfce1434f4
68
README.html
68
README.html
@ -110,18 +110,40 @@ binaries to the destination locations.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><b>NOTE:</b> At the release time the SoundTouch package has been
|
||||
tested
|
||||
to compile in GNU/Linux platform. However, in past it's happened that
|
||||
new
|
||||
gcc versions aren't necessarily compatible with the assembler setttings
|
||||
used in the optimized routines. <b>If you have problems getting the
|
||||
SoundTouch library compiled, try the workaround of disabling the optimizations</b> by editing the file
|
||||
"include/STTypes.h" and removing
|
||||
the following definition there:</p>
|
||||
<h4><b>2.2.1 Required GNU tools</b> </h4>
|
||||
<p> Bash shell, GNU C++ compiler, libtool, autoconf and automake tools are required
|
||||
for compiling
|
||||
the SoundTouch library. These are usually included with the GNU/Linux distribution, but if
|
||||
not, install these packages first. For example, in Ubuntu Linux these can be acquired and
|
||||
installed with the following command:</p>
|
||||
<pre><b>sudo apt-get install <font SIZE="2">automake autoconf libtool build-essential</font></b></pre>
|
||||
<h4><b>2.2.2 Problems with GCC compiler compatibility</b></h4>
|
||||
<p>At the release time the SoundTouch package has been tested to compile in
|
||||
GNU/Linux platform. However, in past it's happened that new gcc versions aren't
|
||||
necessarily compatible with the assembler settings used in the optimized
|
||||
routines. <b>If you have problems getting the
|
||||
SoundTouch library compiled, try the workaround of disabling the optimizations</b>
|
||||
by editing the file "include/STTypes.h" and removing the following
|
||||
definition there:</p>
|
||||
<blockquote>
|
||||
<pre>#define ALLOW_OPTIMIZATIONS 1</pre>
|
||||
</blockquote>
|
||||
<h4><b>2.2.3 Problems with configure script or build process</b> </h4>
|
||||
<p>Incompatibilities between various GNU toolchain versions may cause errors when running the "configure" script or building the source
|
||||
codes, if your GNU tool versions are not compatible with the versions used for
|
||||
preparing the SoundTouch kit. </p>
|
||||
<p>To resolve the issue, regenerate the configure scripts with your local tool
|
||||
set by running
|
||||
the "<b>./bootstrap</b>" script included in the SoundTouch source code
|
||||
kit. After that, run the <b>configure</b> script and <b>make</b> as usually.</p>
|
||||
<h4><b>2.2.4 Compiler issues with non-x86 processors</b></h4>
|
||||
<p>SoundTouch library works also on non-x86 processors.</p>
|
||||
<p>However, in case that you get compiler errors when trying to compile for non-Intel processor, edit the file
|
||||
"<b>source\SoundTouch\Makefile.am</b>" and remove the "<b>-msse2</b>"
|
||||
flag on the <b>AM_CXXFLAGS </b>line:</p>
|
||||
<pre><b>AM_CXXFLAGS=-O3 -fcheck-new -I../../include # Note: -msse2 flag removed!</b></pre>
|
||||
<p>After that, run "<b>./bootstrap</b>" script, and then run <b>configure</b>
|
||||
and <b>make</b> again.</p>
|
||||
<hr>
|
||||
<h2>3. About implementation & Usage tips</h2>
|
||||
<h3>3.1. Supported sample data formats</h3>
|
||||
@ -224,11 +246,11 @@ processing, but in applications processing different kind of
|
||||
sound the default parameter set may result into a sub-optimal
|
||||
result.</p>
|
||||
<p>The time-stretch algorithm default
|
||||
parameter values are set by these #defines in file "TDStretch.h":</p>
|
||||
parameter values are set by the following #defines in file "TDStretch.h":</p>
|
||||
<blockquote>
|
||||
<pre>#define DEFAULT_SEQUENCE_MS AUTOMATIC
|
||||
#define DEFAULT_SEEKWINDOW_MS AUTOMATIC
|
||||
#define DEFAULT_OVERLAP_MS 12</pre>
|
||||
#define DEFAULT_OVERLAP_MS 8</pre>
|
||||
</blockquote>
|
||||
<p>These parameters affect to the time-stretch
|
||||
algorithm as follows:</p>
|
||||
@ -355,30 +377,6 @@ implemented for Win32 platform only. These optimizations are used in
|
||||
AMD K6-2 and Athlon (classic) CPU's; better performing SSE routines are
|
||||
used with AMD processor starting from Athlon XP. </li>
|
||||
</ul>
|
||||
<h3>3.6 GNU compilation issues </h3>
|
||||
<h4><b>3.6.1 Required GNU tools</b> </h4>
|
||||
<p> Bash shell, GNU C++ compiler, libtool, autoconf and automake tools are required
|
||||
for compiling
|
||||
the SoundTouch library. These are usually included with the GNU/Linux distribution, but if
|
||||
not, install these packages first. For example, in Ubuntu Linux these can be acquired and
|
||||
installed with the following command:</p>
|
||||
<pre><b>sudo apt-get install <font SIZE="2">automake autoconf libtool build-essential</font></b></pre>
|
||||
<h4><b>3.6.2 Problems with configure script or build process</b> </h4>
|
||||
<p>Incompatibilities between various GNU toolchain versions may cause errors when running the "configure" script or building the source
|
||||
codes, if your GNU tool versions are not compatible with the versions used for
|
||||
preparing the SoundTouch kit. </p>
|
||||
<p>To resolve the issue, regenerate the configure scripts with your local tool
|
||||
set by running
|
||||
the "<b>./bootstrap</b>" script included in the SoundTouch source code
|
||||
kit. After that, run the <b>configure</b> script and <b>make</b> as usually.</p>
|
||||
<h4><b>3.6.3 Compiler issues with non-x86 processors</b></h4>
|
||||
<p>SoundTouch library works also on non-x86 processors.</p>
|
||||
<p>However, in case that you get compiler errors when trying to compile for non-Intel processor, edit the file
|
||||
"<b>source\SoundTouch\Makefile.am</b>" and remove the "<b>-msse2</b>"
|
||||
flag on the <b>AM_CXXFLAGS </b>line:</p>
|
||||
<pre><b>AM_CXXFLAGS=-O3 -fcheck-new -I../../include # Note: -msse2 flag removed!</b></pre>
|
||||
<p>After that, run "<b>./bootstrap</b>" script, and then run <b>configure</b>
|
||||
and <b>make</b> again.</p>
|
||||
<hr>
|
||||
<h2><a name="SoundStretch"></a>4. SoundStretch audio processing utility
|
||||
</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user