diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-05-20 08:49:29 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-05-20 08:49:29 +0200 |
commit | 7102f830e01c3d4d695c0d36608cb09064e4aedc (patch) | |
tree | 5b0bbb2a9fff3af44c4b0a7c88b96edfd3675a39 /src/common.h | |
parent | 3b68a6188b4983816833dc9a20be4f6b74f4c03f (diff) | |
download | ODR-AudioEnc-7102f830e01c3d4d695c0d36608cb09064e4aedc.tar.gz ODR-AudioEnc-7102f830e01c3d4d695c0d36608cb09064e4aedc.tar.bz2 ODR-AudioEnc-7102f830e01c3d4d695c0d36608cb09064e4aedc.zip |
Move outputs to a separate file
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h index cd856f4..774a4a0 100644 --- a/src/common.h +++ b/src/common.h @@ -16,8 +16,7 @@ * ------------------------------------------------------------------- */ -#ifndef __COMMON_H_ -#define __COMMON_H_ +#pragma once // 16 bits per sample is fine for now #define BYTES_PER_SAMPLE 2 @@ -25,5 +24,9 @@ // How many samples we insert into the queue each call #define NUM_SAMPLES_PER_CALL 10 // 10 samples @ 32kHz = 3.125ms -#endif // __COMMON_H_ +//! Enumeration of encoders we can use +enum class encoder_selection_t { + fdk_dabplus, + toolame_dab +}; |