View previous topic :: View next topic |
Author |
Message |
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1895 Location: Switzerland (Romandie)
|
Posted: Sun Oct 13, 2019 7:19 pm Post subject: libsdl and jack audio |
|
|
libsdl2 have jack support, but it is not obvious from its ebuild, because it is no jack USE flag. In practice, libsdl jack support will be enabled when configure find the jack-audio-connection-kit files.
After that, you have to make it to work, because sdl seam to insist to use ALSA even when jackd is running. For that I find 2 ways:
In ~/.bashrc:
Code: | # for sdl to use jack
export SDL_AUDIODRIVER="jack"
|
or directly in the shell:
Code: | #: SDL_AUDIODRIVER="jack" my_sdl_app
|
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3896
|
Posted: Sun Oct 13, 2019 8:01 pm Post subject: |
|
|
libsdl2 installed here on a dekptop migrated portage, from a long dead laptop using guvcview.
Will do my best to have it work with installed jackd in a near future.
Thks for ur attention. |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1895 Location: Switzerland (Romandie)
|
Posted: Wed Oct 16, 2019 8:10 pm Post subject: |
|
|
I made bug 697658 |
|
Back to top |
|
|
|