Skip to content

Commit

Permalink
Renames RecordingType in IGD
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
atruskie committed Oct 22, 2018
1 parent 4129b38 commit 76e3b8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/AnalysisPrograms/AcousticIndices.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// --------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AcousticIndices.cs" company="QutEcoacoustics">
// 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).
// </copyright>
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/AudioAnalysisTools/Indices/IndexGenerationData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// --------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IndexGenerationData.cs" company="QutEcoacoustics">
// 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).
// </copyright>
Expand Down Expand Up @@ -35,7 +35,7 @@ public IndexGenerationData()
/// <summary>
/// Gets or sets the extension of the original audio file.
/// </summary>
public string RecordingType { get; set; }
public string RecordingExtension { get; set; }

/// <summary>
/// Gets or sets backgroundFilterCoeff is used to adjust colour contrast of false-colour images. Default = 0.75.
Expand Down

0 comments on commit 76e3b8a

Please sign in to comment.