mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[GH-ISSUE #214] Non-stereo audio outputs don't work #159
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dmilith on GitHub (Nov 16, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/214
Describe the bug
Every song is resampled to a much higher pitch (big playback speedup)
To Reproduce
Just compile master (
96059d95d6) and play anything on Mac.Expected behavior
Regular play like after reset to
697c61aa05Environment
Additional context
Unsure it's relevant, but all my devices work in 44.1kHz mode (set via Audio Midi Setup app)
@jpochyla commented on GitHub (Nov 16, 2021):
Strange, I have the exact same setup, and it ofc works correctly. With 44.1kHz output it shouldn't even resample.
@jpochyla commented on GitHub (Nov 16, 2021):
@dmilith What details do you get at line
opening output stream: StreamConfig { ...from the log, please?@dmilith commented on GitHub (Nov 17, 2021):
@jpochyla Looks good… but doesn't play right:
@dmilith commented on GitHub (Nov 17, 2021):
My config part (excluding credentials):
@dmilith commented on GitHub (Nov 17, 2021):
Unsure why it sees 6 channels, where I have only 2 (stereo)
@jpochyla commented on GitHub (Nov 17, 2021):
Oooooh, that's it :)
@jpochyla commented on GitHub (Nov 17, 2021):
Can you please try with
6e65010(master)?@dmilith commented on GitHub (Nov 17, 2021):
Still detects 6 channels, still the same output.
@paolobarbolini commented on GitHub (Nov 17, 2021):
I was about to report the same issue but your last commit fixed it for me. I'm on Ubuntu 21.10 BTW
@dmilith commented on GitHub (Nov 17, 2021):
I think it may be specific to my sound card… which indeed is 6 channels, but only first two are used for my stereo setup.
@dmilith commented on GitHub (Nov 17, 2021):
Maybe these will help:
So the audio system setup is:
https://s.verknowsys.com/4b842c8898d139a8b7e7637e0ac83b09.png
but the device is:
https://s.verknowsys.com/f5d70fff73833331b5c7a39fce1300ca.png
@thebiblelover7 commented on GitHub (Nov 17, 2021):
Can reproduce on linux. At least I can hear the audio at a much higher pitch than the original.
@thebiblelover7 commented on GitHub (Nov 17, 2021):
Oops, spoke too soon, it works on the latest branch (master).
@jpochyla commented on GitHub (Nov 21, 2021):
@dmilith can you please try branch
stereo_map? I've added some simple channel mapping that just copies left/right and mutes the remaining channels.@dmilith commented on GitHub (Nov 24, 2021):
@jpochyla Works like a charm on the stereo_map branch!
@jpochyla commented on GitHub (Nov 27, 2021):
@dmilith Merged to master :) The mapping is really rudimentary and the whole audio filter pipeline a bit messy, but at least it works.
spotify:andhttps://open.spotify.com/links #336spotify:andhttps://open.spotify.com/links #336