search for: inputfram

Displaying 3 results from an estimated 3 matches for "inputfram".

Did you mean: inputframe
2004 Nov 08
2
Matrix Indexing
Hi, I have the following problem. In a csv file I have under column A, the date, and column B, the prices. Thus, for example, the file looks something like this -> 1/31/04 2.5 2/1/04 2.6 ... 4/12/04 3.5 Basically, I use the function inputframe = read.csv( ) which reads the csv file into the inputframe. My question is, how can I make a function that has, as inputs, start_date and end_date, so that the inputframe would not return all of these prices but only the ones during the period I input? For example, if I input 3/1/04 and 3/11/0...
2007 Nov 20
0
speex_bits_write / speex_bits_read_from - getting Static
...n to accept a SpeexBits struct, it plays the vocoded audio without any problem. ****************** Managed C++ Code *********************************** //Public function -- m_encoderState is a void* member, m_bits is a SpeexBits* member array<Byte>^ SpeexEncoder::Encode(array<short>^ inputFrame) { //begin lazy man's way of converting to regular C unsigned int numSamples = inputFrame->Length; short* inputptr = (short*) malloc(numSamples*sizeof(short)); unsigned int i = 0; for(i = 0; i<numSamples; i++) inputptr[i] = (short) inputFrame[i]; //end la...
2008 Jul 11
0
Speex issue
...ith speex", and I've been through the reference speexenc line by line, but I just can't figure out what's wrong with my code. I'm hoping that there's some glaring error that you guys will shout at me for missing. This method is called when enough data has accumulated in inputFrame, after the members have been initialized and the headers have been written: oggPacketCount++; speex_bits_reset(&speexBits); speex_encode_int(encoderState, inputFrame, &speexBits); int packetBytes = speex_bits_write(&speexBits, packetBuffer, PACKET_BUFFER_SIZE);...