@@ -310,7 +310,7 @@ namespace gr {
310
310
gr_vector_const_void_star &input_items,
311
311
gr_vector_void_star &output_items)
312
312
{
313
- typedef gr_int16 sample_t ; // the type of samples we're creating
313
+ typedef int16_t sample_t ; // the type of samples we're creating
314
314
static const float scale_factor = 1.0 / std::pow (2 .0f , 16 -1 );
315
315
316
316
unsigned int nchan = output_items.size ();
@@ -348,7 +348,7 @@ namespace gr {
348
348
gr_vector_const_void_star &input_items,
349
349
gr_vector_void_star &output_items)
350
350
{
351
- typedef gr_int16 sample_t ; // the type of samples we're creating
351
+ typedef int16_t sample_t ; // the type of samples we're creating
352
352
static const float scale_factor = 1.0 / std::pow (2 .0f , 16 -1 );
353
353
354
354
float **out = (float **)&output_items[0 ];
@@ -385,7 +385,7 @@ namespace gr {
385
385
gr_vector_const_void_star &input_items,
386
386
gr_vector_void_star &output_items)
387
387
{
388
- typedef gr_int32 sample_t ; // the type of samples we're creating
388
+ typedef int32_t sample_t ; // the type of samples we're creating
389
389
static const float scale_factor = 1.0 / std::pow (2 .0f , 32 -1 );
390
390
391
391
unsigned int nchan = output_items.size ();
@@ -423,7 +423,7 @@ namespace gr {
423
423
gr_vector_const_void_star &input_items,
424
424
gr_vector_void_star &output_items)
425
425
{
426
- typedef gr_int32 sample_t ; // the type of samples we're creating
426
+ typedef int32_t sample_t ; // the type of samples we're creating
427
427
static const float scale_factor = 1.0 / std::pow (2 .0f , 32 -1 );
428
428
429
429
float **out = (float **)&output_items[0 ];
0 commit comments