mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-31 06:03:51 +01:00 
			
		
		
		
	* Added a --frames=' parameter in 'tests/audio_peaks_test.cpp'. * Fixed a benchpost bug in generating peak energy data in 'lib/rdwavefile.cpp'.
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // audio_peaks_test.h
 | |
| //
 | |
| // Test the Rivendell audio peak routines.
 | |
| //
 | |
| //   (C) Copyright 2015 Fred Gleason <fredg@paravelsystems.com>
 | |
| //
 | |
| //   This program is free software; you can redistribute it and/or modify
 | |
| //   it under the terms of the GNU General Public License version 2 as
 | |
| //   published by the Free Software Foundation.
 | |
| //
 | |
| //   This program is distributed in the hope that it will be useful,
 | |
| //   but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
| //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | |
| //   GNU General Public License for more details.
 | |
| //
 | |
| //   You should have received a copy of the GNU General Public
 | |
| //   License along with this program; if not, write to the Free Software
 | |
| //   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 | |
| //
 | |
| 
 | |
| #ifndef AUDIO_PEAKS_TEST_H
 | |
| #define AUDIO_PEAKS_TEST_H
 | |
| 
 | |
| #include <qobject.h>
 | |
| 
 | |
| #define AUDIO_PEAKS_TEST_USAGE "[options]\n\nTest the Rivendell audio peak routines\n\nOptions are:\n--filename=<wav-file>\n     File to process.\n\n--frame=<num>\n     Print value for block number <num>.\n\n"
 | |
| 
 | |
| class MainObject : public QObject
 | |
| {
 | |
|  public:
 | |
|   MainObject(QObject *parent=0);
 | |
| };
 | |
| 
 | |
| 
 | |
| #endif  // AUDIO_PEAKS_TEST_H
 |