WIP:some updates on cmake stuff in order to build aRts with optional backend (alsa, jack...) #4
Draft
Ghost
wants to merge 1 commits from feat/cmake_update
into master
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'feat/cmake_update'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Add support for Open Sound System, this has to be tested either on Linux and FreeBSD, the PATH have to be checked/adjusted for FreeBSD.
Rem: have a look at Threads support, thing aren't clear to me at the moment.
Hi Greg,
I tried testing this in Debian.
Testing PR as is, causing any building to be skipped. Ninja builds gives a 2 steps process instead of the usual 187.
Playing around with debian config, I got to a point where libesd was required, but there is no libesd in bullseye at all.
Disabling WITH_ESOUND I go further but again ninja-builds report a 2 steps process only and build failed.
I didn't have more time to test this today. Will try to do more later if I find the time, but I thought it would be worth giving you some feedback.
Hi Michele, you can't build this PR as-is since I've left It in a none building state, see all the directories but one (libltdl) are commented.
I often adopt this strategy when I convert/cleanup a module which is actually a marker for me, It tells me that I haven't had a look at the other directories yet. When I remove WIP then you may give It a go.
On the contrary, what is usefull to me is that you build aRts from master with Jack support.
At the moment the Deb packaging does not pick up on Jack, as a result Jack can't be selected as a backend in the Trinity Control Center.
In order to build aRts with Jack you have to adjust the rules file with either adding to It -DWITH_JACK="ON" or switching from -DBUILD_ALL="ON" to -DWITH_ALL_OPTIONS="ON" -DWITH_ESOUND="OFF".
If I'm not mistaken, once aRts is built with Jack support, "Jack Audio Connection Kit" should be available as a backend in TDE.
Menu->Trinity Control Center->Sound & Multimedia->Sound system->Hardware->Select the audio device:->Jack Audio Connection Kit
Btw, the label "Select the audio device:" is not meaningful to me since we aren't really selecting a piece of hardware here.
Then, there is a test button: Sound system->Hardware->Test Sound
I wish to know if you ear a sound with Jack as a backend, because on my system It does not play, I get the test sound with Alsa only (don't have PulseAudio installed)
I also hope that you guys move from Jack1 (legacy) to Jack2 in Debian too...if possible.
e18ba3cfa5
tob6ed338283
3 years agoHi Greg,
thanks for the feedback. Yesterday was a super busy day so I only gave it a build test and did not see the WIP status of the PR. Will build arts from master with jack enabled and will let you know how it goes.
b6ed338283
tod03ce4b8c0
3 years agod03ce4b8c0
to380537d996
3 years ago380537d996
toefc83cad5c
3 years agoHi Greg,
alsa works fine as backend. Will build arts with jack support and feedback.
Hi Greg,
apologies for the long wait. I finally built arts with jack 1 support and tested. I don't hear any sound, either with the test button or with NoAtun, which works fine with alsa instead.
I have not tested with jack2.
I tried also jack2 and same, no sound.
Playing around with qjackctl it seems my jack server does not start at all, which would explain the missing sound.
I can start jack1 server, but still no sound.
efc83cad5c
to36c8fdea14
3 years ago36c8fdea14
to425f41c77d
3 years ago