Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing wav to stdout no longer works with v2.x #12

Closed
joolswills opened this issue May 15, 2022 · 1 comment
Closed

Writing wav to stdout no longer works with v2.x #12

joolswills opened this issue May 15, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joolswills
Copy link

joolswills commented May 15, 2022

With sidplayfp v1.4.4 (with Ubuntu 20.04.4), you could write a wav to stdout with -w-.

With v2.2.3 (Ubuntu 22.04 version) this no longer works, as the .wav extension is added and a file -.wav is created instead.

I assume this is related to the extension being automatically added before the check in

if (name.compare("-") == 0)
(or something like that).

@drfiemost drfiemost self-assigned this May 15, 2022
@drfiemost drfiemost added the bug Something isn't working label May 15, 2022
@drfiemost
Copy link
Member

I guess it broke with 09512ab, need to check for stdout in getFileName and avoid adding the extension in that case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants