On 04/26/2016 09:46 AM, David Faure wrote:
> So the "sequencer" is the thing that plays an entire piece in the background ?

   Yes.

> I notice, though, that with --no-sequencer, 
> RosegardenDocument::initialiseStudio()
> is not called. Is it still OK to play sounds then?

   Probably not.  In fact, I just tested it with a sequence with two 
synths, and the second one doesn't work in this situation.  So, this is 
a feature/bug.

> In fact, from what you say, I wonder: is --no-sequencer still useful for 
> anything, or can we clean it up?

   It doesn't appear to save on CPU usage which is my main area of 
interest.  It looks like the audio subsystem is still churning away 
sucking up CPU.

   I don't see the point then.  I would wait for Chris and Michael to 
weigh in before undertaking any cleanup.  They may have some historic 
perspective that will help make the right decision.

> Finally, would it make sense for me to add setSoundEnabled(bool) / bool 
> isSoundEnabled()
> to RosegardenDocument ? I guess only the unittest would use that then, unless 
> we
> see a need for a command-line arg that disables sound usage altogether (e.g. 
> for
> people with a crash in libjack, who just want to write and print music).

   Running rg in some sort of minimal no audio/no MIDI mode might indeed 
be useful to someone.  We do have a Windows port that has no sound 
support (IIRC).  So, that might come in handy on that side.

 > I found a #ifdef NO_SOUND in the code that seemed related to this 
idea, but it's not set anywhere (-> I'll clean it up).

   This might be used by the Windows port.  It might be set by the 
Windows solution/project files.

Ted.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to