search for: inputsizer

Displaying 9 results from an estimated 9 matches for "inputsizer".

Did you mean: inputsize
2011 Nov 16
2
Just getting noise
Alright noted, I changed me code so that the state is created in the constructor and destroyed in the destructor of the object. However I'm still getting the same issue although I'm sure that would have bit me sooner or later. The new code is as follows. virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize, size_t& outputSize) { short *in=(short*)inputBuffer;
2011 Nov 16
2
Just getting noise
I'm completely new to speex and I'm having issues adding it to my application. I can pass raw PCM and that works fine so I know my transmission code is fine however when I try to encode/decode using speex I get noise almost like a whining/buzzing sound. I'm sure it's and issue in my code but I'm not sure where to start looking other then my gut tells me I'm not sizing or
2011 Nov 17
1
Just getting noise
I'm only doing one frame using speex_encode_int greatly simplifies my code I'm not sure why the sample I was working off of was converting the shorts to floats then calling the other encode/decode methods. Based off of your suggestions I tried the following but I get the same result. virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize, size_t& outputSize) {
2011 Nov 16
0
Just getting noise
The way I do this is to compute the number of frames (by dividing the size of my input by the number of bytes per frame and then calling speex_encode_int() that many times. Something like speex_bits_reset( &bits ); for( n = 0; n < num_frames; ++n ) { speex_encode_int( enc_state, (int16_t*)input_tail,
2011 Nov 16
0
Just getting noise
At just a first quick glance, I'm pretty sure that you don't want to be creating and destroying the speex encoder/decoder with each frame. That's supposed to stay the same for more-or-less the entire session. Ken Smith Cell: 425-443-2359 Email: ken at alanta.com Blog: http://blog.wouldbetheologian.com/ On Wed, Nov 16, 2011 at 2:52 PM, Christopher Schaefer <disks86 at
2004 Nov 22
1
Layout Issue ...
...d. # CODE STARTS HERE .... require ''wxruby'' class TestApp < Wx::App def on_init @frame = Wx::Frame.new( nil, -1, "Test", Wx::DEFAULT_POSITION ) @panel = Wx::Panel.new( @frame ) @topSizer = Wx::FlexGridSizer.new( 1, 3 ) @topSizer.add( createInputSizer(), 1, Wx::GROW|Wx::ALL, 2 ) @topSizer.add( createGridSizer(), 1, Wx::GROW|Wx::ALL, 2 ) @topSizer.add( createButtonSizer(), 1, Wx::ALIGN_CENTER_HORIZONTAL|Wx::ALL, 2 ) @panel.set_sizer( @topSizer ) @topSizer.fit( @frame ) @frame.show self.main_loop end def...
2015 Jul 06
5
[LLVMdev] Why can't comparisons with negative zero be simplified?
In InstCombineCompares.cpp, routine InstCombiner::FoldFCmp_IntToFP_Cst, there are these lines: // Comparisons with zero are a special case where we know we won't lose // information. bool IsCmpZero = RHS.isPosZero(); // If the conversion would lose info, don't hack on this. if ((int)InputSize > MantissaWidth && !IsCmpZero) return nullptr; Why check for positive
2005 Jul 20
1
Speex Windows from 1.1.6 source
Hi All, I am using Speex for encoding/decoding the audio stream for my streaming application. I have used almost the same code In the sampleenc.c and sampledec.c, except that I have used The buffers from the mic as input for encoder and encoded audio As input for decoder, instead of files input. My Problem is the audio played on the receiving side after decoding Is only a "hush" or it
2012 Feb 13
10
[RFB] add LZ4 compression method to btrfs
Hi, so here it is, LZ4 compression method inside btrfs. The patchset is based on top of current Chris'' for-linus + Andi''s snappy implementation + the fixes from Li Zefan. Passes xfstests and stresstests. I haven''t measured performance on wide range of hardware or workloads, rather wanted to publish the patches before I get distracted again. I''d like to ask