Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Menus disappear with Csound API on Mac

Date2008-08-04 07:23
Fromvictor
SubjectRe: [Cs-dev] Menus disappear with Csound API on Mac
Hve you run Rez to create a resource fork?
----- Original Message ----- 
From: "Andres Cabrera" 
To: "Developer discussions" 
Sent: Monday, August 04, 2008 3:38 AM
Subject: [Cs-dev] Menus disappear with Csound API on Mac


Hi all,
 When running csound from a C++ program on Mac OS X, The application
menus disappear...
I've found the problem described in a thread from 2006 called "[Csnd]
RAViC Real-Time Audio Visualisation in Csound5", but I saw no
solution. What can I do to fix this, any ideas?
I'm running csound with the following code:

    CppSound csound;
    static char *argv[33];
    int argc = m_options->generateCmdLine(argv, realtime, fileName, 
fileName2);
    csound.SetMessageCallback(&qutecsound::messageCallback_NoThread);
    csound.SetHostData((void *)m_console);
    csound.compile(argc, argv);
    if (!csound.getIsCompiled()) {
      qDebug("Csound compile failed!");
      return;
    }
    running = true;
    while(csound.performKsmps(true)==0 && running) {
      qApp->processEvents();
    }
csound.Stop();
csound.cleanup();


Cheers,
Andrés

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great 
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-08-04 10:19
From"Andres Cabrera"
SubjectRe: [Cs-dev] Menus disappear with Csound API on Mac
AttachmentsNone  None  None  None