mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
34 lines
No EOL
818 B
C++
34 lines
No EOL
818 B
C++
#pragma once
|
|
|
|
#include "dsp/block_simple.h"
|
|
|
|
namespace satdump
|
|
{
|
|
namespace ndsp
|
|
{
|
|
class BitToFloatBlock : public BlockSimple<int8_t, float>
|
|
{
|
|
public:
|
|
uint32_t process(int8_t *input, uint32_t nsamples, float *output);
|
|
|
|
public:
|
|
BitToFloatBlock();
|
|
~BitToFloatBlock();
|
|
|
|
nlohmann::ordered_json get_cfg_list()
|
|
{
|
|
nlohmann::ordered_json p;
|
|
return p;
|
|
}
|
|
|
|
nlohmann::json get_cfg(std::string key) { throw satdump_exception(key); }
|
|
|
|
Block::cfg_res_t set_cfg(std::string key, nlohmann::json v)
|
|
{
|
|
|
|
throw satdump_exception(key);
|
|
return Block::RES_OK;
|
|
}
|
|
};
|
|
} // namespace ndsp
|
|
} // namespace satdump
|