freetel-svn-tracking.git
10 years agoDoxygen revealed that I had set the ancestry of the KeyingOutput class
bruceperens [Fri, 21 Mar 2014 06:48:46 +0000 (06:48 +0000)]
Doxygen revealed that I had set the ancestry of the KeyingOutput class
incorrectly.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1468 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMore Doxygen fixes.
bruceperens [Fri, 21 Mar 2014 06:39:04 +0000 (06:39 +0000)]
More Doxygen fixes.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1467 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoDoxygen fix.
bruceperens [Fri, 21 Mar 2014 06:30:42 +0000 (06:30 +0000)]
Doxygen fix.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1466 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMore doxygen fixes.
bruceperens [Fri, 21 Mar 2014 06:26:23 +0000 (06:26 +0000)]
More doxygen fixes.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1465 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoDocumentation fixes.
bruceperens [Fri, 21 Mar 2014 06:22:32 +0000 (06:22 +0000)]
Documentation fixes.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1464 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFix many doxygen problems.
bruceperens [Fri, 21 Mar 2014 05:31:07 +0000 (05:31 +0000)]
Fix many doxygen problems.
Add macros to make use of [[unused]] and [[noreturn]] portable until compilers
catch up with C++11.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1463 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd arguments to --drivers output. Fix misstatement of flag.
bruceperens [Thu, 20 Mar 2014 02:06:11 +0000 (02:06 +0000)]
Add arguments to --drivers output. Fix misstatement of flag.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1462 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoGet rid of -lpthread until I thread something.
bruceperens [Thu, 20 Mar 2014 01:15:39 +0000 (01:15 +0000)]
Get rid of -lpthread until I thread something.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1461 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoPause audio input after open, just to be cautious.
bruceperens [Thu, 20 Mar 2014 00:32:33 +0000 (00:32 +0000)]
Pause audio input after open, just to be cautious.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1460 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFlush incoming audio at start time, to avoid overlong delay.
bruceperens [Thu, 20 Mar 2014 00:30:13 +0000 (00:30 +0000)]
Flush incoming audio at start time, to avoid overlong delay.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1459 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoReduce the "overlong" delay. Hopefully this is the end to ALSA tuning,
bruceperens [Thu, 20 Mar 2014 00:11:44 +0000 (00:11 +0000)]
Reduce the "overlong" delay. Hopefully this is the end to ALSA tuning,
but I doubt it.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1458 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMore tuning so that more devices work correctly.
bruceperens [Thu, 20 Mar 2014 00:02:51 +0000 (00:02 +0000)]
More tuning so that more devices work correctly.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1457 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMake open-by-longname work.
bruceperens [Wed, 19 Mar 2014 23:02:50 +0000 (23:02 +0000)]
Make open-by-longname work.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1456 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoTune output delay maximum to 3 frames.
bruceperens [Wed, 19 Mar 2014 21:48:33 +0000 (21:48 +0000)]
Tune output delay maximum to 3 frames.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1455 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoWhen the audio input device does not respond to poll(), poll the output device
bruceperens [Wed, 19 Mar 2014 21:44:42 +0000 (21:44 +0000)]
When the audio input device does not respond to poll(), poll the output device
instead. We don't otherwise poll output devices, as they generally remain in a
partially drained state for most of their operation and thus poll() returns
immediately.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1454 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoI seem to have the underrun issue solved.
bruceperens [Wed, 19 Mar 2014 21:32:00 +0000 (21:32 +0000)]
I seem to have the underrun issue solved.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1453 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd platform header.
bruceperens [Tue, 18 Mar 2014 22:32:56 +0000 (22:32 +0000)]
Add platform header.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1452 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd portable wrapper for poll().
bruceperens [Tue, 18 Mar 2014 18:43:13 +0000 (18:43 +0000)]
Add portable wrapper for poll().

git-svn-id: https://svn.code.sf.net/p/freetel/code@1451 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFlush the event handler interface, and fix a compiler type mismatch.
bruceperens [Tue, 18 Mar 2014 18:39:24 +0000 (18:39 +0000)]
Flush the event handler interface, and fix a compiler type mismatch.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1450 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd PollType, so that we can support WSApoll on Windows.
bruceperens [Tue, 18 Mar 2014 18:34:47 +0000 (18:34 +0000)]
Add PollType, so that we can support WSApoll on Windows.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1449 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFix unused argument complaints.
bruceperens [Tue, 18 Mar 2014 18:16:41 +0000 (18:16 +0000)]
Fix unused argument complaints.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1448 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoNo more timer-based operation.
bruceperens [Tue, 18 Mar 2014 18:07:42 +0000 (18:07 +0000)]
No more timer-based operation.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1447 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd poll_fds().
bruceperens [Tue, 18 Mar 2014 00:52:07 +0000 (00:52 +0000)]
Add poll_fds().

git-svn-id: https://svn.code.sf.net/p/freetel/code@1446 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoworking up use cases
drowe67 [Mon, 17 Mar 2014 08:01:31 +0000 (08:01 +0000)]
working up use cases

git-svn-id: https://svn.code.sf.net/p/freetel/code@1445 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoInitial checkin of intelligent PTT microphone that is an embedded platform for FreeDV
drowe67 [Sun, 16 Mar 2014 21:10:21 +0000 (21:10 +0000)]
Initial checkin of intelligent PTT microphone that is an embedded platform for FreeDV

git-svn-id: https://svn.code.sf.net/p/freetel/code@1444 01035d8c-6547-0410-b346-abe4f91aad63

10 years agogetting some reasonale results on HF channel with 7 symbol pilot est
drowe67 [Sat, 15 Mar 2014 04:55:47 +0000 (04:55 +0000)]
getting some reasonale results on HF channel with 7 symbol pilot est

git-svn-id: https://svn.code.sf.net/p/freetel/code@1443 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoStart defining poll interface.
bruceperens [Fri, 14 Mar 2014 19:59:26 +0000 (19:59 +0000)]
Start defining poll interface.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1442 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoClean up, move "linux" facilities to "posix" where appropirate.
bruceperens [Fri, 14 Mar 2014 02:13:48 +0000 (02:13 +0000)]
Clean up, move "linux" facilities to "posix" where appropirate.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1441 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoStill confused about ALSA buffer sizes and their effect upon latency.
bruceperens [Thu, 13 Mar 2014 22:45:48 +0000 (22:45 +0000)]
Still confused about ALSA buffer sizes and their effect upon latency.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1440 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoBetter formatting of error messages from ALSA drivers.
bruceperens [Thu, 13 Mar 2014 21:33:39 +0000 (21:33 +0000)]
Better formatting of error messages from ALSA drivers.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1439 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoPut pastable commands in error messages.
bruceperens [Thu, 13 Mar 2014 21:29:38 +0000 (21:29 +0000)]
Put pastable commands in error messages.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1438 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMore tuning of periods.
bruceperens [Thu, 13 Mar 2014 20:59:39 +0000 (20:59 +0000)]
More tuning of periods.
Add mloclkall() so that paging won't interrupt real-time performance.
Add message about the need to set
setcap cap_ipc_lock+ep

git-svn-id: https://svn.code.sf.net/p/freetel/code@1437 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMore coding to handle frame duration periods in the audio interfaces and the
bruceperens [Thu, 13 Mar 2014 20:01:55 +0000 (20:01 +0000)]
More coding to handle frame duration periods in the audio interfaces and the
scheduler.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1436 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoUse period sizes in dealing with overruns and underruns.
bruceperens [Thu, 13 Mar 2014 19:46:05 +0000 (19:46 +0000)]
Use period sizes in dealing with overruns and underruns.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1435 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoUse the old-style parameter setting functions, so that I can set the period
bruceperens [Thu, 13 Mar 2014 05:31:47 +0000 (05:31 +0000)]
Use the old-style parameter setting functions, so that I can set the period
size and buffer size.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1434 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoRun no longer makes decisions about the data size of frames, only about their
bruceperens [Wed, 12 Mar 2014 23:01:38 +0000 (23:01 +0000)]
Run no longer makes decisions about the data size of frames, only about their
minimum duration.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1433 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMake ALSA complaints mention the device name.
bruceperens [Wed, 12 Mar 2014 22:46:46 +0000 (22:46 +0000)]
Make ALSA complaints mention the device name.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1432 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoDrop delayed samples rather than reading them.
bruceperens [Wed, 12 Mar 2014 21:35:20 +0000 (21:35 +0000)]
Drop delayed samples rather than reading them.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1431 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAudio input works.
bruceperens [Wed, 12 Mar 2014 21:17:11 +0000 (21:17 +0000)]
Audio input works.
Also code handler for overlong audio input delays, as with a paused program.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1430 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAudio in is distorted, still debugging.
bruceperens [Wed, 12 Mar 2014 05:06:37 +0000 (05:06 +0000)]
Audio in is distorted, still debugging.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1429 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAudio coded, still debugging USB issues.
bruceperens [Wed, 12 Mar 2014 04:55:34 +0000 (04:55 +0000)]
Audio coded, still debugging USB issues.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1428 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoThe pipeline works, tone plays through it.
bruceperens [Wed, 12 Mar 2014 04:30:50 +0000 (04:30 +0000)]
The pipeline works, tone plays through it.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1427 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoGeneral clean-up.
bruceperens [Tue, 11 Mar 2014 19:37:34 +0000 (19:37 +0000)]
General clean-up.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1426 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoTurn on all warnings, and then fix whatever had warnings. G++ by default
bruceperens [Tue, 11 Mar 2014 07:03:11 +0000 (07:03 +0000)]
Turn on all warnings, and then fix whatever had warnings. G++ by default
doesn't complain about non-void functions that return no value. That was
enough to prompt me to turn on all possible warnings.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1425 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoProvide a platform default audio selection.
bruceperens [Tue, 11 Mar 2014 04:01:35 +0000 (04:01 +0000)]
Provide a platform default audio selection.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1424 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoOops, -g and -i did the same function.
bruceperens [Tue, 11 Mar 2014 03:47:40 +0000 (03:47 +0000)]
Oops, -g and -i did the same function.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1423 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFill in audio_out_alsa
bruceperens [Tue, 11 Mar 2014 03:40:18 +0000 (03:40 +0000)]
Fill in audio_out_alsa

git-svn-id: https://svn.code.sf.net/p/freetel/code@1422 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoConnect ready() to ALSA. Fix pedantic bug in alsa.cpp .
bruceperens [Sun, 9 Mar 2014 22:07:21 +0000 (22:07 +0000)]
Connect ready() to ALSA. Fix pedantic bug in alsa.cpp .

git-svn-id: https://svn.code.sf.net/p/freetel/code@1421 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoOn Linux, warn about not being in the audio group, if the audio group exists.
bruceperens [Sun, 9 Mar 2014 07:34:13 +0000 (07:34 +0000)]
On Linux, warn about not being in the audio group, if the audio group exists.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1420 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoEnumerate devices, works for ALSA now.
bruceperens [Sun, 9 Mar 2014 06:53:02 +0000 (06:53 +0000)]
Enumerate devices, works for ALSA now.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1419 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd enumerators.
bruceperens [Sat, 8 Mar 2014 02:21:49 +0000 (02:21 +0000)]
Add enumerators.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1418 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoStart work on ALSA driver.
bruceperens [Sat, 8 Mar 2014 01:55:19 +0000 (01:55 +0000)]
Start work on ALSA driver.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1417 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoComplain when a driver doesn't exist or can't be opened.
bruceperens [Sat, 8 Mar 2014 01:48:40 +0000 (01:48 +0000)]
Complain when a driver doesn't exist or can't be opened.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1416 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoExit if a driver isn't opened.
bruceperens [Sat, 8 Mar 2014 01:45:57 +0000 (01:45 +0000)]
Exit if a driver isn't opened.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1415 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoRemove conditional compilation switches for embedded use, we have the size
bruceperens [Fri, 7 Mar 2014 03:26:18 +0000 (03:26 +0000)]
Remove conditional compilation switches for embedded use, we have the size
small enough now (with removal of STL template use) that we don't need them.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1414 01035d8c-6547-0410-b346-abe4f91aad63

10 years ago1st pass at coherent phase est ready for testing
drowe67 [Fri, 7 Mar 2014 01:50:09 +0000 (01:50 +0000)]
1st pass at coherent phase est ready for testing

git-svn-id: https://svn.code.sf.net/p/freetel/code@1413 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFix the driver_manager static initialization order hack to use less
bruceperens [Fri, 7 Mar 2014 01:40:32 +0000 (01:40 +0000)]
Fix the driver_manager static initialization order hack to use less
demand-fill-zero space. We prefer to reduce copy-on-write pages to
a bare minimum for memory use efficiency with shared libraries and
embedded systems.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1412 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoSave 80K text size by using an ad-hoc altrernative to STL containers. Since
bruceperens [Fri, 7 Mar 2014 01:10:18 +0000 (01:10 +0000)]
Save 80K text size by using an ad-hoc altrernative to STL containers. Since
this is an embedded program, that's significant.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1411 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoNo more "using namespace std".
bruceperens [Fri, 7 Mar 2014 00:08:04 +0000 (00:08 +0000)]
No more "using namespace std".

git-svn-id: https://svn.code.sf.net/p/freetel/code@1410 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoWrite no-op copy routines.
bruceperens [Thu, 6 Mar 2014 23:44:11 +0000 (23:44 +0000)]
Write no-op copy routines.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1409 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoManage protocol framers.
bruceperens [Thu, 6 Mar 2014 23:14:30 +0000 (23:14 +0000)]
Manage protocol framers.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1408 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoDefine the framer.
bruceperens [Thu, 6 Mar 2014 23:06:30 +0000 (23:06 +0000)]
Define the framer.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1407 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd more fifos. Make the codec and modem indicate the amount consumed, as well
bruceperens [Thu, 6 Mar 2014 05:00:12 +0000 (05:00 +0000)]
Add more fifos. Make the codec and modem indicate the amount consumed, as well
as the amount output.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1406 01035d8c-6547-0410-b346-abe4f91aad63

10 years agogetting good results, compared to current DQPSK FreeDV, 6dB gain using rate 3/4 and...
drowe67 [Tue, 18 Feb 2014 09:07:36 +0000 (09:07 +0000)]
getting good results, compared to current DQPSK FreeDV, 6dB gain using rate 3/4 and 10dB gain using rate 1/2

git-svn-id: https://svn.code.sf.net/p/freetel/code@1405 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoldpc working, performance not that great, about to try simplified model
drowe67 [Sun, 16 Feb 2014 06:41:48 +0000 (06:41 +0000)]
ldpc working, performance not that great, about to try simplified model

git-svn-id: https://svn.code.sf.net/p/freetel/code@1404 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoadded ldpc codec to QPSK test simulation
drowe67 [Sat, 15 Feb 2014 04:37:32 +0000 (04:37 +0000)]
added ldpc codec to QPSK test simulation

git-svn-id: https://svn.code.sf.net/p/freetel/code@1403 01035d8c-6547-0410-b346-abe4f91aad63

10 years agomoved path for doppler spreading files
drowe67 [Wed, 12 Feb 2014 02:52:05 +0000 (02:52 +0000)]
moved path for doppler spreading files

git-svn-id: https://svn.code.sf.net/p/freetel/code@1402 01035d8c-6547-0410-b346-abe4f91aad63

10 years agodoppler spreading files from pathsim
drowe67 [Wed, 12 Feb 2014 02:47:02 +0000 (02:47 +0000)]
doppler spreading files from pathsim

git-svn-id: https://svn.code.sf.net/p/freetel/code@1401 01035d8c-6547-0410-b346-abe4f91aad63

10 years agopatch to stop tools-filter function crashing, thanks Kamal
drowe67 [Tue, 11 Feb 2014 20:21:37 +0000 (20:21 +0000)]
patch to stop tools-filter function crashing, thanks Kamal

git-svn-id: https://svn.code.sf.net/p/freetel/code@1400 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoHF channel model and carrier power normalisation, but dqpsk broken
drowe67 [Tue, 11 Feb 2014 06:13:13 +0000 (06:13 +0000)]
HF channel model and carrier power normalisation, but dqpsk broken

git-svn-id: https://svn.code.sf.net/p/freetel/code@1399 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoincluded calcs of Es/No to noise variance
drowe67 [Tue, 11 Feb 2014 03:07:24 +0000 (03:07 +0000)]
included calcs of Es/No to noise variance

git-svn-id: https://svn.code.sf.net/p/freetel/code@1398 01035d8c-6547-0410-b346-abe4f91aad63

10 years agogetting correct BER courves with filter on AWGN
drowe67 [Tue, 11 Feb 2014 02:29:54 +0000 (02:29 +0000)]
getting correct BER courves with filter on AWGN

git-svn-id: https://svn.code.sf.net/p/freetel/code@1397 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoworking up simulation for various QPSK modulation schemems on HF channel
drowe67 [Sun, 9 Feb 2014 04:09:50 +0000 (04:09 +0000)]
working up simulation for various QPSK modulation schemems on HF channel

git-svn-id: https://svn.code.sf.net/p/freetel/code@1396 01035d8c-6547-0410-b346-abe4f91aad63

10 years agopatch from Bertrik, thanks
drowe67 [Tue, 4 Feb 2014 03:29:00 +0000 (03:29 +0000)]
patch from Bertrik, thanks

git-svn-id: https://svn.code.sf.net/p/freetel/code@1395 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoldpc simulation working, but perf not that great in ccir poor 4dB channel
drowe67 [Thu, 30 Jan 2014 04:28:56 +0000 (04:28 +0000)]
ldpc simulation working, but perf not that great in ccir poor 4dB channel

git-svn-id: https://svn.code.sf.net/p/freetel/code@1394 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMove former function arguments to the class.
bruceperens [Wed, 22 Jan 2014 18:07:11 +0000 (18:07 +0000)]
Move former function arguments to the class.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1393 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoCreate a private class for the main loop.
bruceperens [Wed, 22 Jan 2014 18:04:25 +0000 (18:04 +0000)]
Create a private class for the main loop.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1392 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFIFO works.
bruceperens [Wed, 22 Jan 2014 07:14:04 +0000 (07:14 +0000)]
FIFO works.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1391 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFIFO implemented but not tested.
bruceperens [Wed, 22 Jan 2014 05:33:43 +0000 (05:33 +0000)]
FIFO implemented but not tested.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1390 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoContinue implementing the FIFO.
bruceperens [Wed, 22 Jan 2014 05:08:11 +0000 (05:08 +0000)]
Continue implementing the FIFO.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1389 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoBuilding a FIFO for the codec to modem connection.
bruceperens [Wed, 22 Jan 2014 05:03:09 +0000 (05:03 +0000)]
Building a FIFO for the codec to modem connection.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1388 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoGet C++11 constant types from the std:: namespace rather than the C one.
bruceperens [Wed, 22 Jan 2014 02:42:40 +0000 (02:42 +0000)]
Get C++11 constant types from the std:: namespace rather than the C one.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1387 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoRefine the codec and modem API.
bruceperens [Wed, 22 Jan 2014 02:16:58 +0000 (02:16 +0000)]
Refine the codec and modem API.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1386 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd all of the necessary methods to codec and modem. The program won't compile
bruceperens [Wed, 22 Jan 2014 01:11:57 +0000 (01:11 +0000)]
Add all of the necessary methods to codec and modem. The program won't compile
until I fill them in.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1385 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoTune the pause value.
bruceperens [Tue, 21 Jan 2014 21:32:28 +0000 (21:32 +0000)]
Tune the pause value.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1384 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoSet real-time priority. The version in source/platform/linux/scheduler.cpp
bruceperens [Tue, 21 Jan 2014 21:21:55 +0000 (21:21 +0000)]
Set real-time priority. The version in source/platform/linux/scheduler.cpp
is (of course) Linux-specific.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1383 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoBuild the main loop.
bruceperens [Tue, 21 Jan 2014 20:26:00 +0000 (20:26 +0000)]
Build the main loop.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1382 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMake more drivers work.
bruceperens [Tue, 21 Jan 2014 17:53:20 +0000 (17:53 +0000)]
Make more drivers work.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1381 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoOops, some files weren't added to SVN previously. More work on the event
bruceperens [Tue, 21 Jan 2014 03:46:22 +0000 (03:46 +0000)]
Oops, some files weren't added to SVN previously. More work on the event
interface.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1380 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdd I/O ready indication. New tests for blank_panel.
bruceperens [Tue, 21 Jan 2014 03:34:02 +0000 (03:34 +0000)]
Add I/O ready indication. New tests for blank_panel.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1379 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoTrivial text reformatting.
bruceperens [Mon, 20 Jan 2014 08:38:23 +0000 (08:38 +0000)]
Trivial text reformatting.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1378 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMore README, more work on drivers.
bruceperens [Mon, 20 Jan 2014 08:37:33 +0000 (08:37 +0000)]
More README, more work on drivers.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1377 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoRefactor to base AudioInput and AudioOutput on AudioDevice.
bruceperens [Sun, 19 Jan 2014 23:56:16 +0000 (23:56 +0000)]
Refactor to base AudioInput and AudioOutput on AudioDevice.
Fix text formatting in drivers.h
Add more tests.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1376 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoRemove debugging function from tone driver.
bruceperens [Sat, 18 Jan 2014 22:32:32 +0000 (22:32 +0000)]
Remove debugging function from tone driver.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1375 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoThe tone test driver works correctly, tests written and passed.
bruceperens [Sat, 18 Jan 2014 22:31:12 +0000 (22:31 +0000)]
The tone test driver works correctly, tests written and passed.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1374 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoTest the tone class.
bruceperens [Sat, 18 Jan 2014 00:49:19 +0000 (00:49 +0000)]
Test the tone class.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1373 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoAdded a base file test, fixed CMakeLists.txt flag handling, fixed a complaint
bruceperens [Sat, 18 Jan 2014 00:11:33 +0000 (00:11 +0000)]
Added a base file test, fixed CMakeLists.txt flag handling, fixed a complaint
from --pedantic.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1372 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoMake the first test, and fix destructor protection issue brought up in
bruceperens [Fri, 17 Jan 2014 23:50:41 +0000 (23:50 +0000)]
Make the first test, and fix destructor protection issue brought up in
compiling the first test.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1371 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoFill in documentation for Doxygen.
bruceperens [Fri, 17 Jan 2014 20:03:07 +0000 (20:03 +0000)]
Fill in documentation for Doxygen.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1370 01035d8c-6547-0410-b346-abe4f91aad63

10 years agoLet's try libevent instead of a POSIX event handler.
bruceperens [Fri, 17 Jan 2014 19:47:39 +0000 (19:47 +0000)]
Let's try libevent instead of a POSIX event handler.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1369 01035d8c-6547-0410-b346-abe4f91aad63