diff options
author | Chris Robinson <[email protected]> | 2020-05-21 13:51:48 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-05-21 13:51:48 -0700 |
commit | 94105409f8a6d4e1a6b0d49ce03951f2c3bc3f6f (patch) | |
tree | 54f7867b3fb78330a36cce59d48d2c0bf535d767 /utils | |
parent | da3dfa2fb0eb5eb77757796da9d2b6dc50d6339b (diff) |
Print why a sofa file couldn't be opened
Diffstat (limited to 'utils')
-rw-r--r-- | utils/sofa-info.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/sofa-info.cpp b/utils/sofa-info.cpp index 6ab71306..3394d322 100644 --- a/utils/sofa-info.cpp +++ b/utils/sofa-info.cpp @@ -88,7 +88,8 @@ static void SofaInfo(const char *filename) MySofaHrtfPtr sofa{mysofa_load(filename, &err)}; if(!sofa) { - fprintf(stdout, "Error: Could not load source file '%s'.\n", filename); + fprintf(stdout, "Error: Could not load source file '%s' (%s).\n", filename, + SofaErrorStr(err)); return; } |