From 76e3b8ae11e43cdda7e553e43040ef59a8253a0e Mon Sep 17 00:00:00 2001 From: Anthony Truskinger Date: Mon, 22 Oct 2018 12:22:48 +1000 Subject: [PATCH] Renames RecordingType in IGD The name `RecordingType` is ambiguous - `RecordingExtension` is a much better description of the field's functionality. Currently this field is not used so breaking changes to IGD should be minimal. --- src/AnalysisPrograms/AcousticIndices.cs | 4 ++-- src/AudioAnalysisTools/Indices/IndexGenerationData.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AnalysisPrograms/AcousticIndices.cs b/src/AnalysisPrograms/AcousticIndices.cs index 0b5d6eb78..7b76d1416 100644 --- a/src/AnalysisPrograms/AcousticIndices.cs +++ b/src/AnalysisPrograms/AcousticIndices.cs @@ -1,4 +1,4 @@ -// -------------------------------------------------------------------------------------------------------------------- +// -------------------------------------------------------------------------------------------------------------------- // // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group). // @@ -275,7 +275,7 @@ public void SummariseResults(AnalysisSettings settings, FileSegment inputFileSeg */ var indexConfigData = new IndexGenerationData() { - RecordingType = inputFileSegment.Source.Extension, + RecordingExtension = inputFileSegment.Source.Extension, RecordingBasename = basename, RecordingStartDate = inputFileSegment.TargetFileStartDate, RecordingDuration = inputFileSegment.TargetFileDuration.Value, diff --git a/src/AudioAnalysisTools/Indices/IndexGenerationData.cs b/src/AudioAnalysisTools/Indices/IndexGenerationData.cs index 8328fc446..bb28811eb 100644 --- a/src/AudioAnalysisTools/Indices/IndexGenerationData.cs +++ b/src/AudioAnalysisTools/Indices/IndexGenerationData.cs @@ -1,4 +1,4 @@ -// -------------------------------------------------------------------------------------------------------------------- +// -------------------------------------------------------------------------------------------------------------------- // // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group). // @@ -35,7 +35,7 @@ public IndexGenerationData() /// /// Gets or sets the extension of the original audio file. /// - public string RecordingType { get; set; } + public string RecordingExtension { get; set; } /// /// Gets or sets backgroundFilterCoeff is used to adjust colour contrast of false-colour images. Default = 0.75.