Search found 13 matches

by djsg
Thu Jul 22, 2021 3:01 pm
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

For help with this system, go to #linux - COMPILING AUDACITY on Audacity dev on discord: https://discord.gg/m4J4JNNK
Can I just report my issue in the channel?
by djsg
Wed Jul 21, 2021 12:10 am
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

What does work? The release build 3.0.2, which I built myself recently. Did you get a release build to work? In fact, in Raspberry Pi, there is a default release version of Audacity if you do "sudo apt install audacity". It's version is 2.2.x. My project has been using this version for mo...
by djsg
Tue Jul 20, 2021 2:40 am
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

Generally Audacity works well with the 8-channel device. We have been using it for months; and we like its UI and many features. The problem is that it crashes when I enable "Software Playthrough". I have posted the issue in some other thread in this forum; but didn't get any attention. I ...
by djsg
Mon Jul 19, 2021 3:08 pm
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

I only added one printf at somewhere in AudacityApp.cpp. The error is thrown in the AudioIO.cpp by the following lines: if (!std::atomic<double>{}.is_lock_free()) { // If this check fails, then the atomic<double> members in AudioIO.h // might be changed to atomic<float> to be more efficient with som...
by djsg
Mon Jul 19, 2021 5:31 am
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

Shall I report it in the "Compiling Audacity" forum?
by djsg
Mon Jul 19, 2021 2:27 am
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

I tried to debug-build Audacity: cmake -DCMAKE_BUILD_TYPE=Debug .. cmake --build . However, assertion failure occurs when I " cd bin/Debug/ " folder and type " ./Audacity " ASSERT INFO: /home/pi/Desktop/audacity-minsrc-3.0.2/src/AudioIO.cpp(964): assert "false" failed ...
by djsg
Sat Jul 17, 2021 3:12 am
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

Yes, I used Pi's default OS, which is Raspberry OS; and I just followed Audacity's build instruction in Linux folder and didn't do any extra thing. The only thing not so common is the audio device, and its maker only makes it work with Raspberry Pi. Other than installing Audacity, I need to install ...
by djsg
Fri Jul 16, 2021 3:36 pm
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

I managed to build latest version (3.0.2) with wxwidgets in Raspberry Pi.
by djsg
Fri Jul 16, 2021 12:50 am
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

Re: printf not working

Steve, thanks for your reply. Does that FAQ page contain info on how to enable debug build? In fact I want to debug what causes the crash (https://forum.audacityteam.org/viewtopic.php?f=48&t=119062). I just want to know what happens in the code chain when "Record" button is clicked whe...
by djsg
Thu Jul 15, 2021 9:25 am
Forum: GNU/Linux
Topic: printf not working
Replies: 20
Views: 2721

printf not working

Hi,

I managed to build Audacity from its source code in Ubuntu; and I added a few lines of printf in AudacityApp.cpp and rebuilt it.
However, I started it from a command line terminal. I don't see my printf message. Where does it go?

Thanks in advance.