resetPrefs.txt

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
cmjone
Posts: 39
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

resetPrefs.txt

Post by cmjone » Fri Apr 17, 2015 4:12 pm

I am re-posting this thread to eliminate the problems I created in making the installer. When I first compiled the .iss file, I misunderstood some manipulations I needed to do and resulted in some errors. Now the major hurdle is over. I still got an error. During the compilation using Inno, it indicated that the Source: "resetPrefs.txt" in the audacity/win directory does not exist. It really does not exist. I commented it out to get it to compile. Anyway, where do I get this "resetPrefs.txt" so that I can insert it into the win directory?

Gale Andrews
Quality Assurance
Posts: 25982
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: resetPrefs.txt

Post by Gale Andrews » Fri Apr 17, 2015 6:17 pm

cmjone wrote:I am re-posting this thread to eliminate the problems I created in making the installer. When I first compiled the .iss file, I misunderstood some manipulations I needed to do and resulted in some errors. Now the major hurdle is over. I still got an error. During the compilation using Inno, it indicated that the Source: "resetPrefs.txt" in the audacity/win directory does not exist. It really does not exist. I commented it out to get it to compile. Anyway, where do I get this "resetPrefs.txt" so that I can insert it into the win directory?
There is no need for you to make an installer.

Remember, if you distribute an ASIO-enabled build of Audacity, with or without an installer, you will be breaching our licence.

The resetPrefs.txt file is in the /win directory in our source code: https://github.com/audacity/audacity/tree/master/win. Audacity only looks for the name of that file, not the contents, so you can just create an empty file of that name.

Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cmjone
Posts: 39
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

Re: resetPrefs.txt

Post by cmjone » Fri Apr 17, 2015 6:37 pm

Understood. Thanks for the info. Everything is fine now.
However, I have one more question. I am not a programmer. Could you educate me under what situation you would use the release version and the debug version of audacity? It seems to me both record and play with the same behavior. Debug means to find out the problems. What problems are there to find out? There is no installer for the debug version, correct?

Gale Andrews
Quality Assurance
Posts: 25982
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: resetPrefs.txt

Post by Gale Andrews » Fri Apr 17, 2015 7:31 pm

cmjone wrote:Understood. Thanks for the info. Everything is fine now.
However, I have one more question. I am not a programmer. Could you educate me under what situation you would use the release version and the debug version of audacity? It seems to me both record and play with the same behavior. Debug means to find out the problems. What problems are there to find out? There is no installer for the debug version, correct?
The debug version is slower to respond because it performs checks and tests while running.

We have placed tests in the code that only debug versions see, to let us know if there is a potential code problem. If one of these tests fails, then the debug version will throw an "assertion error" and wait for a response from the user before continuing. The problem may not cause a crash, in which case a release version of Audacity would continue without the user being aware of any problem.

You could write an ISS file that installed a debug version of Audacity. However without providing extra libraries with the installer, debug Audacity would not run on machines that lacked the version of Visual Studio that Audacity was built with.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply