mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 07:05:48 +01:00
2015-08-29 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDAudioConvert::Stage3Pcm24()' method in 'lib/rdaudioconvert.cpp' and 'lib/rdaudioconvert.h'. * Added a 'Format::Pcm24' value to the 'RDSettings::Format' enumeration in 'lib/rdsettings.h'. * Modified the 'RDAudioConvert' class to support generating PCM24 output in 'lib/rdaudioconvert.cpp' and 'lib/rdaudioconvert.h'. * Modified the 'RDPlayStream' class to support playing PCM24 data in 'rdhpi/rdplaystream.cpp'. * Modified the 'RDRecordStream' class to support capturing PCM24 data in 'rdhpi/rdrecordstream.cpp'. * Added an 'audio_peaks_test' harness in 'tests/audio_peaks_test.cpp' and 'tests/audio_peaks_test.h'. * Added 'PCM24' to the list of available formats in 'rdadmin/edit_rdlibrary.cpp' and 'rdadmin/edit_rdlibrary.h'. * Added 'PCM24' to the list of available formats in 'rdadmin/edit_decks.cpp'. * Added PCM24 support for file importation in 'web/rdxport/import.cpp'. * Added an 'RDCae::Pcm24' value to the 'RDCae::AudioCoding enumeration in 'lib/rdcae.h'.
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
// rdsettings.cpp
|
||||
//
|
||||
// RDLibrary Settings
|
||||
// Audio Format Settings
|
||||
//
|
||||
// (C) Copyright 2002 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// $Id: rdsettings.cpp,v 1.11.8.1 2012/12/13 22:33:44 cvs Exp $
|
||||
// (C) Copyright 2002-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
|
||||
@@ -282,24 +280,25 @@ QString RDSettings::defaultExtension(const QString &stationname,
|
||||
RDSettings::Format fmt)
|
||||
{
|
||||
switch(fmt) {
|
||||
case RDSettings::Pcm16:
|
||||
case RDSettings::MpegL2Wav:
|
||||
return QString("wav");
|
||||
case RDSettings::Pcm16:
|
||||
case RDSettings::Pcm24:
|
||||
case RDSettings::MpegL2Wav:
|
||||
return QString("wav");
|
||||
|
||||
case RDSettings::MpegL1:
|
||||
return QString("mp1");
|
||||
case RDSettings::MpegL1:
|
||||
return QString("mp1");
|
||||
|
||||
case RDSettings::MpegL2:
|
||||
return QString("mp2");
|
||||
case RDSettings::MpegL2:
|
||||
return QString("mp2");
|
||||
|
||||
case RDSettings::MpegL3:
|
||||
return QString("mp3");
|
||||
case RDSettings::MpegL3:
|
||||
return QString("mp3");
|
||||
|
||||
case RDSettings::Flac:
|
||||
return QString("flac");
|
||||
case RDSettings::Flac:
|
||||
return QString("flac");
|
||||
|
||||
case RDSettings::OggVorbis:
|
||||
return QString("ogg");
|
||||
case RDSettings::OggVorbis:
|
||||
return QString("ogg");
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user