mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-04 14:39:09 +02:00
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in caed(8). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
73d2b794f7
commit
eb5bb116f3
@ -21810,3 +21810,5 @@
|
|||||||
'RDAuthenticateLogin()', ' RDAuthenticateSession()',
|
'RDAuthenticateLogin()', ' RDAuthenticateSession()',
|
||||||
'RDLogoutSession()' and 'RDParsePost()' functions from
|
'RDLogoutSession()' and 'RDParsePost()' functions from
|
||||||
'lib/rdweb.[cpp|h]'.
|
'lib/rdweb.[cpp|h]'.
|
||||||
|
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Cleaned up compile warnings in caed(8).
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
#include <rd.h>
|
#include <rd.h>
|
||||||
#include <rdapplication.h>
|
#include <rdapplication.h>
|
||||||
|
#include <rdconf.h>
|
||||||
#include <rdmeteraverage.h>
|
#include <rdmeteraverage.h>
|
||||||
#include <rdringbuffer.h>
|
#include <rdringbuffer.h>
|
||||||
|
|
||||||
@ -1039,7 +1040,8 @@ bool MainObject::alsaLoadRecord(int card,int stream,int coding,int chans,
|
|||||||
alsa_record_wave[card][stream]=NULL;
|
alsa_record_wave[card][stream]=NULL;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
chown(wavename.toUtf8(),rd_config->uid(),rd_config->gid());
|
RDCheckExitCode(rd_config,"alsaLoadRecord() chown",
|
||||||
|
chown(wavename.toUtf8(),rd_config->uid(),rd_config->gid()));
|
||||||
alsa_input_channels[card][stream]=chans;
|
alsa_input_channels[card][stream]=chans;
|
||||||
alsa_record_ring[card][stream]=new RDRingBuffer(RINGBUFFER_SIZE);
|
alsa_record_ring[card][stream]=new RDRingBuffer(RINGBUFFER_SIZE);
|
||||||
alsa_record_ring[card][stream]->reset();
|
alsa_record_ring[card][stream]->reset();
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
|
|
||||||
#include <rdapplication.h>
|
#include <rdapplication.h>
|
||||||
|
#include <rdconf.h>
|
||||||
#include <rddebug.h>
|
#include <rddebug.h>
|
||||||
|
|
||||||
#include "cae.h"
|
#include "cae.h"
|
||||||
@ -227,7 +228,8 @@ bool MainObject::hpiLoadRecord(int card,int stream,int coding,int chans,
|
|||||||
record[card][stream]=NULL;
|
record[card][stream]=NULL;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
chown(wavename.toUtf8(),rd_config->uid(),rd_config->gid());
|
RDCheckExitCode(rd_config,"hpiLoadRecord() chown",
|
||||||
|
chown(wavename.toUtf8(),rd_config->uid(),rd_config->gid()));
|
||||||
if(!record[card][stream]->recordReady()) {
|
if(!record[card][stream]->recordReady()) {
|
||||||
delete record[card][stream];
|
delete record[card][stream];
|
||||||
record[card][stream]=NULL;
|
record[card][stream]=NULL;
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <rd.h>
|
#include <rd.h>
|
||||||
#include <rdapplication.h>
|
#include <rdapplication.h>
|
||||||
|
#include <rdconf.h>
|
||||||
#include <rddatedecode.h>
|
#include <rddatedecode.h>
|
||||||
#include <rddb.h>
|
#include <rddb.h>
|
||||||
#include <rdescape_string.h>
|
#include <rdescape_string.h>
|
||||||
@ -1013,7 +1014,8 @@ bool MainObject::jackLoadRecord(int card,int stream,int coding,int chans,
|
|||||||
jack_record_wave[stream]=NULL;
|
jack_record_wave[stream]=NULL;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
chown(wavename.toUtf8(),rd_config->uid(),rd_config->gid());
|
RDCheckExitCode(rd_config,"jackLoadRecord() chown",
|
||||||
|
chown(wavename.toUtf8(),rd_config->uid(),rd_config->gid()));
|
||||||
jack_input_channels[stream]=chans;
|
jack_input_channels[stream]=chans;
|
||||||
jack_record_ring[stream]=new RDRingBuffer(RINGBUFFER_SIZE);
|
jack_record_ring[stream]=new RDRingBuffer(RINGBUFFER_SIZE);
|
||||||
jack_record_ring[stream]->reset();
|
jack_record_ring[stream]->reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user