mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-23 16:08:15 +02:00
2018-08-29 Fred Gleason <fredg@paravelsystems.com>
* Removed spurious syslog warnings when initializing HPI devices.
This commit is contained in:
parent
eb4f2dffac
commit
b8e63a26ec
@ -17540,3 +17540,5 @@
|
|||||||
* Fixed a regression in rdlogedit(1) that broke audio level meters.
|
* Fixed a regression in rdlogedit(1) that broke audio level meters.
|
||||||
2018-08-29 Fred Gleason <fredg@paravelsystems.com>
|
2018-08-29 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added support for the Spinitron v2 API in the 'spinitron_plus' RLM.
|
* Added support for the Spinitron v2 API in the 'spinitron_plus' RLM.
|
||||||
|
2018-08-29 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Removed spurious syslog warnings when initializing HPI devices.
|
||||||
|
@ -266,9 +266,15 @@ unsigned short RDHPISoundCard::getInputPortError(int card,int port)
|
|||||||
uint16_t error_word=0;
|
uint16_t error_word=0;
|
||||||
|
|
||||||
if(input_port_aesebu[card][port]) {
|
if(input_port_aesebu[card][port]) {
|
||||||
LogHpi(HPI_AESEBU_Receiver_GetErrorStatus(NULL,
|
if(HPI_AESEBU_Receiver_GetErrorStatus(NULL,
|
||||||
input_port_aesebu_control[card][port],
|
input_port_aesebu_control[card][port],
|
||||||
&error_word),__LINE__);
|
&error_word)==0) {
|
||||||
|
//
|
||||||
|
// Do nothing
|
||||||
|
//
|
||||||
|
// Needed to suppress the goofy 'result unused' compiler warnings.
|
||||||
|
//
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return error_word;
|
return error_word;
|
||||||
}
|
}
|
||||||
@ -855,12 +861,11 @@ void RDHPISoundCard::HPIProbe()
|
|||||||
output_stream_volume[i][j][k]=false;
|
output_stream_volume[i][j][k]=false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(LogHpi(HPI_MixerGetControl(NULL,hpi_mixer[i],
|
if(HPI_MixerGetControl(NULL,hpi_mixer[i],
|
||||||
0,0,
|
0,0,
|
||||||
HPI_DESTNODE_ISTREAM,j,
|
HPI_DESTNODE_ISTREAM,j,
|
||||||
HPI_CONTROL_METER,
|
HPI_CONTROL_METER,
|
||||||
&input_stream_meter_control[i][j]),
|
&input_stream_meter_control[i][j])==0) {
|
||||||
__LINE__)==0) {
|
|
||||||
input_stream_meter[i][j]=true;
|
input_stream_meter[i][j]=true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -949,19 +954,18 @@ void RDHPISoundCard::HPIProbe()
|
|||||||
l=0;
|
l=0;
|
||||||
input_port_mux_type[i][j][0]=false;
|
input_port_mux_type[i][j][0]=false;
|
||||||
input_port_mux_type[i][j][1]=false;
|
input_port_mux_type[i][j][1]=false;
|
||||||
while(LogHpi(HPI_Multiplexer_QuerySource(NULL,
|
while(HPI_Multiplexer_QuerySource(NULL,input_mux_control[i][j],
|
||||||
input_mux_control[i][j],
|
l++,&type,&index)==0) {
|
||||||
l++,&type,&index),
|
|
||||||
__LINE__)==0) {
|
|
||||||
switch(type) {
|
switch(type) {
|
||||||
case HPI_SOURCENODE_LINEIN:
|
case HPI_SOURCENODE_LINEIN:
|
||||||
input_port_mux_type[i][j][0]=true;
|
input_port_mux_type[i][j][0]=true;
|
||||||
input_mux_index[i][j][0]=index;
|
input_mux_index[i][j][0]=index;
|
||||||
break;
|
break;
|
||||||
case HPI_SOURCENODE_AESEBU_IN:
|
|
||||||
input_port_mux_type[i][j][1]=true;
|
case HPI_SOURCENODE_AESEBU_IN:
|
||||||
input_mux_index[i][j][1]=index;
|
input_port_mux_type[i][j][1]=true;
|
||||||
break;
|
input_mux_index[i][j][1]=index;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user