vsonnier
25f7ba386d
BLOCKING_QUEUE: remove ThreadBlockingQueue dependency to ThreadQueue, remove ThreadQueue.h from CMakeLists
2017-02-14 18:42:11 +01:00
vsonnier
c7467a88bc
BLOCKING_QUEUE: prepare by raising up max queue lenghts
...
BLOCKING_QUEUE: Replaced ThreadQueue usage by ThreadBlockingQueue usage
BLOCKING_QUEUE: instrument all push() with timeouts, showed some call have to be non-blocking...
BLOCKING_QUEUE: tuned push()/try_push()
2017-02-14 18:42:05 +01:00
vsonnier
196c664cf4
Device Sample Rate improvements: UI, changed device sample rates to be expressed as long instead of int at some places for safety/consistency. Also pedantic harmless traces changes.
2017-01-21 12:56:16 +01:00
Charles J. Cliffe
3ec14fbe38
Licence fix, add SPDX-License-Identifier, remove unused code files
2017-01-02 21:07:43 -05:00
vsonnier
21c8a81c32
TH_CLEAN_3.5: push() cleanup side of things, assure SDRThread::readStream() to actually check for full + make ThreadQueue notify even in case on not-successfull push(), make it spam notify_all() everytime
2016-07-08 23:30:15 +02:00
vsonnier
b495b388c9
TH_CLEAN_3: Use of non-blocking try_pop() when possible,
...
AudioThread concurrent access hardening and simplified,
and misc.
2016-07-05 21:45:42 +02:00
vsonnier
567d84711f
THREAD_CLEAN_PART2: Assure correct terminate()/isTerminated(delay)/delete sequence +
...
Removed the NotifyQueue between DemodulatorInstance participants, actually not needed
since DemodulatorInstance::IsTerminated() is explicitly called on some events for cleanups
DELETE_CLEANUP: properly nullify deleted pointers when needed
2016-07-03 14:22:41 +02:00
vsonnier
52de909cfb
THREAD_CLEAN: Clearly distinguish between a request to stop by terminate() from the actual termination isTerminated()
2016-06-28 22:16:34 +02:00
Charles J. Cliffe
df33751f9e
might be null..
2016-06-08 21:48:10 -04:00
Charles J. Cliffe
d7ef86ae10
On second thought, let’s not go to Camelot. ‘Tis a silly place.
2016-06-08 21:45:52 -04:00
Charles J. Cliffe
0067e309d1
more debugging; fix some potential refcount leaks...
2016-06-08 21:31:52 -04:00
Charles J. Cliffe
b54ab38a47
More minor tweaks; getBuffer refcount 1 init suggestion from @vsonnier
2016-06-08 19:48:46 -04:00
Charles J. Cliffe
2bdefca263
Trying.. still one stuck in the queue on delete..
2016-06-07 21:12:30 -04:00
Charles J. Cliffe
50bfb251f8
Attempt to clean up any buffers that weren't used on terminate, still one hanging around..
2016-06-07 20:36:59 -04:00
vsonnier
5bb43f5aaa
Replace mutex lock/unlock pairs with guards, cleanups
2016-06-03 18:45:03 +02:00
Charles J. Cliffe
6d63d570aa
comment out some noisy stdout logging until there's a proper facility for log outputs
2016-06-02 19:45:34 -04:00
vsonnier
fc4fa3e74f
MISC 2: Make ReferenceCounter refcount itself protected by the same mutex of the whole class, for state consistency
2016-06-01 19:46:45 +02:00
vsonnier
357dcc967b
MISC 1: make IOThread input and output queues returned as ThreadQueueBase*, not void*, cleaner.
...
then use static_cast for downcasts, because we know what we are doing
2016-06-01 19:42:11 +02:00
Charles J. Cliffe
f22ef685f5
Static analysis related fixes
2016-03-30 19:34:36 -04:00
Stanisław Pitucha
035353123d
Fix signed/unsigned variables
2016-01-29 07:49:31 +11:00
Stanisław Pitucha
c1eb1de1bd
Fix remaining unused parameters
2016-01-27 11:45:54 +11:00
Charles J. Cliffe
7d6a387a77
Updates and improvements for low-bandwidth input usage
2015-12-29 20:52:49 -05:00
Charles J. Cliffe
c303b68284
Basic X/Y scope plot while in digital mode
2015-11-29 13:35:12 -05:00
Charles J. Cliffe
207d61cd0c
Merge pull request #156 from cjcliffe/master
...
Two crash fixes from master branch
2015-10-09 12:58:44 -04:00
Eoin Mcloughlin
0b10a5b30c
Fix crash in AudioThread::setActive
...
If AudioThread::run() hasn't been called yet, we can dereference a null inputQueue
2015-10-07 20:18:29 +01:00
Charles J. Cliffe
dff879f233
Move deviceSelector init startup -> appframe
...
- Plus some minor static analysis fixes and missing atomic store() for
MSVC
2015-10-05 19:59:17 -04:00
Charles J. Cliffe
c30cce9114
Add functional Spectrum view to demodulator visuals
...
- Might need to do some renaming from Scope->AVDisplay or something for
ScopeCanvas to avoid confusion.
2015-08-24 01:31:37 -04:00
Charles J. Cliffe
bab2ad3780
cleanup
2015-08-03 23:41:37 -04:00
Charles J. Cliffe
10e35002f1
AudioThread & demod worker IOThread queues, cleanup
2015-07-30 19:30:46 -04:00
Charles J. Cliffe
05cd99bbf1
IOThread all the things!
2015-07-29 20:57:02 -04:00
Charles J. Cliffe
19f9b7ab70
MSVC fixes
2015-07-21 00:59:18 -04:00
Charles J. Cliffe
57e988572f
type updates
2015-07-19 23:19:10 -04:00
Charles J. Cliffe
2a9eadbf9a
Issue #81 patches from @dovandung
2015-05-27 23:22:19 -04:00
Charles J. Cliffe
d5d44b0b30
Better initial sample rate setup, remove hard-coded default rate and use device info matching /w fallback
2015-03-22 20:47:07 -04:00
Charles J. Cliffe
4147582d2a
Refactor for sample rate changes, audio thread race crash fixes
2015-03-15 21:02:26 -04:00
Charles J. Cliffe
b197a7ddb2
Can now set output sample rate, demodulator sample rate doesn't adjust yet so I find it rather hilarious at the moment :)
2015-03-13 22:25:07 -04:00
Charles J. Cliffe
84bd856c53
Remove unused non-mixer based code, simplifies audio thread and can be emulated by overloading thread device ids anyways
2015-03-12 19:34:50 -04:00
Charles J. Cliffe
4e13b625ca
Fix for mixer clipping bug that's causing audio to crackle
2015-03-01 10:30:02 -05:00
Charles J. Cliffe
009e20e448
Linux patches
2015-02-22 01:58:00 -05:00
Charles J. Cliffe
0c66d19f92
Merge branch 'master' into osx-app-build
2015-02-21 23:33:05 -05:00
Charles J. Cliffe
8a859c661b
MSVC + Win32/x86 patch
2015-02-20 00:34:32 -05:00
Charles J. Cliffe
9d9bb8f103
OSX .app compiles but with runtime dylib errors
...
Regular binary compilation works, manual wxWidgets compile required for
app (port version doesn’t work for me).
Fixed-up app has runtime errors with dylib files but otherwise verifies…
2015-02-17 21:26:14 -05:00
Charles J. Cliffe
c221ee2216
missing peak gain apply
2015-02-11 22:55:34 -05:00
Charles J. Cliffe
c69d05010c
Merge remote-tracking branch 'origin/mixer-fixes' into waterfall-optimize
2015-02-11 21:35:44 -05:00
Charles J. Cliffe
261d2dbe5f
audio thread locking fixes
2015-02-11 21:35:27 -05:00
Charles J. Cliffe
add04883eb
Audio thread mixer adjustments
...
- Automatic gain balance
- Clipping prevention
2015-02-08 18:59:08 -05:00
Charles J. Cliffe
590d494fea
Fix for broken OSX audio
2015-02-05 20:01:21 -05:00
Charles J. Cliffe
a8070ca953
Destroy / recreate audio thread on demodulator activate / deactivate -- fixes DirectSound issues
2015-02-04 18:10:42 -05:00
Charles J. Cliffe
963e26bc07
Linux somewhat functional
2015-01-18 01:36:28 -05:00
Charles J. Cliffe
2b6da304ef
Fix demodulator termination / thread lock
2015-01-11 20:26:51 -05:00