interface audio: public handler, public Audio {
public:
audio(); // Constructor (opens audioctl)
virtual ~audio(); // Destructor (closes audioctl)
virtual int operator()();
};
This class implements the Tcl audio(l) command by inheriting it's functionality from the Audio(4) class and the hush handler class.
To make the functionality of audio available from Tcl scripts, add something like:
#include <hush/kit.h>
#include <hymne/audio.h>
...
...
tk->action("audio", new audio());
To your version of the hush interpreter.
This is done, for instance, by the init_hymne()
operator defined in <extern/hymne.h>.
hymne -- file
/dev/audioctl
KEYWORDS
Audio, audio, hush, hymne, Tcl
FILES
SEE ALSO
Audio(4), audio(l), audio(7), hush(1), hymne(1), Tcl(1)
[.]
Papers
Tutorials
Examples
Manuals
Interfaces
Sources
Packages
Resources
?
Hush Online Technology
hush@cs.vu.nl
09/24/99