beeping-core
2.0.0
C++20 library for encoding and decoding data over sound
Loading...
Searching...
No Matches
EncoderNonAudible.h
1
#ifndef __ENCODERNONAUDIBLE__
2
#define __ENCODERNONAUDIBLE__
3
4
#include <Encoder.h>
5
6
namespace
BEEPING {
7
class
EncoderNonAudible :
public
Encoder {
8
public
:
9
EncoderNonAudible(
const
BeepingConfig& config,
float
samplingRate,
10
int
buffsize,
int
windowSize);
11
~EncoderNonAudible(
void
);
12
13
int
EncodeDataToAudioBuffer(
const
char
* stringToEncode,
int
type,
int
size,
14
const
char
* melodyString,
int
melodySize);
15
int
GetEncodedAudioBuffer(
float
* audioBuffer);
16
int
ResetEncodedAudioBuffer();
17
};
18
}
// namespace BEEPING
19
20
#endif
//__ENCODERNONAUDIBLE__
include
EncoderNonAudible.h
Generated by
1.16.1