From 7102f830e01c3d4d695c0d36608cb09064e4aedc Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 20 May 2019 08:49:29 +0200 Subject: Move outputs to a separate file --- src/common.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/common.h') 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 +}; -- cgit v1.2.3