search for: iodata

Displaying 1 result from an estimated 1 matches for "iodata".

Did you mean: rodata
2004 Feb 07
0
OS X
...t;Vorbis" ? I try to decode a file with ov_read(...). It works for some (mili)seconds and then the Output get into trouble... . You need some infos? char buffer[4096]; OSStatus Render(...) { bytes_read = ov_read(&vf, buffer, sizeof(buffer), 0, 2, 1, &current_section); memcpy(ioData->mBuffers[0].mData, buffer, bytes_read); ioData->mBuffers[0].mDataByteSize = bytes_read; return noErr; } SomewhereThePlay Function(...){ ... AURenderCallbackStruct in; in.inputProc = Render; in.inputProcRefCon = NULL; ... AudioStreamBasicDescription sFormat;...