Application Development
There are three types of drivers provided in the single driver executable:
- Waveform recording and playback (Wave API)
- MIDI recording and playback (MIDI API)
- Mixer API
Wave API
Waveform recording and playback applications may be developed using any of the five driver models we provide:
- Windows Multimedia Extensions (MME)
- Steinberg Audio Streaming Input Output (ASIO)
- Microsoft DirectSound
- Direct Kernel Streaming (WDM)
- Tascam GigaStudio Interface (GSIF). Please note this is a proprietary interface.
We recommend using either Windows MME or ASIO.
The Windows Multimedia Functions are documented at:
http://msdn.microsoft.com/library/...
If you just need to playback a WAVE file, try using the simple sndPlaySound() function.
Windows MME API Recording will require that you process buffers with waveInOpen(), waveInAddBuffer(), waveInStart().
You might also look at the AVIFile / AVIStream functions which are higher level.
The Steinberg ASIO API is documented at:
http://www.steinberg.de/324_1.html
MIDI API
The Windows MIDI API provides capture and playback of MIDI data. Since our audio cards have no on-board synthesizers, MIDI data is simply moved across to the MIDI ports (on the LynxONE) or used to virtualize the LTC Receiver/Generator (on the LynxTWO).
The Windows MIDI API is documented at:
http://msdn.microsoft.com/library/...
Mixer API
The Windows Mixer API provides access to all of the hardware specific features of our audio cards. Both the LynxONE and the LynxTWO/L22/AES16 (using the Version 1 driver) use the Windows Mixer API. No custom API is provided for those applications.
The Windows Mixer API is documented at:
http://msdn.microsoft.com/library/...
We also provide our own sample source code for controlling the mixer:
http://www.lynxstudio.com/drivers/SetControlSource.exe
This program also works as a command line interface for controlling the mixer. This allows automation of the mixer with a batch file. This program also includes the CMixerAPI C++ class that allows access to the Mixer API when using the Version 2 driver.
Writing your own device driver
Lynx Studio Technology provides device drivers for Windows 95/98/ME, Windows NT/2000/XP, as well as Macintosh OS9/OSX. 4Front Technologies has developed Linux/Unix device drivers for the LynxONE, and is in the process of developing Linux/Unix device drivers for the Lynx L22 and LynxTWO. 4Front sets their own schedule, so please contact them for availability dates for their drivers.
If you require a device driver for an operating system not listed, or have a custom application that requires detailed programming information, we provide a Hardware Abstraction Layer Development Kit (HDK) for all of our audio cards. The HDK is only available under our Non-Disclosure Agreement (NDA) and as such none of the materials or information provided (including derived materials or information) may be redistributed in any form (other than binaries). Please contact Lynx Studio Technology for further information. |