>-----Original Message----- >From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> >To: haiku-3rdparty-dev <haiku-3rdparty-dev@xxxxxxxxxxxxx> >Sent: Mon, Oct 15, 2012 12:25 pm >Subject: [haiku-3rdparty-dev] Re: Deprecated BBufferProducer::SendBuffer? > >Am 15.10.2012 18:18, schrieb Andrew Hudson: >> I'm working with some old BeOS code that uses the deprecated version of >> BBufferProducer::SendBuffer: >> >> status_t err = SendBuffer(pBuffer, m_output.destination); >> >> I understand that this method is now private to avoid usage. Is there an >> easy way to either >> compile it 'as-is' or to easily convert to the supported 3-parameter >> version? > >Use the source, Luke! >http://cgit.haiku-os.org/haiku/tree/src/kits/media/BufferProducer.cpp#n598 > >You usually should now the source, so you can probably simplify this >code, anyway. > >Bye, > Axel. OK, thanks, I will take a look. What was the motivation for the new, improved SendBuffer? Is it worth a conversion? Ciao, Andrew