[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Protux-devel] New implementations in ProjectManager
From: |
Luciano Giordana |
Subject: |
Re: [Protux-devel] New implementations in ProjectManager |
Date: |
Sun, 5 Jan 2003 13:29:55 +0000 |
User-agent: |
KMail/1.4.3 |
I noticed that there is no way to check if a Song is playing or recording.
I am adding a get_status() function with can return this
Song::ARMED
Song::RECORDING
Song::PLAYING
Song::RENDERING
so you can use it to avoid PM problems..
you can call it from Interface class by calling
project->get_current_song()->get_status()
I will commit in some minutes
On Sunday 05 January 2003 01:20 pm, Luciano Giordana wrote:
> On Sunday 05 January 2003 04:16 am, Martin Herren wrote:
> > BTW, many operation in ProjectManager segfaults when a song is either
> > playing or recording... should add a check to detect that.
>
> The correct is to avoid open PM when playing/recording.. In this case put a
> check on Interface::process_jmb_action, to check if Project or Song status
> is playing or recording in case of true, ignore the action (or use a
> Lcd::print to warn useR)
--
Luciano Giordana - Musician - Certified Java/GNU C++ Developer - Free Software
Evangelist
http://www.groselhalight.com/giordana
Project Protux : Free Professional Audio Tools for GNU/Linux
http://www.freesoftware.fsf.org/protux
-- Once Palladium is up and running , I will become a hacker --
- [Protux-devel] New implementations in ProjectManager, Martin Herren, 2003/01/04
- Re: [Protux-devel] New implementations in ProjectManager, Luciano Giordana, 2003/01/04
- Re: [Protux-devel] New implementations in ProjectManager, Luciano Giordana, 2003/01/04
- Re: [Protux-devel] New implementations in ProjectManager, Martin Herren, 2003/01/04
- Re: [Protux-devel] New implementations in ProjectManager, Martin Herren, 2003/01/04
- Re: [Protux-devel] New implementations in ProjectManager, Luciano Giordana, 2003/01/05
- Re: [Protux-devel] New implementations in ProjectManager,
Luciano Giordana <=
- Re: [Protux-devel] New implementations in ProjectManager, Luciano Giordana, 2003/01/05
- Re: [Protux-devel] New implementations in ProjectManager, Martin Herren, 2003/01/05
- Re: [Protux-devel] New implementations in ProjectManager, Luciano Giordana, 2003/01/05
- Re: [Protux-devel] New implementations in ProjectManager, Martin Herren, 2003/01/07
- Re: [Protux-devel] New implementations in ProjectManager, Luciano Giordana, 2003/01/08
- Re: [Protux-devel] New implementations in ProjectManager, Martin Herren, 2003/01/09
Re: [Protux-devel] New implementations in ProjectManager, booker, 2003/01/05