mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
Lit Fix and Tones Fix; #127
This commit is contained in:
@@ -11,7 +11,7 @@ wget https://raw.githubusercontent.com/lwvmobile/dsd-fme/main/download-and-insta
|
|||||||
chmod +x download-and-install.sh
|
chmod +x download-and-install.sh
|
||||||
./download-and-install.sh
|
./download-and-install.sh
|
||||||
```
|
```
|
||||||
|
f
|
||||||
If you have dependencies already installed (i.e. need a fresh clean install on a system with DSD-FME already or using system other than Debian/Ubuntu, etc), please run this instead:
|
If you have dependencies already installed (i.e. need a fresh clean install on a system with DSD-FME already or using system other than Debian/Ubuntu, etc), please run this instead:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -101,7 +101,7 @@ sudo ldconfig
|
|||||||
|
|
||||||
### Windows Cygwin Builds
|
### Windows Cygwin Builds
|
||||||
|
|
||||||
If using RTL input support, you must install libusb-win32 before proceed with Cygwin installation. You will also need to build and compile a version of librtlsdr, but this can be tricky, and personally, I had to resort to using a much older version of the source code to get it to build at all with the rtl support in the precompiled 'Aero' builds.
|
If using RTL input support, you must install libusb-win32 before proceeding with Cygwin installation. You will also need to build and compile a version of librtlsdr, but this can be tricky, and personally, I had to resort to using a much older version of the source code to get it to build at all with the rtl support in the precompiled 'Aero' builds.
|
||||||
|
|
||||||
Then install all dependencies available in the repo prior to building, either directly selecting them during setup with the setup-x86.exe or setup-x64.exe or by issuing a command similar to this:
|
Then install all dependencies available in the repo prior to building, either directly selecting them during setup with the setup-x86.exe or setup-x64.exe or by issuing a command similar to this:
|
||||||
|
|
||||||
@@ -116,14 +116,15 @@ Then you can build and install using
|
|||||||
```
|
```
|
||||||
git clone https://github.com/lwvmobile/dsd-fme
|
git clone https://github.com/lwvmobile/dsd-fme
|
||||||
cd dsd-fme
|
cd dsd-fme
|
||||||
sudo cp tone8.wav /usr/share/
|
cp tone8.wav /usr/share/
|
||||||
sudo cp tone24.wav /usr/share/
|
cp tone24.wav /usr/share/
|
||||||
sudo cp tone48.wav /usr/share/
|
cp tone48.wav /usr/share/
|
||||||
sudo chmod 777 /usr/share/tone8.wav
|
chmod 777 /usr/share/tone8.wav
|
||||||
sudo chmod 777 /usr/share/tone24.wav
|
chmod 777 /usr/share/tone24.wav
|
||||||
sudo chmod 777 /usr/share/tone48.wav
|
chmod 777 /usr/share/tone48.wav
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
# -DAERO=ON is optional, but recommended if you want the older OSS support as well
|
||||||
cmake -DAERO=ON ..
|
cmake -DAERO=ON ..
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|||||||
@@ -200,6 +200,7 @@ void beeper (dsd_opts * opts, dsd_state * state, int type)
|
|||||||
if (opts->pulse_digi_rate_out == 8000) strncpy(wav_name, "/usr/share/tone8.wav", 1023);
|
if (opts->pulse_digi_rate_out == 8000) strncpy(wav_name, "/usr/share/tone8.wav", 1023);
|
||||||
if (opts->pulse_digi_rate_out == 48000) strncpy(wav_name, "/usr/share/tone48.wav", 1023);
|
if (opts->pulse_digi_rate_out == 48000) strncpy(wav_name, "/usr/share/tone48.wav", 1023);
|
||||||
if (opts->pulse_digi_rate_out == 24000) strncpy(wav_name, "/usr/share/tone24.wav", 1023);
|
if (opts->pulse_digi_rate_out == 24000) strncpy(wav_name, "/usr/share/tone24.wav", 1023);
|
||||||
|
if (opts->audio_out_type == 5) strncpy(wav_name, "/usr/share/tone24.wav", 1023);
|
||||||
wav_name[1023] = '\0';
|
wav_name[1023] = '\0';
|
||||||
struct stat stat_buf;
|
struct stat stat_buf;
|
||||||
if (stat(wav_name, &stat_buf) == 0)
|
if (stat(wav_name, &stat_buf) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user