beeping-core
2.0.0
C++20 library for encoding and decoding data over sound
Loading...
Searching...
No Matches
EncoderAudible.h
1
#ifndef __ENCODERAUDIBLE__
2
#define __ENCODERAUDIBLE__
3
4
#include <Encoder.h>
5
6
namespace
BEEPING {
7
class
EncoderAudible :
public
Encoder {
8
public
:
9
EncoderAudible(
const
BeepingConfig& config,
float
samplingRate,
int
buffsize,
10
int
windowSize);
11
~EncoderAudible(
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
//__ENCODERAUDIBLE__
include
EncoderAudible.h
Generated by
1.16.1