[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/13: gr-audio: use generic int types inst
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/13: gr-audio: use generic int types instead of gr_int* |
Date: |
Fri, 3 Apr 2015 19:59:34 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 3dcb5b95a4296ef5f6d61fe75dd06735ac5ea467
Author: Jiří Pinkava <address@hidden>
Date: Mon Mar 9 09:32:16 2015 +0100
gr-audio: use generic int types instead of gr_int*
---
gr-audio/lib/alsa/alsa_sink.cc | 8 ++++----
gr-audio/lib/alsa/alsa_source.cc | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/gr-audio/lib/alsa/alsa_sink.cc b/gr-audio/lib/alsa/alsa_sink.cc
index 4238f11..f2e70ca 100644
--- a/gr-audio/lib/alsa/alsa_sink.cc
+++ b/gr-audio/lib/alsa/alsa_sink.cc
@@ -330,7 +330,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int16 sample_t; // the type of samples we're creating
+ typedef int16_t sample_t; // the type of samples we're creating
static const float scale_factor = std::pow(2.0f, 16-1) - 1;
unsigned int nchan = input_items.size();
@@ -370,7 +370,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int32 sample_t; // the type of samples we're creating
+ typedef int32_t sample_t; // the type of samples we're creating
static const float scale_factor = std::pow(2.0f, 32-1) - 1;
unsigned int nchan = input_items.size();
@@ -411,7 +411,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int16 sample_t; // the type of samples we're creating
+ typedef int16_t sample_t; // the type of samples we're creating
static const float scale_factor = std::pow(2.0f, 16-1) - 1;
assert(input_items.size () == 1);
@@ -452,7 +452,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int32 sample_t; // the type of samples we're creating
+ typedef int32_t sample_t; // the type of samples we're creating
static const float scale_factor = std::pow(2.0f, 32-1) - 1;
assert(input_items.size () == 1);
diff --git a/gr-audio/lib/alsa/alsa_source.cc b/gr-audio/lib/alsa/alsa_source.cc
index 6297c33..2cfc33d 100644
--- a/gr-audio/lib/alsa/alsa_source.cc
+++ b/gr-audio/lib/alsa/alsa_source.cc
@@ -310,7 +310,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int16 sample_t; // the type of samples we're creating
+ typedef int16_t sample_t; // the type of samples we're creating
static const float scale_factor = 1.0 / std::pow(2.0f, 16-1);
unsigned int nchan = output_items.size ();
@@ -348,7 +348,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int16 sample_t; // the type of samples we're creating
+ typedef int16_t sample_t; // the type of samples we're creating
static const float scale_factor = 1.0 / std::pow(2.0f, 16-1);
float **out = (float**)&output_items[0];
@@ -385,7 +385,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int32 sample_t; // the type of samples we're creating
+ typedef int32_t sample_t; // the type of samples we're creating
static const float scale_factor = 1.0 / std::pow(2.0f, 32-1);
unsigned int nchan = output_items.size ();
@@ -423,7 +423,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- typedef gr_int32 sample_t; // the type of samples we're creating
+ typedef int32_t sample_t; // the type of samples we're creating
static const float scale_factor = 1.0 / std::pow(2.0f, 32-1);
float **out = (float**)&output_items[0];
- [Commit-gnuradio] [gnuradio] 09/13: qtgui: range control -> jump to nearest step with left click, (continued)
- [Commit-gnuradio] [gnuradio] 09/13: qtgui: range control -> jump to nearest step with left click, git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 12/13: Merge remote-tracking branch 'saikwolf/qtgui_range_improvements', git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 13/13: Merge remote-tracking branch 'tom/qtgui/themes_support', git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 10/13: qtgui: range comment cleanup, git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 02/13: do not use deprecated gr_int* types, git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 05/13: qtqui: fixed grc block creation code, git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 04/13: qtgui: Fixed template errors, git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 11/13: Merge remote-tracking branch 'pinkavaj/clear-int-00', git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 08/13: qtgui: Adding a themes directory and install qss files there., git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 06/13: Merge pull request #2 from SaikWolf/pyqwt-removal, git, 2015/04/03
- [Commit-gnuradio] [gnuradio] 01/13: gr-audio: use generic int types instead of gr_int*,
git <=
- [Commit-gnuradio] [gnuradio] 07/13: qtgui: fixed slider tracking and scrolling, git, 2015/04/03