|
//
// BlueWave.Interop.Asio by Rob Philpott. Please send all bugs/enhancements to
// rob@bigdevelopments.co.uk. This file and the code contained within is freeware and may be
// distributed and edited without restriction. You may be bound by licencing restrictions
// imposed by Steinberg - check with them prior to distributing anything.
//
#include "AsioRedirect.h"
#pragma once
#pragma managed
using namespace System;
namespace BlueWave
{
namespace Interop
{
namespace Asio
{
// represents buffer size info specified by the driver
public ref class BufferSize
{
internal:
// internal construction only
BufferSize(IAsio* pAsio);
// these four things constitute a buffer size
long m_nMinSize;
long m_nMaxSize;
long m_nPreferredSize;
long m_nGranularity;
public:
// and this is where you can retrieve them
property int MinSize { int get(); }
property int MaxSize { int get(); }
property int PreferredSize { int get(); }
property int Granularity { int get(); }
};
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a .NET architect/developer based in London working mostly on financial trading systems. My love of computers started at an early age with BASIC on a 3KB VIC20 and progressed onto a 32KB BBC Micro using BASIC and 6502 assembly language. From there I moved on to the blisteringly fast Acorn Archimedes using BASIC and ARM assembly.
I started developing with C++ since 1990, where it was introduced to me in my first year studying for a Computer Science degree at the University of Nottingham. I started professionally with Visual C++ version 1.51 in 1993.
I moved over to C# and .NET in early 2004 after a long period of denial that anything could improve upon C++.
Recently I did a bit of work in my old language of C++ and I now realise that frankly, it's a total pain in the arse.