search for: ourdata

Displaying 4 results from an estimated 4 matches for "ourdata".

Did you mean: yourdata
2004 Sep 10
2
Storing FLAC in Matroska
...pops, so is the decoded data in a different format than PCM? struct flacData { FILE *inputFile; FILE *outputFile; char *filename; }; FLAC__StreamDecoderReadStatus flac_DecoderReadCallback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) { flacData *ourData = (flacData *)client_data; *bytes = fread((void *)buffer, 1, *bytes, ourData->inputFile); return FLAC__STREAM_DECODER_READ_STATUS_CONTINUE; }; FLAC__StreamDecoderWriteStatus flac_DecoderWriteCallback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 *const buff...
2004 Sep 10
2
Storing FLAC in Matroska
Hello, I'm looking into storing FLAC audio in Matroska and I have a few questions. 1. Can I use libflac to extract the compressed frames? Or will I need to write up a simple file parser? 2. What is required to decode the frames? From the docs I understand that you need the FRAME and you may need the METADATA_BLOCK. Thanks, Jory Stone jcsston@toughguy.net Matroska, the new,
2005 Jan 26
2
graphsheet substitute in R?
I'm using R 2.0.1 in a class I teach, with most students working under windows XP. We have a data frame with the first column containing the factor "site," and five water-quality variables at each site. As one part of exploring these data, I'd like the students to run by(ourdata,site,pairs). When I try that, however, the pairs plots for the first 10 sites scroll past, and I'm left to look at the eleventh only. I think that if I did this same thing in s-plus with a graph sheet, each of the graphs would be saved to a separate page, and then they could be viewed one...
2013 Dec 05
1
playback of opus files using portaudio
...play opus file written in c/c++(light). I tried to see some open source(vlc opus play) but was unable to follow. int MyCallback(const void* input, void* output, unsigned long frameCount, const PaStreamCallbackTimeInfo* paInfo, PaStreamCallbackFlags paCallbacks, void *userData ) { OurData *data=(OurData*) userData; opus_int16* out=(opus_int16 *)output; int thisSize=frameCount; int smpls_decoded; while (thisSize>0) { smpls_decoded=op_read(data->sndFile,out,thisSize,NULL); out+=data->channels*smpls_decoded; thisSize-=data->channels*smpls_decoded; } return paContinue; } -...