54 Commits

Author SHA1 Message Date
Fred Gleason
35299494a4 2023-12-15 Fred Gleason <fredg@paravelsystems.com>
* Modified the call parameters of the 'Output Stream Meter Levels'
	['MO'] CAE command to use play session serial numbers rather than
	card and stream numbers.
	* Fixed a regression in rdcartslots(1) that broke audio meters.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-12-15 11:41:33 -05:00
Fred Gleason
f21b526263 2023-12-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions in the CAE subsystem that broke play-out positing
	and active output port reporting.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-12-14 17:43:26 -05:00
Fred Gleason
1816980ba8 2023-11-13 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDCae::setOutputPort()' method.
	* Removed the 'Set Output Port' ['OP'] CAE command from caed(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-11-13 18:06:18 -05:00
Fred Gleason
fb8228914f 2023-11-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in caed(8) that could cause play-outs from different
	hosts to cross-talk into each other's outputs when using a shared
	caed(8) instance.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-11-13 14:51:09 -05:00
Fred Gleason
67d1e3afd8 2023-11-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that caused multiple play-outs on
	a common port to interfere with each others mixer settings.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-11-03 15:20:16 -04:00
Fred Gleason
a77b960345 2023-11-03 Fred Gleason <fredg@paravelsystems.com>
* Prepended the string '[mixer]' to all syslog entries generated
	as a result of enabling the 'EnableMixerLogging=' directive in
	rd.conf(5).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-11-03 11:46:35 -04:00
Fred Gleason
ba1e2d84ab 2023-08-24 Fred Gleason <fredg@paravelsystems.com>
* Added a 'TestOutputStreams=' directive to the '[Caed]' section
	of rd.conf(5).
	* Added code to the 'Unload Playback' ['UP'] CAE command to mute all
	output port volume controls from the subject output stream.
	* Added a feature to the 'Set Output Port' ['OP'] CAE command where
	passing a '-1' for the 'port-num' argument will cause all output
	stream volume controls for the specified stream to be muted.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-08-24 13:10:10 -04:00
Fred Gleason
c92b4dc703 2023-06-29 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDCoreApplication::isUniqueProcess()' static method.
	* Added processuniqueness checks to caed(8), rdairplay(1),
	rdrepld(8), rdrssd(8), rdservice(8), rdvairplayd(8), ripcd(8) and
	rdalsaconfig(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-06-29 14:54:48 -04:00
Fred Gleason
210bb8bca7 2023-06-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that would cause 'failed to load translation file'
	warnings to be sent to the Apache error log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-06-01 15:48:34 -04: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
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
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
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
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
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
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
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
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
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
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
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
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
6ebc628911 Revert "2015-09-05 Fred Gleason <fredg@paravelsystems.com>"
This reverts commit c1f86bbde139a7d7283711c70a2de23779b574c6.
2015-09-07 10:51:06 -04:00