Skip to content

Commit

Permalink
Merge pull request #821 from atsampson/audiobase
Browse files Browse the repository at this point in the history
Use completeBaseName in SourceAudio::open
  • Loading branch information
atsampson authored Dec 24, 2022
2 parents 4779d38 + 2a8c96c commit 6b8581b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/library/tbc/sourceaudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SourceAudio::~SourceAudio()
bool SourceAudio::open(QFileInfo inputFileInfo)
{
// Get the input audio fileinfo from the input TBC fileinfo:
QFileInfo inputAudioFileInfo(inputFileInfo.absolutePath() + "/" + inputFileInfo.baseName() + ".pcm");
QFileInfo inputAudioFileInfo(inputFileInfo.absolutePath() + "/" + inputFileInfo.completeBaseName() + ".pcm");

// Open the audio source data file
inputAudioFile.setFileName(inputAudioFileInfo.filePath());
Expand Down

0 comments on commit 6b8581b

Please sign in to comment.