92 Commits

Author SHA1 Message Date
Fred Gleason
d434fad6f8 2023-10-17 Fred Gleason <fredg@paravelsystems.com>
* Modified rdcatchd(8) to use the new-style CAE commands for play-out
	events.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-10-17 10:35:48 -04:00
Fred Gleason
cbe8f583b6 2023-10-16 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'end-pos' parameter from the 'Start Playback' CAE
	command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-10-16 17:09:35 -04:00
Fred Gleason
8649ee1a0e 2023-10-16 Fred Gleason <fredg@paravelsystems.com>
* Added a 'volume' parameter to the 'Start Playback' CAE command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-10-16 16:08:16 -04:00
Fred Gleason
7242a00758 2023-10-13 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'Output Stream Meter Levels' [MO'] CAE command to
	use serial numbers rather than card/stream numbers.
	* Fixed a regression in rdcartslots(1) that broke audio level
	metering.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-10-13 14:47:29 -04:00
Fred Gleason
4c7e11116e 2023-10-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions in rdlibrary(1)'s 'Cut Info/Record' and 'Edit
	Audio' dialogs that broke audio stoppage and looping.
	* Fixed a regression in caed(1) that caused play-out streams to
	be leaked when a play-out hit EOF.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-10-09 14:57:26 -04:00
Fred Gleason
6bcd445650 2023-09-20 Fred Gleason <fredg@paravelsystems.com>
* Removed definition of CAED_TCP_PORT from 'lib/rd.h'.
	* Added definition of RD_CAED_PORT to 'lib/rd.h'.
	* Added definition of RD_CAED_TIMEOUT_INTERVAL to 'lib/rd.h'.
	* Fixed a bug in caed(8) that broke metering CAE commands.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-09-20 12:56:17 -04:00
Fred Gleason
c6b18468f1 2023-09-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Set Timeout' ['TO'] CAE command.
	* Added a 'Touch' ['TH'] CAE command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-09-15 11:52:18 -04:00
Fred Gleason
c8e6dd62e8 2023-09-09 Fred Gleason <fredg@paravelsystems.com>
* Modified the communications layer to use UDP command messaging.
	* Disabled the 'Meter Enable' ['ME'] CAE command.
	* Implemented the 'Start Playback' ['PY'] CAE command.
	* Implemented the modified 'Play Position' ['PP'] CAE command.
	* Implemented the modified 'Stop Playback' ['SP'] CAE command.
	* Stubbed out the new 'Pause Playback' ['PE'] CAE command.
	* Stubbed out the new 'Resume Playback' ['PR'] CAE command.
	* Implemented the modified 'Set Output Volume' ['OV'] CAE command.
	* Implemented the modified 'Fade Output Volume' ['FV'] CAE command.
	* Stubbed out the new 'Cue Recording' ['LR'] CAE command.
	* Stubbed out the new 'Start Recording' ['RD'] CAE command.
	* Stubbed out the new 'Cue and Start Recording' ['RC'] CAE command.
	* Stubbed out the modified 'Stop Recording' ['SR'] CAE command.
	* Implemented the modified 'Get Input Status' ['IS'] CAE command.
	* Implemented the modified 'Set Audio Passthrough Level' ['AL'] CAE
	command.
	* Implemented the new 'Update Audio Ports' ['AP'] CAE command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-09-08 15:09:47 -04:00
Fred Gleason
ac45e60949 2023-08-29 Fred Gleason <fredg@paravelsystems.com>
* Removed support for the 'Set Input Volume' ['IV'] CAE command.
	* Removed support for the 'Set Input Level' ['IL'] CAE command.
	* Removed support for the 'Set Output Level' ['OL'] CAE command.
	* Removed support for the 'Set Input Mode' ['IM'] CAE command.
	* Removed support for the 'Set Output Mode' ['OM'] CAE command.
	* Removed support for the 'Set Input Vox Level' ['IX'] CAE command.
	* Removed support for the 'Set Input Type' ['IT'] CAE command.
	* Removed support for the 'Set Clock Source' ['CS'] CAE command.
	* Removed the 'RDCae::setClockSource()' method.
	* Removed the 'RDCae::setInputVolume()' method.
	* Removed the 'RDCae::setInputLevel()' method.
	* Removed the 'RDCae::setOutputLevel()' method.
	* Removed the 'RDCae::setInputMode()' method.
	* Removed the 'RDCae::setOutputMode()' method.
	* Removed the 'RDCae::setInputVOXLevel()' method.
	* Removed the 'RDCae::setInputType()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-08-29 17:39:19 -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
98aa2d9373 2023-05-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in caed(8) that caused spurious 'sent unrecognized
	command "ME"' messages to be sent to the syslog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-05-25 11:41:44 -04:00
Fred Gleason
9dfa9c84eb 2022-11-21 Fred Gleason <fredg@paravelsystems.com>
* Modified build system to use pkg-config(1) to detect ALSA and
	JACK support elements in 'configure'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-21 15:10:07 -05:00
Fred Gleason
4a3454cb8d 2022-11-07 Fred Gleason <fredg@paravelsystems.com>
* Added a dependency for ImageMagick's 'Magick++' library interface.
	* Added a 'FEED_IMAGES.DATA_MID_THUMB' field to the database.
	* Added a 'FEED_IMAGES.DATA_SMALL_THUMB' field to the database.
	* Incremented the database version to 365.
	* Optimized loading of thumbnail image data in rdadmin(1),
	rdcastmanager(1) and rdcatch(1).
	* Re-enabled uploads to RSS feeds in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-07 16:52:13 -05:00
Fred Gleason
0f2c136700 2022-09-09 Fred Gleason <fredg@paravelsystems.com>
* Modified the JACK driver in caed(8) to define the
	'JACK_NO_AUDIO_RESERVATION' in the environment before starting
	jackd(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-09-09 16:33:09 -04:00
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