[haiku-development] Re: MediaPlayer in latest build

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 14 Dec 2009 17:07:58 +0100

Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> On 2009-12-14 at 15:04:14 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
> > wrote:
> > David McPaul <dlmcpaul@xxxxxxxxx> wrote:
> > > It's a queue of 10 pointers constantly changing, the buffers
> > > themselves are in rtm memory.  STL containers do allow you to
> > > pass in
> > > your own allocator so we could put it in the rtm pool but it
> > > hardly
> > > seems worth it.
> > The constant usage is only of secondary importance - the VM will
> > always
> > only get a usage update in quite some interval, and might need to
> > swap
> > pages that are in active use under critical low memory situations.
> > Needless to say, the media add-ons should be made locked in memory
> > as
> > well if "real time media" is selected in the prefs.
> May I dare mentioning that someone also made the port memory
> swappable. :-)

How could that someone do that?!
I guess we should introduce some "real time port" flag to let it use
unpageable memory, some day, at least.

Bye,
   Axel.


Other related posts: