76 Commits

Author SHA1 Message Date
Fred Gleason
105b97f481 2021-12-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in caed(8) that could cause segfaults when attempting
	to capture audio via JACK.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-29 09:30:42 -05:00
Fred Gleason
884f327050 2021-12-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that broke audio capture under
	ALSA and JACK.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-28 09:00:45 -05:00
Fred Gleason
7eba8e3349 2021-12-02 Fred Gleason <fredg@paravelsystems.com>
* Modified caed(8) to use promisucous mode when starting jackd(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-02 14:12:03 -05:00
Fred Gleason
59e731cdbf 2021-11-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that made it impossible to stop
	audio recordings manually.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-11-23 16:00:18 -05:00
Fred Gleason
ac594cc68b 2021-09-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up deprecation warnings for 'QString::sprintf()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-01 19:59:37 -04:00
Fred Gleason
7fe52159a0 2021-08-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in caed(8) that broke the build.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-24 13:03:52 -04:00
Fred Gleason
62b7ef3777 2021-08-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the build with ALSA support disabled.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-20 11:26:44 -04:00
Fred Gleason
a5625544e4 2021-08-20 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal JACK dependencies from the core caed(8) code.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-20 10:29:26 -04:00
Fred Gleason
7f1d18ae62 2021-08-20 Fred Gleason <fredg@paravelsystems.com>
* Renamed audio driver components in caed(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-20 10:18:05 -04:00
Fred Gleason
5a9f59ec62 2021-08-20 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up code in 'cae/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-20 09:42:35 -04:00
Fred Gleason
4d73f9bccc 2021-08-19 Fred Gleason <fredg@paravelsystems.com>
* Refactored the JACK driver in caed(8) to use virtual inheritance.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-19 16:23:26 -04:00
Fred Gleason
8888e4cc82 2021-08-18 Fred Gleason <fredg@paravelsystems.com>
* Refactored the ALSA driver in caed(8) to use virtual inheritance.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-18 17:01:04 -04:00
Fred Gleason
6ed4643fc1 2021-08-18 Fred Gleason <fredg@paravelsystems.com>
* Refactored the HPI driver in caed(8) to use virtual inheritance.
	* Disabled JACK driver support in caed(8).
	* Disabled ALSA driver support in caed(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-18 11:14:41 -04:00
Fred Gleason
eb5bb116f3 2021-06-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in caed(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-06-01 17:13:30 -04:00
Fred Gleason
3548d6c60e 2021-04-18 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'cae/'.
	* Replaced " with ' delimiters in all SQL literal strings in
	'cae/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-19 16:56:35 -04:00
Fred Gleason
0892892407 2021-04-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'DISTRO-SPECIFIC NOTES' section to 'INSTALL'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-12 16:12:52 -04:00
Fred Gleason
6a0e385861 2021-03-31 Fred Gleason <fredg@paravelsystems.com>
* Added syslog messages for tracking connection states in caed(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-03-31 13:34:02 -04:00
Fred Gleason
ba755a60ba 2021-03-31 Fred Gleason <fredg@paravelsystems.com>
* Modernized indentation style of all switch() statements in caed(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-03-31 11:07:09 -04:00
Fred Gleason
57abeada3c 2021-02-24 Fred Gleason <fredg@paravelsystems.com>
* Updated build system to use Qt5 instead of Qt4.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-24 16:12:22 -05:00
Fred Gleason
89a0d72439 2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-23 18:07:21 -05:00
Fred Gleason
f036872fd6 2020-01-28 Fred Gleason <fredg@paravelsystems.com>
* Added a 'libmusicbrainz5' dependency.
	* Added a 'libdiscid' dependency.
	* Added a 'readcd_test' test harness.
2020-01-28 17:26:09 -05:00
Fred Gleason
a352a920a0 Fixed conflict in 'ChangeLog' 2019-08-28 17:31:47 -04:00
Fred Gleason
945aae0297 2019-08-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that broke timescaling support.
2019-08-26 19:05:39 -04:00
Patrick Linstruth
b07e1e5aa0 Avoid crash if no JACK command line is specified is rdadmin(1) 2019-08-19 09:20:53 -07:00
Fred Gleason
37da80e1c3 2019-08-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored ripcd(8) to manage JACK port [dis]connections directly,
	rather than by delegation to caed(8).
2019-08-06 19:54:38 -04:00
Fred Gleason
504754f726 2019-07-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the 'Switch Take' ['ST'],
	'Switch Add' ['SA'] and 'Switch Remove' ['SR'] RMLs when
	using the 'Local Audio Adapter' driver.
2019-07-19 12:30:19 -04:00
Fred Gleason
ac4d9305bc 2019-06-25 Fred Gleason <fredg@paravelsystems.com>
* Adjusted to priority of 'operations' system events to use
	LOG_INFO priority.
2019-06-25 15:08:12 -04:00
Fred Gleason
f50447eb8b 2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDApplication::syslog()' methods.
2019-06-24 16:40:18 -04:00
Fred Gleason
5d7957e864 2019-06-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in caed(8) that caused a segfault when executing
	the ['DC'] 'Drop Connection' command.
	* Fixed a bug in caed(8) that caused voicetracks to fail to be
	saved properly.
2019-06-20 15:46:03 -04:00
Fred Gleason
7824e27c79 2019-06-20 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'CaeServer::readyReadData()' method in
	caed(8) for greater reiliency.
2019-06-20 13:01:38 -04:00
Fred Gleason
94d7544574 2019-06-17 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'UseStreamMeters=' directive from the '[Hacks]'
	section of rd.conf(5).
2019-06-17 18:10:38 -04:00
Fred Gleason
a094fbc788 2019-06-17 Fred Gleason <fredg@paravelsystems.com>
* Refactored logging system to use syslog(3) exclusively.
	* Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory='
	and 'LogPattern=' directives from rd.conf(5).
2019-06-17 17:46:26 -04:00
Fred Gleason
5f323857f9 2019-06-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that caused mixer commands to
	be applied with inverted sign.
2019-06-10 16:51:48 -04:00
Fred Gleason
75077f5145 2019-06-10 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Channels=' directive from the '[Format]' section
	of rd.conf(5).
2019-06-10 15:32:53 -04:00
Fred Gleason
a7f6cf49cd 2019-06-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in caed(8) that caused the 'Unload Playback' ['UP']
	command to be ignored when the 'handle' argument was greater
	than 23.
2019-06-07 18:14:21 -04:00
Fred Gleason
64906f8ab3 2019-05-29 Fred Gleason <fredg@paravelsystems.com>
* Removed 'Q3Process' dependency from caed(8).
2019-05-29 18:25:38 -04:00
Fred Gleason
dd7ac31388 2019-05-29 Fred Gleason <fredg@paravelsystems.com>
* Removed 'Q3SocketDevice' dependency from caed(8).
2019-05-29 18:11:56 -04:00
Fred Gleason
c7b6322bc6 2019-05-29 Fred Gleason <fredg@paravelsystems.com>
* Refactored caed(8) to eliminated arbitrary limit on number of
	client connections.
2019-05-29 18:00:58 -04:00
Patrick Linstruth
d288f08b80 Fixed formatting. 2018-11-26 12:08:08 -08:00
Patrick Linstruth
c58c284784 Moved mixer initialization to caed(8). 2018-11-26 12:02:36 -08:00
Fred Gleason
223bdc2f84 2018-08-10 Fred Gleason <fredg@paravelsystems.com>
* Changed installation location of caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8) from '@prefix@/bin' to '@prefix@/sbin'.
	* Removed code to detach from controlling terminal after startup
	from caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8).
	* Removed code to manage dropbox instances from rdcatchd(8).
	* Removed code to start service daemons automatically from
	user modules.
	* Added rdservice(8).
2018-08-10 06:09:16 -04:00
Fred Gleason
8d11616b4b 2018-08-08 Fred Gleason <fredg@paravelsystems.com>
* Modified all instances of 'QStringList::split()' calls to use
	'QString::split()'.
2018-08-08 18:11:23 -04:00
Fred Gleason
796e1bebc3 2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in.
	* Removed rdchunk(1).
	* Upgraded Qt3 to Qt4.
2018-08-07 10:09:49 -04:00
Fred Gleason
949b3f903c 2018-07-31 Fred Gleason <fredg@paravelsystems.com>
* Modified logging in caed(8) to use 'RDConfig::log()' method.
2018-07-31 13:09:03 -04:00
Fred Gleason
76fd9affd0 2018-07-10 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries to ensure UTF-8 compatibility in caed(8).
2018-07-10 11:14:03 -04:00
Fred Gleason
f3296c4ceb 2018-06-26 Fred Gleason <fredg@paravelsystems.com>
* Added support for filepath wildcards to the JACK client command
	lines.
2018-06-26 13:42:08 +00:00
Fred Gleason
bb60b722d1 2018-06-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'card-num' parameter to the 'Meter Enable' ['ME'] command
	in caed(8).
	* Added an 'RDCae::enableMetering()' method.
	* Modified rdairplay(1) to enable metering explicitly.
	* Modified rdcartslots(1) to enable metering explicitly.
	* Modified rdlibrary(1) to enable metering explicitly.
	* Modified rdpanel(1) to enable metering explicitly.
2018-06-12 19:00:55 +00:00
Fred Gleason
96fdfff8a0 2018-06-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.JACK_PORT' field to the database.
	* Incremented the database version to 287.
	* Added an 'Initial Audio Ports' control to the 'JACK Configuration'
	dialog in rdadmin(1).
	* Implemented 'Activate JACK Port' ['JA'] and 'Remove JACK Port' ['JR']
	RMLs.
2018-06-11 15:59:05 +00:00
Fred Gleason
6d7ed78c62 Merge branch 'caed_playback_tuning' of https://github.com/tryphon/rivendell into tryphon-caed_playback_tuning 2018-05-30 20:14:26 +00:00
Daniel Bair
44582bb67b Patches for building on Ubuntu 18.04
There are several more bugs I don't really know the answer for.
Most are I suspect related to MySQL 5.7 security.
To setup the initial database, rdadmin must be run as root.

Then there are about a half dozen mysql errors while running the various rivendell applications, rdadmin, rdcatch, rdlogedit, rdlogmanager, rdpanel:

rdadmin
invalid SQL or failed DB connection[Field 'INSTANCE' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RDPANEL set STATION="Rivendell-VirtualBox"

Database connection failed: insert into RDPANEL set STATION="Rivendell-VirtualBox"
QSqlQuery::value: not positioned on a valid record

invalid SQL or failed DB connection[Field 'PORT_2' doesn't have a default value QMYSQL3: Unable to execute query]: insert into MATRICES set STATION_NAME="Rivendell-VirtualBox",NAME="New Switcher",GPIO_DEVICE="/dev/gpio0",MATRIX=0, PORT=0, TYPE=15, INPUTS=0, OUTPUTS=0, GPIS=0, GPOS=0, PORT_TYPE=0, PORT_TYPE_2=2

invalid SQL or failed DB connection[Field 'TYPE_ID' doesn't have a default value QMYSQL3: Unable to execute query]: insert into REPLICATORS set NAME="Test"

rdcatch
invalid SQL or failed DB connection[Field 'STATION_NAME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RECORDINGS set ID=1
Database connection failed: insert into RECORDINGS set ID=1
Segmentation fault (core dumped)

rdlogedit
invalid SQL or failed DB connection[Field 'MODIFIED_DATETIME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into LOGS set NAME="MyTest",TYPE=0,DESCRIPTION="MyTest log ",ORIGIN_USER="user",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"
Database connection failed: insert into LOGS set NAME="MyTest",TYPE=0,DESCRIPTION="MyTest log",ORIGIN_USER="user",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"

rdlogmanager
Grabbing the mouse failed with "GrabInvalidTime"
invalid SQL or failed DB connection[Field 'MODIFIED_DATETIME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into LOGS set NAME="Production-0425",TYPE=0,DESCRIPTION="Production-0425 log ",ORIGIN_USER="RDLogManager",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"
Database connection failed: insert into LOGS set NAME="Production-0425",TYPE=0,DESCRIPTION="Production-0425 log ",ORIGIN_USER="RDLogManager",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"

rdpanel
invalid SQL or failed DB connection[Field 'INSTANCE' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RDPANEL set STATION="Kubuntu-VirtualBox"
Database connection failed: insert into RDPANEL set STATION="Kubuntu-VirtualBox"
QSqlQuery::value: not positioned on a valid record
Segmentation fault (core dumped)

rdselect
Segmentation fault (core dumped)
2018-05-28 14:05:26 +07:00