15 Commits

Author SHA1 Message Date
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
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
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
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
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
Fred Gleason
51185ba2b8 2015-09-07 Fred Gleason <fredg@paravelsystems.com>
* Added PCM24 play-out and capture support for ALSA in
	'cae/cae_alsa.cpp' and 'cae/cae.h'.
2015-09-07 20:48:41 -04:00
Fred Gleason
6ebc628911 Revert "2015-09-05 Fred Gleason <fredg@paravelsystems.com>"
This reverts commit c1f86bbde139a7d7283711c70a2de23779b574c6.
2015-09-07 10:51:06 -04:00
Fred Gleason
c1f86bbde1 2015-09-05 Fred Gleason <fredg@paravelsystems.com>
* Refactored caed(8) to use virtual inheritance for audio
	subsystem drivers.
	* Reimplemented the HPI driver in 'cae/driver_hpi.cpp' and
	'cae/driver_hpi.h'.
2015-09-05 18:12:29 -04:00
Alban Peignier
701eedcdcb Read alsa_passthrough_ring even if volume is zero. Cache passthrough_volume in loop 2015-04-27 16:39:16 +02:00
Alban Peignier
7aa38dd6a5 Optimize passthroughs and output meters processing in AlsaPlay2Callback 2014-11-11 14:10:24 +01:00
Alban Peignier
19d98ca736 Reindent AlsaPlay2Callback 2014-11-11 13:41:15 +01:00
Fred Gleason
0467b7f792 2014-09-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'cae/cae_alsa.cpp' that caused induced noise
	when routing passthrough audio.
	* Reversed format detection order so as to prefer S32_LE format
	over S16_LE in 'cae/cae_alsa.cpp'.
2014-09-16 15:52:08 -04:00
Fred Gleason
afd67c7af8 Initial import of CVS-v2_8_branch 2014-08-12 15:13:02 -04:00