pflarue / ardop

Source for various version of ARDOP
Other
23 stars 4 forks source link

Allow ardopcf to be run without connecting to a soundcard #40

Closed pflarue closed 1 month ago

pflarue commented 1 month ago

For testing purposes, it may be useful to run ardopcf without using a soundcard when generating test WAV file recordings. In this configuration, it is not necessary to limit the production of audio samples to the rate at which the soundcard can play them. Thus, WAV files can be produced more quickly using this feature. To use this feature, specify NOSOUND as the name of the capture sound device.

This pull request also includes a related bugfix. Before this fix, when running under Windows, if an invalid string was used to specify the playback or capture sound device, ardopcf failed to recognize this as an error. With this fix, an error is printed and ardopcf exits when this occurs.