56 Commits

Author SHA1 Message Date
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
Fred Gleason
a65a8f4643 2018-05-22 Fred Gleason <fredg@paravelsystems.com>
* Increased 'RD_MAX_STREAMS' to 48.
	* Modified caed(8) to start JACK clients after a 5 second delay.
2018-05-22 12:56:45 +00:00
Fred Gleason
a8ae9f9bfa 2017-12-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'Engine=' directive to the [MySQL] section of
	rd.conf(5).
	* Refactored the schema update code to use standard form
	in rdadmin(1).
2017-12-01 17:37:37 -05:00
Fred Gleason
0607e00cd9 2017-10-16 Fred Gleason <fredg@paravelsystems.com>
* Added 'NewHostShortNameRegex=', 'NewHostShortNameGroup=',
	'NewServiceNameRegex=' and 'NewServiceNameGroup=' parameters
	to rd.conf(5).
2017-10-16 08:45:04 -04:00
Fred Gleason
2381fb89ff 2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Implemented a 'NewHostIpAddress=' parameter in the [Provisioning]
	section of rd.conf(5).
2017-10-14 14:54:43 -04:00
Fred Gleason
2992fcd5c9 2017-09-30 Fred Gleason <fredg@paravelsystems.com>
* Added static 'RDSvc::create()' and 'RDSvc::remove()' methods.
	* Implemented 'CreateService=' and 'NewServiceTemplate=' parameters
	in the [Provisioning] section of rd.conf(5).
2017-09-30 20:14:42 -04:00
Fred Gleason
f17a4ca509 2017-09-30 Fred Gleason <fredg@paravelsystems.com>
* Added a [Provisioning] section to rd.conf(5).
	* Moved code to create new hosts to the 'RDStation::create()' method.
	* Moved code to delete hosts to the 'RDStation::remove()' method.
	* Implemented 'CreateHost=' and 'NewHostTemplate=' parameters
	in the [Provisioning] section of rd.conf(5).
2017-09-30 18:01:24 -04:00
Fred Gleason
aef7c2229b 2017-08-31 Fred Gleason <fredg@paravelsystems.com>
* Modified web client components to use a distinctive http USER_AGENT
	string.
2017-08-31 12:38:39 -04:00
Fred Gleason
af592fa200 2017-02-07 Fred Gleason <fredg@paravelsystems.com>
* Changed the DLL load target for libmad from 'libmad.so' to
	'libmad.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'.
	* Changed the DLL load target for lame from 'libmp3lame.so' to
	'libmp3lame.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'.
	* Changed the DLL load target for faad from 'libfaad.so' to
	'libfaad.so.2' in 'cae/cae.cpp' and 'lib/rdmp4.cpp'.
	* Changed the DLL load target for mp4v2 from 'libmp4v2.so' to
	'libmp4v2.so.2' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'.
2017-02-07 08:45:05 -05:00
Fred Gleason
698b475933 2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags.
	* Removed 'const char *name' parameter from all QObject contructors.
2016-05-24 13:13:26 -04:00
Fred Gleason
c0446ea5f7 Merged 04bd883b65b9922c35216b92b4da52245fdc7f5b from master 2015-09-15 08:06:20 -04:00
Fred Gleason
97581a04dd 2015-09-09 Fred Gleason <fredg@paravelsystems.com>
* Added 'src_float_to_int()' and 'src_int_to_float()' functions in
	'cae/cae.cpp' and 'cae/cae.h'.
2015-09-09 10:39:11 -04: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
Fred Gleason
e961971c86 2015-08-30 Fred Gleason <fredg@paravelsystems.com>
* Added PCM24 play-out and capture support for JACK in
	'cae/cae_jack.cpp' and 'cae/cae.h'.
2015-08-30 16:13:09 -04:00
Fred Gleason
8d70a79387 2015-08-29 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDAudioConvert::Stage3Pcm24()' method in
	'lib/rdaudioconvert.cpp' and 'lib/rdaudioconvert.h'.
	* Added a 'Format::Pcm24' value to the 'RDSettings::Format'
	enumeration in 'lib/rdsettings.h'.
	* Modified the 'RDAudioConvert' class to support generating PCM24
	output in 'lib/rdaudioconvert.cpp' and 'lib/rdaudioconvert.h'.
	* Modified the 'RDPlayStream' class to support playing PCM24
	data in 'rdhpi/rdplaystream.cpp'.
	* Modified the 'RDRecordStream' class to support capturing PCM24
	data in 'rdhpi/rdrecordstream.cpp'.
	* Added an 'audio_peaks_test' harness in 'tests/audio_peaks_test.cpp'
	and 'tests/audio_peaks_test.h'.
	* Added 'PCM24' to the list of available formats in
	'rdadmin/edit_rdlibrary.cpp' and 'rdadmin/edit_rdlibrary.h'.
	* Added 'PCM24' to the list of available formats in
	'rdadmin/edit_decks.cpp'.
	* Added PCM24 support for file importation in
	'web/rdxport/import.cpp'.
	* Added an 'RDCae::Pcm24' value to the 'RDCae::AudioCoding
	enumeration in 'lib/rdcae.h'.
2015-08-30 07:49:44 -04:00
Fred Gleason
16284179cc Consolidated .gitignore files 2015-05-28 12:05:07 -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
Fred Gleason
da8cf74df8 2015-03-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.HAVE_MP4_DECODE' field to the database.
	* Incremented the database version to 243.
	* Added a 'Capability::HaveMp4Decode' value to the
	'RDStation::Capability' enumeration in 'lib/rdstation.cpp' and
	'lib/rdstation.h'.
2015-03-09 21:37:10 -04:00
Alban Peignier
7aa38dd6a5 Optimize passthroughs and output meters processing in AlsaPlay2Callback 2014-11-11 14:10:24 +01:00