prepare for eventual release

This commit is contained in:
tildearrow 2021-12-19 13:05:09 -05:00
parent ee67c09c09
commit ea19f133d6
4 changed files with 22 additions and 12 deletions

View File

@ -14,6 +14,8 @@ add_subdirectory(extern/fmt)
set(BUILD_TESTING OFF)
set(BUILD_PROGRAMS OFF)
set(BUILD_EXAMPLES OFF)
set(ENABLE_EXTERNAL_LIBS OFF)
set(ENABLE_MPEG OFF)
add_subdirectory(extern/libsndfile)
if (WIN32)

View File

@ -12,6 +12,12 @@ this is a work-in-progress editor for DefleMask module files (.dmf).
- accurate emulation cores whether possible (Nuked, MAME, SameBoy, Mednafen PCE, puNES, reSID and ymfm)
- open-source. GPLv2.
## downloads
coming very soon!
# developer info
## dependencies
- CMake
@ -50,23 +56,23 @@ make
## usage
```
./furnace <file>
./furnace
```
this opens the program.
```
./furnace -console <file>
```
this will play a .dmf file.
```
./furnace -view commands <file>
./furnace -console -view commands <file>
```
this will play a .dmf file and enable the commands view.
```
./furnace -loops 0 <file>
```
this will play a .dmf file and not loop it.
```
./furnace -output audio.wav <file>
```
@ -85,6 +91,6 @@ file a bug report. use the Issues page.
it's probably another playback inaccuracy.
> extremely high CPU usage in arcade platform
> my song sounds correct, but it doesn't in DefleMask
yep, that's how accurate Nuked is. I'll add an ymfm-based core soon.
file a bug report **here**. it still is a playback inaccuracy.

View File

@ -104,6 +104,7 @@ bool TAAudioJACK::setRun(bool run) {
bool TAAudioJACK::init(TAAudioDesc& request, TAAudioDesc& response) {
if (initialized) return false;
if (jack_client_open==NULL) return false;
desc=request;
desc.outFormat=TA_AUDIO_FORMAT_F32;
@ -153,4 +154,4 @@ bool TAAudioJACK::init(TAAudioDesc& request, TAAudioDesc& response) {
response=desc;
initialized=true;
return true;
}
}

View File

@ -1,4 +1,5 @@
#include "taAudio.h"
#include <jack/weakjack.h>
#include <jack/jack.h>
class TAAudioJACK: public TAAudio {
@ -23,4 +24,4 @@ class TAAudioJACK: public TAAudio {
ac(NULL),
ai(NULL),
ao(NULL) {}
};
};