Skip to content

Commit

Permalink
Explain context for libsndfile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
windytan committed Aug 11, 2024
1 parent a179504 commit a1f84c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build

on:
push:
branches: [ master ]
branches: [ master, dev ]
tags: [ 'v*' ]
pull_request:
branches: [ master ]
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* Bug fixes:
* Fix the CSVReader (used in the TMC decoder) ignoring the last line of any file
* Remove extra trailing space in transparent data channels hexdump
* libsndfile errors were missing context, added context
* Build system fixes:
* macOS: ask Homebrew about liquid-dsp location instead of hardcoding it
* Set default installation prefix to /usr/local (all platforms)
Expand Down
2 changes: 1 addition & 1 deletion src/redsea.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ int processMPXInput(Options options) {
printUsage();
return EXIT_FAILURE;
} catch (const std::exception& e) {
std::cerr << e.what() << "\n";
std::cerr << "error: Can't open audio file: " << e.what() << "\n";
return EXIT_FAILURE;
}

Expand Down

0 comments on commit a1f84c4

Please sign in to comment.