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

  • From: Andrew Hudson <hudsonco1@xxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Mon, 15 Oct 2012 12:18:05 -0400 (EDT)

Hi,


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?

status_t SendBuffer(BBuffer* buffer, 
        const media_source& source, 
        const media_destination& destination);


Thanks,
Andrew

Other related posts: