-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
CWinSystemRpi: ensure that we register the ALSA sink as well as PiSink is needed for external DACs #13290
Conversation
ALSA is optional and can only be registerd if present |
So what is the solution for multiple sinks? Is there a cmake option for this that I have missed? Won't that just give us #ifdef again.. |
The include and the register have to be surrounded with |
bd0ad51
to
db290ff
Compare
OK -- I've added that and updated the PR. |
that is ugly ifdeffery now. the other platforms use a OptinalsRegister. Currently every platform has its own but this is supposed to be refactored into a common one for Linux. |
Indeed. I suspect the point of this whole cleanup was to remove the need for #ifdef. |
Yes. At the time we did this, there was no xbmc/platform/linux. |
bf2d815
to
7eef23d
Compare
This is needed for external DACs Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
0bbefd6
to
7b3c63d
Compare
@samnazarko this needs a rebase |
closing in favour of #14453 |
Description
It seems that after c0064a9, the AESink is tied to the windowing system. The ALSA sink does not seem to be registered elsewhere on RBP, which means that external DACs (USB and I2S) are not enumerated.
The patch was necessary to re-register ALSA sinks on RBP.
How Has This Been Tested?
Tested in OSMC v18 nightlies for Raspberry Pi with positive reports: https://discourse.osmc.tv/t/testing-kodi-18-leia-builds-for-raspberry-pi/20631/632
Screenshots (if appropriate):
Types of change
Checklist: