mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Return the right input item size
This commit is contained in:
parent
7d34866717
commit
8340eab627
@ -20,7 +20,6 @@
|
||||
#include "byte_to_short.h"
|
||||
#include "configuration_interface.h"
|
||||
#include <glog/logging.h>
|
||||
#include <cstdint>
|
||||
#include <utility>
|
||||
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "gnss_block_interface.h"
|
||||
#include <gnuradio/blocks/char_to_short.h>
|
||||
#include <gnuradio/blocks/file_sink.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
class ConfigurationInterface;
|
||||
@ -53,7 +54,7 @@ public:
|
||||
|
||||
inline size_t item_size() override
|
||||
{
|
||||
return 0;
|
||||
return sizeof(int8_t);
|
||||
}
|
||||
|
||||
void connect(gr::top_block_sptr top_block) override;
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "gnss_block_interface.h"
|
||||
#include "interleaved_byte_to_complex_byte.h"
|
||||
#include <gnuradio/blocks/file_sink.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
class ConfigurationInterface;
|
||||
@ -55,7 +56,7 @@ public:
|
||||
|
||||
inline size_t item_size() override
|
||||
{
|
||||
return 0;
|
||||
return 2 * sizeof(int8_t);
|
||||
}
|
||||
|
||||
void connect(gr::top_block_sptr top_block) override;
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "gnss_block_interface.h"
|
||||
#include <gnuradio/blocks/file_sink.h>
|
||||
#include <gnuradio/blocks/interleaved_char_to_complex.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
class ConfigurationInterface;
|
||||
@ -54,7 +55,7 @@ public:
|
||||
|
||||
inline size_t item_size() override
|
||||
{
|
||||
return 0;
|
||||
return 2 * sizeof(int8_t);
|
||||
}
|
||||
|
||||
void connect(gr::top_block_sptr top_block) override;
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "gnss_block_interface.h"
|
||||
#include "interleaved_byte_to_complex_short.h"
|
||||
#include <gnuradio/blocks/file_sink.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
|
||||
@ -55,7 +56,7 @@ public:
|
||||
|
||||
inline size_t item_size() override
|
||||
{
|
||||
return 0;
|
||||
return 2 * sizeof(int8_t);
|
||||
}
|
||||
|
||||
void connect(gr::top_block_sptr top_block) override;
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "gnss_block_interface.h"
|
||||
#include <gnuradio/blocks/file_sink.h>
|
||||
#include <gnuradio/blocks/interleaved_short_to_complex.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
class ConfigurationInterface;
|
||||
@ -54,7 +55,7 @@ public:
|
||||
|
||||
inline size_t item_size() override
|
||||
{
|
||||
return 0;
|
||||
return 2 * sizeof(int16_t);
|
||||
}
|
||||
|
||||
void connect(gr::top_block_sptr top_block) override;
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "gnss_block_interface.h"
|
||||
#include "interleaved_short_to_complex_short.h"
|
||||
#include <gnuradio/blocks/file_sink.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
|
||||
@ -55,7 +56,7 @@ public:
|
||||
|
||||
inline size_t item_size() override
|
||||
{
|
||||
return 0;
|
||||
return 2 * sizeof(int16_t);
|
||||
}
|
||||
|
||||
void connect(gr::top_block_sptr top_block) override;
|
||||
|
Loading…
Reference in New Issue
Block a user