2018-05-21 Fred Gleason <fredg@paravelsystems.com>

* Added an 'AUDIO_CARDS' table to the database.
	* Dropped the 'STATIONS.CARD<n>_DRIVER', 'STATIONS.CARD<n>NAME',
	'STATIONS.CARD<n>_INPUTS' and 'STATIONS.CARD<n>OUTPUTS' fields
	from the database.
	* Incremented the database version to 282.
	* Added an 'AUDIO_CARDS.CLOCK_SOURCE' field to the database.
	* Added an 'AUDIO_INPUTS' table to the database.
	* Added an 'AUDIO_OUTPUTS' table to the database.
	* Dropped the 'AUDIO_PORTS' table from the database.
	* Incremented the database version to 283.
	* Changed the legend on the 'Audio Ports' button to 'ASI Audio Ports'
	on the 'Edit Host' dialog in rdadmin(1).
	* Changed the title of the 'Configure Audio Ports' dialog to
	'Configure AudioScience Audio Ports' on the 'Edit Host' dialog
	in rdadmin(1).
This commit is contained in:
Fred Gleason
2018-05-21 16:00:59 +00:00
parent b49399f091
commit 94119b27d7
24 changed files with 861 additions and 345 deletions

View File

@@ -2,7 +2,7 @@
##
## docs/tables/automake.am for Rivendell
##
## (C) Copyright 2002-2016 Fred Gleason <fredg@salemradiolabs.com>
## (C) Copyright 2002-2018 Fred Gleason <fredg@salemradiolabs.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License version 2 as
@@ -20,8 +20,10 @@
##
## Use automake to process this into a Makefile.in
EXTRA_DIST = audio_perms.txt\
audio_ports.txt\
EXTRA_DIST = audio_cards.txt\
audio_inputs.txt\
audio_outputs.txt\
audio_perms.txt\
cart.txt\
cartslots.txt\
clipboard.txt\

View File

@@ -0,0 +1,16 @@
AUDIO_CARD Table Layout for Rivendell
The AUDIO_PORTS table holds data concerning configuration of the
physical audio interfaces.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64)
CARD_NUMBER int(11) signed
DRIVER int(11) signed
NAME char(64)
INPUTS int(11) signed
OUTPUTS int(11) signed
CLOCK_SOURCE int(11) signed 0 = Internal, 1 = AES/EBU,
2 = SP/DIFF, 3 = Word Clock

View File

@@ -0,0 +1,16 @@
AUDIO_INPUTS Table Layout for Rivendell
The AUDIO_PORTS table holds data concerning which configuration of the
physical audio inputs.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64)
CARD_NUMBER int(11) signed
PORT_NUMBER int(11) signed
TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
LEVEL int(11) signed Gain offset, in 1/100 dB
MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only

View File

@@ -0,0 +1,12 @@
AUDIO_OUTPUTS Table Layout for Rivendell
The AUDIO_PORTS table holds data concerning which configuration of the
physical audio outputs.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64)
CARD_NUMBER int(11) signed
PORT_NUMBER int(11) signed
LEVEL int(11) signed Gain offset, in 1/100 dB

View File

@@ -1,62 +0,0 @@
AUDIO_PORTS Table Layout for Rivendell
The AUDIO_PORTS table holds data concerning which configuration of the
physical audio interfaces. Following is the layout of a record
in the AUDIO_PERMS table:
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64)
CARD_NUMBER int(11) signed
CLOCK_SOURCE int(11) signed 0 = Internal, 1 = AES/EBU,
2 = SP/DIFF, 3 = Word Clock
INPUT_0_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_0_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_0_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
INPUT_1_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_1_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_1_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
INPUT_2_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_2_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_2_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
INPUT_3_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_3_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_3_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
INPUT_4_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_4_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_4_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
INPUT_5_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_5_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_5_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
INPUT_6_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_6_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_6_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
INPUT_7_TYPE int(11) signed 0 = Analog, 1 = AES/EBU,
2 = SP/DIFF
INPUT_7_LEVEL int(11) signed Gain offset, in 1/100 dB
INPUT_7_MODE int(11) signed 0 = Normal, 1 = Swap,
2 = Left Only, 3 = Right Only
OUTPUT_0_LEVEL int(11) signed Gain offset, in 1/100 dB
OUTPUT_1_LEVEL int(11) signed Gain offset, in 1/100 dB
OUTPUT_2_LEVEL int(11) signed Gain offset, in 1/100 dB
OUTPUT_3_LEVEL int(11) signed Gain offset, in 1/100 dB
OUTPUT_4_LEVEL int(11) signed Gain offset, in 1/100 dB
OUTPUT_5_LEVEL int(11) signed Gain offset, in 1/100 dB
OUTPUT_6_LEVEL int(11) signed Gain offset, in 1/100 dB
OUTPUT_7_LEVEL int(11) signed Gain offset, in 1/100 dB

View File

@@ -45,35 +45,3 @@ HAVE_MP4_DECODE enum('N','Y')
HPI_VERSION char(16)
JACK_VERSION char(16)
ALSA_VERSION char(16)
CARD0_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD0_NAME char(64)
CARD0_INPUTS int(11) signed
CARD0_OUTPUTS int(11) signed
CARD1_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD1_NAME char(64)
CARD1_INPUTS int(11) signed
CARD1_OUTPUTS int(11) signed
CARD2_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD2_NAME char(64)
CARD2_INPUTS int(11) signed
CARD2_OUTPUTS int(11) signed
CARD3_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD3_NAME char(64)
CARD3_INPUTS int(11) signed
CARD3_OUTPUTS int(11) signed
CARD4_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD4_NAME char(64)
CARD4_INPUTS int(11) signed
CARD4_OUTPUTS int(11) signed
CARD5_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD5_NAME char(64)
CARD5_INPUTS int(11) signed
CARD5_OUTPUTS int(11) signed
CARD6_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD6_NAME char(64)
CARD6_INPUTS int(11) signed
CARD6_OUTPUTS int(11) signed
CARD7_DRIVER int(11) signed 0=None, 1=Hpi, 2=Jack, 3=ALSA
CARD7_NAME char(64)
CARD7_INPUTS int(11) signed
CARD7_OUTPUTS int(11) signed