[Stk] Please advise: How to Hello World to Advanced step with RtAudio

Shamun toha md shamun.toha at gmail.com
Fri Dec 24 02:01:08 PST 2010


Dear Prof. Gary,

I have this code, where i am trying to start from very basic and low
level. Where i want to make a framework including RtAudio, WebKit.
Please advise under which directory i can put the RtAudio and bare in
my mind i can write this code once for Linux and port it to Mac or
Windows, in a frameworked way.

1. ) My directory structure is:

voice
|- include
|- resource
|- src
|--- main.cpp
|--- README
|- test
|- dist

2) My main.cpp is now containing this:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>

//using namespace fltk;

int main(int argc, char **argv)
{

  Fl_Window *window = new Fl_Window(300,180);
  Fl_Box *box = new Fl_Box(20,40,260,100,"Hello, World!");
  box->box(FL_UP_BOX);
  box->labelsize(36);
  box->labelfont(FL_BOLD+FL_ITALIC);
  box->labeltype(FL_SHADOW_LABEL);
  window->end();
  window->show(argc, argv);
  return Fl::run();

}


3) Now i want to put RtAudio under my include directory. Please advise
how can i make this a framework, friendly structured project.


Thanks & Regards
Shamun



More information about the Stk mailing list