shithub: libsamplerate

Download patch

ref: 8fc25ee92e4673de867ca6c626a2ecee62b784d9
parent: 10a317060d4dbaa66fdf1710b0e6fa2c943022eb
author: evpobr <evpobr@gmail.com>
date: Wed Oct 7 04:13:21 EDT 2020

Update documentation links

--- a/INSTALL
+++ b/INSTALL
@@ -3,13 +3,13 @@
 
 The following instructions explain how to install libsamplerate under
 Linux and other Unix like systems including Mac OSX. (For windows,
-see http://www.mega-nerd.com/SRC/win32.html).
+see http://libsndfile.github.io/libsamplerate/win32.html).
 
 Preliminaries
 -------------
 1) Included with libsamplerate are example programs which use libnsdile:
 
-        http://www.mega-nerd.com/libsndfile/
+        http://libsndfile.github.io/libsndfile/
 
    for file I/O. If you want to build them you need to
    ensure that libsndfile is correctly installed first. If it is, the
--- a/README.md
+++ b/README.md
@@ -1,19 +1,19 @@
-<img src="http://www.mega-nerd.com/SRC/SRC.png" width="350"></img>
+<img src="https://github.com/libsndfile/libsamplerate/doc/SRC.png" width="350"></img>
 
 This is libsamplerate, `0.1.9`.
 
 libsamplerate (also known as Secret Rabbit Code) is a library for performing sample rate conversion of audio data.
 
-* The [`src/`](https://github.com/erikd/libsamplerate/tree/master/src) directory contains the source code for library itself.
-* The [`doc/`](https://github.com/erikd/libsamplerate/tree/master/doc) directory contains the libsamplerate documentation.
-* The [`examples/`](https://github.com/erikd/libsamplerate/tree/master/examples) directory contains examples of how to write code using libsamplerate.
-* The [`tests/`](https://github.com/erikd/libsamplerate/tree/master/tests) directory contains programs which link against libsamplerate and test its functionality.
-* The [`Win32/`](https://github.com/erikd/libsamplerate/tree/master/Win32) directory contains files and documentation to allow libsamplerate to compile under Win32 with the Microsoft Visual C++ compiler.
+* The [`src/`](https://github.com/libsndfile/libsamplerate/tree/master/src) directory contains the source code for library itself.
+* The [`doc/`](https://github.com/libsndfile/libsamplerate/tree/master/doc) directory contains the libsamplerate documentation.
+* The [`examples/`](https://github.com/libsndfile/libsamplerate/tree/master/examples) directory contains examples of how to write code using libsamplerate.
+* The [`tests/`](https://github.com/libsndfile/libsamplerate/tree/master/tests) directory contains programs which link against libsamplerate and test its functionality.
+* The [`Win32/`](https://github.com/libsndfile/libsamplerate/tree/master/Win32) directory contains files and documentation to allow libsamplerate to compile under Win32 with the Microsoft Visual C++ compiler.
 
 Additional references:
 
-* [Official website](http://www.mega-nerd.com/libsamplerate/)
-* [GitHub](https://github.com/erikd/libsamplerate)
+* [Official website](http://libsndfile.github.io/libsamplerate//)
+* [GitHub](https://github.com/libsndfile/libsamplerate)
 
 ---
 
@@ -29,7 +29,7 @@
 
 ## Win32
 
-There are detailed instructions for building libsamplerate on Win32 in the file [`doc/win32.html`](https://github.com/erikd/libsamplerate/blob/master/doc/win32.html).
+There are detailed instructions for building libsamplerate on Win32 in the file [`doc/win32.html`](https://github.com/libsndfile/libsamplerate/blob/master/doc/win32.html).
 
 ## macOS
 
--- a/Win32/Makefile.msvc
+++ b/Win32/Makefile.msvc
@@ -141,7 +141,7 @@
 sndfile.h libsndfile-1.dll libsndfile-1.def :
 	-@echo *---------------------------------------------------------------
 	-@echo * You need to get the pre-built Win32 binaries for libsndfile
-	-@echo * from : http://www.mega-nerd.com/libsndfile
+	-@echo * from : http://libsndfile.github.io/libsndfile/
 	-@echo * The prebuilt binaries will be in a ZIP file which contains
 	-@echo * the files :
 	-@echo * sndfile.h libsndfile-1.dll libsndfile-1.def
--- a/Win32/unistd.h
+++ b/Win32/unistd.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 /*
--- a/config.h.in
+++ b/config.h.in
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 /* Name of package */
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
 AC_PREREQ([2.69])
 
 AC_INIT([libsamplerate],[0.1.9],[erikd@mega-nerd.com],
-		[libsamplerate],[http://www.mega-nerd.com/libsamplerate/])
+		[libsamplerate],[https://github.com/libsndfile/libsamplerate/])
 
 dnl Check whether we want to set defaults for CFLAGS, CPPFLAGS and LDFLAGS
 AC_MSG_CHECKING([whether configure should try to set CFLAGS/CPPFLAGS/LDFLAGS])
--- a/doc/download.html
+++ b/doc/download.html
@@ -59,15 +59,14 @@
 
 <H1><B>Download</B></H1>
 <P>
-	This is the latest version of Secret Rabbit Code.
+	The latest version of Secret Rabbit Code is 0.1.9.
 </P>
-	<UL>
-	<LI>Source code as a .tar.gz :
-			<A HREF="libsamplerate-0.1.9.tar.gz">libsamplerate-0.1.9.tar.gz</A>
-		and
-			<!-- A HREF="libsamplerate-0.1.8.tar.gz.asc">(GPG signature)</A -->
+<P>Download it on
+		<A HREF="https://github.com/libsndfile/libsamplerate/releases/latest">GitHub releases page</A>
+	and
+		<!-- A HREF="libsamplerate-0.1.8.tar.gz.asc">(GPG signature)</A -->
 
-	</UL>
+</P>
 <P>
 	Compiling libsamplerate is relatively easy. The INSTALL file in the top
 	level directory gives instructions on compiling and installing
--- a/doc/quality.html
+++ b/doc/quality.html
@@ -88,7 +88,7 @@
 	but I will limit the comparison ot Secret Rabbit Code to the following:
 </P>
 <UL>
-	<LI><A HREF="http://www.mega-nerd.com/SRC/download.html">sndfile-resample</A>
+	<LI><A HREF="http://libsndfile.github.io/libsamplerate/download.html">sndfile-resample</A>
 		which is a program (which uses libsamplerate) from the <B>examples/</B> 
 		directory of the Secret Rabbit Code source code distribution.
 	<LI><A HREF="http://www-ccrma.stanford.edu/~jos/resample/Available_Software.html">
--- a/doc/win32.html
+++ b/doc/win32.html
@@ -65,7 +65,7 @@
 <P>
 To build the examples programs you will need to download the precompiled
 win32 or win64
-	<A HREF="http://www.mega-nerd.com/libsndfile/#Download">libsndfile</A>
+	<A HREF="https://github.com/libsndfile/libsndfile/releases">libsndfile</A>
 binary and install them.
 
 </P>
--- a/examples/audio_out.c
+++ b/examples/audio_out.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/examples/audio_out.h
+++ b/examples/audio_out.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 typedef	struct AUDIO_OUT AUDIO_OUT ;
--- a/examples/timewarp-file.c
+++ b/examples/timewarp-file.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include "src_config.h"
@@ -217,7 +217,7 @@
 		"\n"
 		"****************************************************************\n"
 		"  This example program was compiled without libsndfile \n"
-		"  (http://www.mega-nerd.com/libsndfile/).\n"
+		"  (https://github.com/libsndfile/libsndfile/).\n"
 		"  It is therefore completely broken and non-functional.\n"
 		"****************************************************************\n"
 		"\n"
--- a/examples/varispeed-play.c
+++ b/examples/varispeed-play.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/libsamplerate.spec.in
+++ b/libsamplerate.spec.in
@@ -12,7 +12,7 @@
 Copyright: BSD
 Group: Libraries/Sound
 Source: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz
-URL: http://www.mega-nerd.com/SRC/
+URL: https://github.com/libsndfile/libsamplerate/
 BuildRoot: /var/tmp/%{name}-%{version}
 
 %description
--- a/src/common.h
+++ b/src/common.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #ifndef COMMON_H_INCLUDED
--- a/src/fastest_coeffs.h
+++ b/src/fastest_coeffs.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 /*
--- a/src/high_qual_coeffs.h
+++ b/src/high_qual_coeffs.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 /*
--- a/src/mid_qual_coeffs.h
+++ b/src/mid_qual_coeffs.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 /*
--- a/src/samplerate.c
+++ b/src/samplerate.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include	<stdio.h>
--- a/src/samplerate.h
+++ b/src/samplerate.h
@@ -3,12 +3,12 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 /*
 ** API documentation is available here:
-**     http://www.mega-nerd.com/SRC/api.html
+**     http://libsndfile.github.io/libsamplerate/api.html
 */
 
 #ifndef SAMPLERATE_H
--- a/src/src_config.h
+++ b/src/src_config.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 // allow config.h to be optional
--- a/src/src_linear.c
+++ b/src/src_linear.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/src/src_sinc.c
+++ b/src/src_sinc.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/src/src_zoh.c
+++ b/src/src_zoh.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/calc_snr.c
+++ b/tests/calc_snr.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include "src_config.h"
--- a/tests/callback_hang_test.c
+++ b/tests/callback_hang_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include "src_config.h"
--- a/tests/callback_test.c
+++ b/tests/callback_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/clone_test.c
+++ b/tests/clone_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/downsample_test.c
+++ b/tests/downsample_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/float_short_test.c
+++ b/tests/float_short_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/misc_test.c
+++ b/tests/misc_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/multi_channel_test.c
+++ b/tests/multi_channel_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include "src_config.h"
--- a/tests/multichan_throughput_test.c
+++ b/tests/multichan_throughput_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/nullptr_test.c
+++ b/tests/nullptr_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/reset_test.c
+++ b/tests/reset_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/simple_test.c
+++ b/tests/simple_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/snr_bw_test.c
+++ b/tests/snr_bw_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include "src_config.h"
--- a/tests/src-evaluate.c
+++ b/tests/src-evaluate.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
@@ -175,7 +175,7 @@
 
 	puts ("\n"
 		" Obviously to test a given program you have to have it available on\n"
-		" your system. See http://www.mega-nerd.com/SRC/quality.html for\n"
+		" your system. See http://libsndfile.github.io/libsamplerate/quality.html for\n"
 		" the download location of these programs.\n") ;
 
 	exit (1) ;
--- a/tests/streaming_test.c
+++ b/tests/streaming_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdlib.h>
--- a/tests/termination_test.c
+++ b/tests/termination_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/throughput_test.c
+++ b/tests/throughput_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/util.c
+++ b/tests/util.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include <stdio.h>
--- a/tests/util.h
+++ b/tests/util.h
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include "src_config.h"
--- a/tests/varispeed_test.c
+++ b/tests/varispeed_test.c
@@ -3,7 +3,7 @@
 ** All rights reserved.
 **
 ** This code is released under 2-clause BSD license. Please see the
-** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
+** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
 */
 
 #include "src_config.h"