whelgeson 735fca16d6 Fix for issue #441 Audio Recording Stops After Encountering Error (#449)
* Fix for issue #441.
Method doc reads that the method is thread-safe, but there exist no locking to ensure thread safety on call into recycle method. Modifying the decrementUserCount method to block other callers to ensure thread-safe access.

This appears to be a hot area of code and there may be a performance hit by doing this, please double check my work here.

* Moving synchronized to recycle method as it's accessed by two different methods that could potentially cause an unsafe access race condition.

* Revert - synchronizing recycle does not protect against multiple recycle calls on the same object.
2018-12-16 19:12:41 -05:00
2018-04-18 05:52:15 -04:00
2018-01-12 03:50:57 -05:00
2017-12-15 23:23:42 +02:00
2017-12-15 22:45:40 +02:00

sdrtrunk

A cross-platform java application for decoding, monitoring, recording and streaming trunked mobile and related radio protocols using Software Defined Radios (SDR).

sdrtrunk Application Overview - Version 0.3.0 Figure 1: sdrtrunk Version 0.3.0 Application Screenshot

End User Instructions:

If you simply want to download and run the program, please follow these instructions.

Install Java 8 (or newer)

Download the latest sdrtrunk release

All release versions of sdrtrunk are available from the releases tab.

(final) These versions have been tested and are the current release version.

(beta) These versions are currently being tested for bugs and functionality.

Run the application

Either double-click on the downloaded file (if supported on your operating system) or open a terminal/command window and change to the directory where you downloaded the release file and type:

java -jar downloaded-jar-filename 

Note: replace downloaded-jar-filename with the actual name of the sdrtrunk release version that you downloaded

Optional - P25 Audio

If you're using sdrtrunk with a P25 trunked radio system, the JMBE wiki page contains instructions for downloading the JMBE audio library source code and compiling the JMBE library. Copy the resulting JMBE audio library jar file to the same folder containing the sdrtrunk application to use the library with sdrtrunk.

Developer Instructions:

If you're interested in modifying and/or compiling the source code, please follow these instructions to use gradle to compile the code.

Build the project

sdrtrunk uses gradle as the build system. You can build it with locally installed gradle or if you do not have/want to install gradle you can use preconfigured linux/windows wrapper.

Build with locally installed gradle 4.3.1

gradle clean buildSdr

Build with preconfigured wrapper for linux/windows

Linux

./gradlew clean buildSdr

Windows

gradle.bat clean buildSdr

This would add gradle, download all project dependencies and build JAR

Development

All dependencies/versions are controlled from build.gradle. To change the new release version tag of artifact - change property:

version = '0.3.2'

Run SDRTrunk

SDRTrunk is packed into single uber-jar file. There is need to have folders with dependencies and adding them with classpath. Just run with java.

Use Java8

java -jar build/libs/sdr-trunk-all-0.3.2.jar 
Description
No description provided
Readme GPL-3.0 53 MiB
NXDN-625 Latest
2026-06-25 09:56:10 -04:00
Languages
Java 99.9%