mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Update libsndfile to 1.0.29pre2+git
This pulls in MANY (over 890) changes compared to our from our current 1.0.24 version.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Copyright (C) 2003-2011 Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||
** Copyright (C) 2003-2013 Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify
|
||||
** it under the terms of the GNU General Public License as published by
|
||||
@@ -17,10 +17,14 @@
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "sfconfig.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include "sf_unistd.h"
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
@@ -28,7 +32,7 @@
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
#define BUFFER_LEN (1<<16)
|
||||
#define BUFFER_LEN (1 << 16)
|
||||
#define LOG_BUFFER_SIZE 1024
|
||||
|
||||
static void dither_test (const char *filename, int filetype) ;
|
||||
@@ -52,7 +56,7 @@ main (int argc, char *argv [])
|
||||
exit (1) ;
|
||||
} ;
|
||||
|
||||
do_all=!strcmp (argv [1], "all") ;
|
||||
do_all = ! strcmp (argv [1], "all") ;
|
||||
|
||||
if (do_all || ! strcmp (argv [1], "wav"))
|
||||
{ dither_test ("dither.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_U8) ;
|
||||
@@ -135,8 +139,6 @@ dither_test (const char *filename, int filetype)
|
||||
SF_INFO sfinfo ;
|
||||
SF_DITHER_INFO dither ;
|
||||
|
||||
filetype = filetype ;
|
||||
|
||||
print_test_name ("dither_test", filename) ;
|
||||
|
||||
sfinfo.samplerate = 44100 ;
|
||||
|
||||
Reference in New Issue
Block a user