Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libsdl and jack audio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1895
Location: Switzerland (Romandie)

PostPosted: Sun Oct 13, 2019 7:19 pm    Post subject: libsdl and jack audio Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3896

PostPosted: Sun Oct 13, 2019 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1895
Location: Switzerland (Romandie)

PostPosted: Wed Oct 16, 2019 8:10 pm    Post subject: Reply with quote

I made bug 697658
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum