1
0
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:
Carles Fernandez 2020-07-04 01:06:32 +02:00
parent 7d34866717
commit 8340eab627
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
7 changed files with 12 additions and 7 deletions

View File

@ -20,7 +20,6 @@
#include "byte_to_short.h"
#include "configuration_interface.h"
#include <glog/logging.h>
#include <cstdint>
#include <utility>

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;