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 _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
