[haiku-3rdparty-dev] Re: Deprecated BBufferProducer::SendBuffer?

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Mon, 15 Oct 2012 18:24:52 +0200

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.

Other related posts: