search for: processbuffer

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

2016 Jan 14
8
RFC: Enforcing pointer type alignment in Clang
...sible to locally work around the problem. I have to change the type of the pointer to something that requires less alignment, and not just where I'm using it, or even just within my function, but all the way up to wherever it came from. For example, suppose I've got this function: void processBuffer(const int32_t *buffer, size_t length) { ... } I get a bug report saying that my function is crashing, and I decide that the right fix is to make the function handle unaligned buffers correctly. Maybe that's a binary-compatibility requirement, or maybe the buffer is usually coming from a...
2016 Jan 15
3
[cfe-dev] RFC: Enforcing pointer type alignment in Clang
...oblem. I have to change the type of the pointer to > something that requires less alignment, and not just where I'm using > it, or even just within my function, but all the way up to wherever it > came from. > > For example, suppose I've got this function: > > void processBuffer(const int32_t *buffer, size_t length) { > ... > } > > I get a bug report saying that my function is crashing, and I decide > that the right fix is to make the function handle unaligned buffers > correctly. Maybe that's a binary-compatibility requirement, or maybe the &...
2006 Sep 08
2
problem with compression and decompression
...{ int iFrameSize = 0; char cComFrame[200]; ALchar ArrTemp[BUFFERSIZE]; g_oCapture.Compress(g_ArrBuffer, &iFrameSize, cComFrame ); g_oCapture.Decompress(ArrTemp, iFrameSize, cComFrame); g_oCapture.ProcessBuffers(g_uiSourceID); g_oCapture.QueueBuffer(g_uiSourceID, ArrTemp, BUFFERSIZE ); g_oCapture.PlayStream(g_uiSourceID); } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20060908...