[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] itemsize mismatch Error
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] itemsize mismatch Error |
Date: |
Tue, 15 Jun 2010 14:54:27 -0700 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
On Wed, Jun 16, 2010 at 03:13:30AM +0530, ramanagouda odugoudar wrote:
> Hello,
>
> I am building an application which involves sending data to audio sink.
> The block ACS_premodulator_vff generates 1024 float samples and
> audio_alsa_sink accepts 1 float sample . Error is as follows:
>
> terminate called after throwing an instance of 'std::invalid_argument'
> what(): itemsize mismatch: ACS_premodulator_vff(2):0 using 4096,
> audio_alsa_sink(3):0 using 4
> Aborted
>
>
> can anyone suggest me how to make alsa_sink accept 1024 float samples ?
>
> thanks for the help
> Raman
Use gr.vector_to_stream in front of the alsa sink
http://gnuradio.org/doc/doxygen/classgr__vector__to__stream.html
Eric