mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-19 15:40:10 +02:00
Fixed conflict in 'ChangeLog'
This commit is contained in:
commit
448420c763
@ -18062,3 +18062,5 @@
|
||||
* Fixed regression with rdairplay(1) loading previous log.
|
||||
2018-11-25 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Optimized RDAudioPort SQL queries.
|
||||
2018-11-26 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Fixed bug where requested port could overrun HPI_MAX_NODES.
|
||||
|
@ -189,36 +189,60 @@ bool RDHPISoundCard::setClockSource(int card,RDHPISoundCard::ClockSource src)
|
||||
|
||||
bool RDHPISoundCard::haveTimescaling(int card) const
|
||||
{
|
||||
if(card>=HPI_MAX_ADAPTERS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return timescale_support[card];
|
||||
}
|
||||
|
||||
|
||||
bool RDHPISoundCard::haveInputVolume(int card,int stream,int port) const
|
||||
{
|
||||
if(card>=HPI_MAX_ADAPTERS||stream>=HPI_MAX_STREAMS||port>=HPI_MAX_NODES) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return input_stream_volume[card][stream][port];
|
||||
}
|
||||
|
||||
|
||||
bool RDHPISoundCard::haveOutputVolume(int card,int stream,int port) const
|
||||
{
|
||||
if(card>=HPI_MAX_ADAPTERS||stream>=HPI_MAX_STREAMS||port>=HPI_MAX_NODES) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return output_stream_volume[card][stream][port];
|
||||
}
|
||||
|
||||
|
||||
bool RDHPISoundCard::haveInputLevel(int card,int port) const
|
||||
{
|
||||
if(card>=HPI_MAX_ADAPTERS||port>=HPI_MAX_NODES) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return input_port_level[card][port];
|
||||
}
|
||||
|
||||
|
||||
bool RDHPISoundCard::haveOutputLevel(int card,int port) const
|
||||
{
|
||||
if(card>=HPI_MAX_ADAPTERS||port>=HPI_MAX_NODES) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return output_port_level[card][port];
|
||||
}
|
||||
|
||||
|
||||
bool RDHPISoundCard::haveInputStreamVOX(int card,int stream) const
|
||||
{
|
||||
if(card>=HPI_MAX_ADAPTERS||stream>=HPI_MAX_STREAMS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return input_stream_vox[card][stream];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user