mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Merge branch 'master' into mqtt
This commit is contained in:
commit
62c33086ca
102 changed files with 1621 additions and 1489 deletions
12
P25Audio.cpp
12
P25Audio.cpp
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2016,2023 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2016,2023,2025 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -50,7 +50,7 @@ CP25Audio::~CP25Audio()
|
|||
|
||||
unsigned int CP25Audio::process(unsigned char* data)
|
||||
{
|
||||
assert(data != NULL);
|
||||
assert(data != nullptr);
|
||||
|
||||
unsigned int errs = 0U;
|
||||
|
||||
|
|
@ -97,8 +97,8 @@ unsigned int CP25Audio::process(unsigned char* data)
|
|||
|
||||
void CP25Audio::decode(const unsigned char* data, unsigned char* imbe, unsigned int n)
|
||||
{
|
||||
assert(data != NULL);
|
||||
assert(imbe != NULL);
|
||||
assert(data != nullptr);
|
||||
assert(imbe != nullptr);
|
||||
|
||||
unsigned char temp[18U];
|
||||
|
||||
|
|
@ -206,8 +206,8 @@ void CP25Audio::decode(const unsigned char* data, unsigned char* imbe, unsigned
|
|||
|
||||
void CP25Audio::encode(unsigned char* data, const unsigned char* imbe, unsigned int n)
|
||||
{
|
||||
assert(data != NULL);
|
||||
assert(imbe != NULL);
|
||||
assert(data != nullptr);
|
||||
assert(imbe != nullptr);
|
||||
|
||||
bool bTemp[144U];
|
||||
bool* bit = bTemp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue