2019-06-17 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'UseStreamMeters=' directive from the '[Hacks]'
	section of rd.conf(5).
This commit is contained in:
Fred Gleason
2019-06-17 18:10:38 -04:00
parent 6a87f19917
commit 94d7544574
7 changed files with 6 additions and 56 deletions

View File

@@ -480,20 +480,6 @@ bool MainObject::hpiGetInputMeters(int card,int port,short levels[2])
bool MainObject::hpiGetOutputMeters(int card,int port,short levels[2])
{
#ifdef HPI
if(rd_config->useStreamMeters()) {
//
// This is UGLY, but needed to semi-support cards (like the ASI4215)
// that lack output port metering.
//
for(int i=0;i<RD_MAX_STREAMS;i++) {
if(sound_card->getOutputVolume(card,i,port)>-10000) {
return sound_card->outputStreamMeter(card,i,levels);
}
}
levels[0]=-10000;
levels[1]=-10000;
return true;
}
return sound_card->outputPortMeter(card,port,levels);
#else
return false;