3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2009 Christian Schoenebeck * |
* Copyright (C) 2005 - 2012 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
457 |
int GetVoiceCount(); |
int GetVoiceCount(); |
458 |
|
|
459 |
/** |
/** |
460 |
|
* @see SetGlobalMaxVoices() |
461 |
|
*/ |
462 |
|
int GetGlobalMaxVoices(); |
463 |
|
|
464 |
|
/** |
465 |
|
* @see SetGlobalMaxStreams() |
466 |
|
*/ |
467 |
|
int GetGlobalMaxStreams(); |
468 |
|
|
469 |
|
/** |
470 |
|
* Sets the global maximum amount limit of voices. |
471 |
|
* |
472 |
|
* Note that this voice limit can also be altered for |
473 |
|
* each sampler engine instance individually instead. |
474 |
|
* |
475 |
|
* @throws Exception if \a n is invalid |
476 |
|
*/ |
477 |
|
void SetGlobalMaxVoices(int n) throw (Exception); |
478 |
|
|
479 |
|
/** |
480 |
|
* Sets the global maximum amount limit of disk streams. |
481 |
|
* |
482 |
|
* Note that this stream limit can also be altered for |
483 |
|
* each sampler engine instance individually instead. |
484 |
|
* |
485 |
|
* @throws Exception if \a n is invalid |
486 |
|
*/ |
487 |
|
void SetGlobalMaxStreams(int n) throw (Exception); |
488 |
|
|
489 |
|
/** |
490 |
* Reset the whole sampler. Destroy all engines, sampler |
* Reset the whole sampler. Destroy all engines, sampler |
491 |
* channels, MIDI input devices and audio output devices. |
* channels, MIDI input devices and audio output devices. |
492 |
*/ |
*/ |