Parent Directory
|
Revision Log
Sticky Revision: |
* SET CHANNEL AUDIO_OUTPUT_TYPE <chan> <driver> command is back! creates an audio output device instance of the given driver type ('Jack' or 'Alsa') with default parameters if none exists, otherwise it just picks the first available device and assign it to the intended sampler channel. * The AudioOutputDevice class get's a new pure virtual method, Driver(), which is implemented on both of the existing inherited classes, AudioOutputDeviceAlsa and AudioOutputDeviceJack, with the sole purpose to return the driver type name as a String ('Alsa' and 'Jack', respectively). * The quoting on the filename argument for the LOAD INSTRUMENT command has been made optional; you can have both ways, with single quotes or none, keeping compability with older LSCP specification. * An additional sanity check is made on LOAD INSTRUMENT, whether the sampler channel has an audio output device assigned, thus preventing the server from crashing on instrument file load. * The GET AUDIO_OUTPUT_DEVICE INFO now includes the missing 'driver' item, as predicted by the draft protocol document.
* LOAD INSTRUMENT NON_MODAL
* Update parser to comply with the latest spec
* src/common: added template class 'optional<>' which can be used e.g. as return type whenever a value might be returned, but don't has to; this template class pretty much acts like a pointer of the given type, but is much more safer than a simple pointer * src/audiodriver: added static class AudioDeviceFactory to create audio devices at runtime by using a string and to obtain driver informations of drivers at runtime, driver classes should simply use the macro REGISTER_AUDIO_OUTPUT_DRIVER(DriverName,DriverClass) in their cpp file to register the driver to LinuxSampler (no changes needed anymore in the LS code to add a new audio output driver) * src/drivers: added classes to dynamically manage driver parameters; there are two different kinds of parameters: parameters which are need to create a new device (DeviceCreationParameterX) used to e.g. create an audio output device or a MIDI input device and parameters which are only available at runtime, means when a device is already created (DeviceRuntimeParameterX) which will be e.g. used as audio channel parameters and MIDI port parameters * src/linuxsampler.cpp: all registered audio output drivers will be shown on the console on startup * src/network: implemented configuration of audio output devices via LSCP
* LSCP allows now comment lines, that is lines starting with a hash ('#') character * src/engines/gig/Voice.cpp: fixed "SET CHANNEL VOLUME" bug
* implemented parser for the LinuxSampler control protocol (LSCP) by using flex / bison (where src/network/lscp.l is the input file for lex / flex and src/network/lscp.y is the input file for yacc / bison), parser and scanner can be regenerated by 'make parser' * implemented LSCP network server (only single threaded so far), LSCP server will be launched if LinuxSampler was started with "--server" flag, implemented the following LSCP commands so far: "LOAD INSTRUMENT", "GET CHANNEL VOICE_COUNT", "GET CHANNEL STREAM_COUNT", "GET CHANNEL BUFFER_FILL", "SET CHANNEL VOLUME" and "RESET CHANNEL" * disk thread now started within the engine
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC |