Initial import
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/asiosdk2@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
Executable
+53
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
|
||||
Steinberg Audio Stream I/O API
|
||||
|
||||
(c) 1996, Steinberg Soft- und Hardware GmbH
|
||||
|
||||
charlie (May 1996)
|
||||
|
||||
|
||||
|
||||
asiosmpl.cpp
|
||||
|
||||
|
||||
|
||||
sample implementation of asio.
|
||||
|
||||
time manager irq
|
||||
|
||||
**** mac os specific ****
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <macheaders.h>
|
||||
|
||||
#include <Timer.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "asiosmpl.h"
|
||||
|
||||
|
||||
|
||||
static TMTask myTmTask;
|
||||
|
||||
static bool tmTaskOn = false;
|
||||
|
||||
static AsioSample *theSound = 0;
|
||||
|
||||
|
||||
|
||||
void myTimer();
|
||||
|
||||
void myTimer()
|
||||
|
||||
{
|
||||
|
||||
if(theSound)
|
||||
|
||||
theSound->bufferSwitch();
|
||||
|
||||
PrimeTime((QElemPtr)&myTmTask, theSound->milliSeconds);
|
||||
Reference in New Issue
Block a user