1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Fix compilation warnings and errors

This commit is contained in:
DreamNik
2024-09-03 18:38:32 +03:00
parent 027d6af6bb
commit f694ba04b8
104 changed files with 108 additions and 169 deletions
@@ -25,7 +25,8 @@
#include "audio/audiodeviceinfo.h"
#include "util/message.h"
struct AudioCATSISOSettings {
class AudioCATSISOSettings{
public:
class MsgPTT : public Message {
MESSAGE_CLASS_DECLARATION
@@ -483,7 +483,7 @@ void MetisMISOUDPHandler::processIQBuffer(unsigned char* buffer)
{
int b = 0;
unsigned int r;
int sampleI, sampleQ, sampleMic;
int sampleI, sampleQ;
if (buffer[b++]==0x7F && buffer[b++]==0x7F && buffer[b++]==0x7F)
@@ -622,8 +622,9 @@ void MetisMISOUDPHandler::processIQBuffer(unsigned char* buffer)
}
}
sampleMic = (int)((signed char) buffer[b++]) << 8;
sampleMic += (int)((unsigned char)buffer[b++]);
// sampleMic
b+=2;
m_sampleTxCount++;
if (m_sampleTxCount >= 63) // 63 samples per 512 byte Tx block