2017-09-01 Fred Gleason <fredg@paravelsystems.com>

* Added 'src_hostname' and 'user_name' parameters to the
	'RDCut::checkInRecording()' method in 'lib/rdcut.cpp' and
	'lib/rdcut.h'.
This commit is contained in:
Fred Gleason
2017-09-01 11:10:39 -04:00
parent 167b30b046
commit 83428bb153
7 changed files with 88 additions and 32 deletions

View File

@@ -2395,7 +2395,8 @@ void MainObject::CheckInRecording(QString cutname,CatchEvent *evt,
s->setSampleRate(evt->sampleRate());
s->setBitRate(evt->bitrate());
s->setChannels(evt->channels());
cut->checkInRecording(catch_config->stationName(),s,msecs);
cut->checkInRecording(catch_config->stationName(),"",
catch_config->stationName(),s,msecs);
cut->setSha1Hash(RDSha1Hash(RDCut::pathName(cut->cutName())));
delete s;
cut->autoTrim(RDCut::AudioBoth,-threshold);