[Clam-devel] Removing BlockingNetworkPlayer?
Pau Arumí
parumi at iua.upf.edu
Fri Aug 1 01:00:07 PDT 2008
On dv, 2008-08-01 at 01:19 -0300, Natanael Olaiz wrote:
> This was the idea?
Yes. Good to see CLAM a bit simpler :-)
>
> Some code is just commented.
> HasSyncSource is not used anymore but the NetworkTest. Should we kept
> it?
No, remove it and remove/adapt the test.
Don't have time to review the commit now. But consider to wipe out
commented code -- it tends to be non useful at all.
P
>
> Commit 11755:
> * BlockingNetworkPlayer: removed. Not used anymore.
> * NetworkPlayer: removed IsCallbackBased() attribute
> (BlockingNetworkPlayer was the only non callback based player)
> * .*Player: commented IsCallBackBased() implementations.
> * MainWindow & PrototypeLoader:
> - commented the alsa backend support, which used
> BlockingNetworkPlayer.
> - removed the error message when is not callback based and
> not Network::HasSyncSource().
> - TODO: remove HasSyncSource attribute also?
> Regards,
> Natanael.
>
>
> El 07/31/2008 05:35 PM, Pau Arumí escribió:
> > Natanael,
> > take this task if you feel like. It's very straightforwards but will
> > give you the occasion to intimate (more) with the
> > NetworkPlayer-Network-FlowControl code.
> > The NetworkPlayer::IsCallbackBased() should also be removed and adapt
> > the code that uses it.
> >
> > P
> >
> >
> > On dj, 2008-07-31 at 21:42 +0200, David García Garzón wrote:
> >
> > > El Thursday 31 July 2008 09:19:30 Pau Arumí va escriure:
> > >
> > > > I am for removing the BlockingNetworkPlayer and all the accompanying
> > > > code.
> > > > The reason is that our backends now are limited to Jack and PortAudio
> > > > which are callback-based. Other interesting backends: PulseAudio and
> > > > Mac's CoreAudio, are also callback-based. The push backends if I recall
> > > > correctly where ActiveX and Alsa which have been abandoned.
> > > > Besides, callback-based is more efficient that push-based, we won't want
> > > > to go back...
> > > >
> > > >
> > > It seems that is not that used at all so go ahead with it. A related removal
> > > that implies much more code reduction is AudioIO but this could have more
> > > dependencies on examples and applications that would be harder to adapt but
> > > as you feel like adventurous... ;-)
> > >
> > > David
> > >
> > >
> >
> >
> > _______________________________________________
> > Clam-devel mailing list
> > Clam-devel at llistes.projectes.lafarga.org
> > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
> >
> >
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
More information about the clam-devel
mailing list