[haiku-development] Re: New BMediaRecorder class

  • From: Barrett <b.vitruvio@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 18 Jan 2015 21:56:21 +0100

Hello,


> If I remember right you mentioned that you might change BMediaRecorder
> to derive from BMediaFilter once that's written?


This is an option i'm seriously evaluating, what is certain is that the
BMediaNode behind will be shared as you can safely declare it being only a
BBufferProducer even if it can also work as consumer, so the media_server
will ignore that part. There are indeed various code duplication advantages
having BMediaRecorder/BMediaPlayer inherited from BMediaFilter.

But any suggestion is welcome as the work is only at 1/3 from end.


> If so I'll wait until
> that after to make it public, as that's likely to entail a few API and
> ABI changes.
>

I think it's ok for now to leave it private.

Regards,
Dario

Other related posts: