Hi!
I think we should only support one open song at a time, this keeps it
simple. And yes, the previously loaded song should be closed if a new
one is loaded.
Best Regards,
Sebastian
Pawel wrote:
> Hi,
>
> I want to rewrite this method:
> HydrogenApp::setSong
>
> mostly this part ( which IMHO should be in core ):
> Song* oldSong = (Hydrogen::get_instance())->getSong();
> if (oldSong != NULL) {
> (Hydrogen::get_instance())->removeSong();
> delete oldSong;
> oldSong = NULL;
> }
>
> I think also that setWindowTitle should be triggered by event.
>
> Question is: are we want support multiple opened songs at the same time ? in
> current approach Hydrogen::setSong should close previous Song. Do you agree
> with me ?
>
> Best Regards
> Xj
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Hydrogen-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel