mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 22:51:13 +02:00
2019-11-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that broke audio metering.
This commit is contained in:
@@ -123,10 +123,10 @@ void RDCae::connectHost()
|
||||
}
|
||||
|
||||
|
||||
void RDCae::enableMetering(std::vector<int> *cards)
|
||||
void RDCae::enableMetering(QList<int> *cards)
|
||||
{
|
||||
QString cmd=QString().sprintf("ME %u",cae_meter_socket->port());
|
||||
for(unsigned i=0;i<cards->size();i++) {
|
||||
for(int i=0;i<cards->size();i++) {
|
||||
if(cards->at(i)>=0) {
|
||||
bool found=false;
|
||||
for(unsigned j=0;j<i;j++) {
|
||||
|
10
lib/rdcae.h
10
lib/rdcae.h
@@ -21,13 +21,11 @@
|
||||
#ifndef RDCAE_H
|
||||
#define RDCAE_H
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <qsqldatabase.h>
|
||||
#include <qstring.h>
|
||||
#include <qobject.h>
|
||||
#include <q3socketdevice.h>
|
||||
|
||||
#include <qlabel.h>
|
||||
#include <qobject.h>
|
||||
#include <qlist.h>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdcmd_cache.h>
|
||||
@@ -45,7 +43,7 @@ class RDCae : public QObject
|
||||
RDCae(RDStation *station,RDConfig *config,QObject *parent=0);
|
||||
~RDCae();
|
||||
void connectHost();
|
||||
void enableMetering(std::vector<int> *cards);
|
||||
void enableMetering(QList<int> *cards);
|
||||
bool loadPlay(int card,QString name,int *stream,int *handle);
|
||||
void unloadPlay(int handle);
|
||||
void positionPlay(int handle,int pos);
|
||||
|
Reference in New Issue
Block a user