Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (annotate) |
Sticky Revision: |
* LSCP: allow naughty liblscp to send non-string device parameters within apostrophes as well
* code cleanup: - global.h now only covers global definitions that are needed for the C++ API header files, all implementation internal global definitions are now in global_private.h - atomic.h is not exposed to the C++ API anymore (replaced the references in SynchronizedConfig.h for this with local definitions) - no need to include config.h anymore for using LS's API header files - DB instruments classes are not exposed to the C++ API - POSIX callback functions of Thread.h are hidden - the (optional) gig Engine benchmark compiles again - updated Doxyfile.in - fixed warnings in API doc generation * preparations for release 0.5.0
* made sure that LSCP syntax is not affected by gigedit locale settings
* added default min and max values to restrict the number of allowed audio output channels and MIDI input ports * the connection to the PCM interface is now closed when destroying an audio output device
* bugfix: The previous bindings were not been disconnected when altering the ALSA_SEQ_BINDINGS parameter. * Introduced a NONE keyword for unsubscribing from all bindings (e.g. SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS=NONE).
just some refactoring work: - renamed class LinuxSamplerException -> Exception - encapsulated LS API relevant files into LS namespace - removed unnecessary header inclusions
* remove quotation marks from driver parameters
* JACK audio driver: fixed handling of channel parameter 'JACK_BINDINGS' * fixed parser bug of multiplicity parameters
* ALSA MIDI driver: create one MIDI port by default, implemented parameter info for parameter 'ALSA_SEQ_BINDINGS' * ALSA audio driver: implemented parameter info for driver parameters 'FRAGMENTS' and 'FRAGMENTSIZE' * JACK audio driver: fixed creation of channels on device creation, channel parameter 'NAME' now actually updates the respective JACK port name, implemented channel parameter 'JACK_BINDINGS' (as well as its parameter info) * src/network/lscpserver.cpp: fixed commands "GET MIDI_INPUT_DRIVER_PARAMETER INFO" and "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO", fixed backward compatibility for "SET AUDIO_OUTPUT_TYPE" and "SET MIDI_INPUT_TYPE" commands * src/networ/lscp.y: added comma character (',') to symbol 'char' * src/drivers/DeviceParameter.cpp: fixed methods RangeMin(), RangeMax() in class DeviceCreationParameterInt which returned wrong values
* src/drivers/DeviceParameter.cpp: fixed return values for classes 'DeviceRuntimeParameterString' and 'DeviceCreationParameterString' which returned their values without being encapsulated into apostrophes, fixed return values for 'DeviceRuntimeParameterBool' and 'DeviceCreationParameterBool' to be returned in lower case (as defined in the LSCP documentation) * src/network/lscp.y: key value pairs now also allow strings (without spaces) to be not encapsulated into apostrophes (e.g. foo=bar instead of foo='bar') * src/linuxsampler.cpp: show on the console which TCP port the LSCP server is using
* introduced and implemented new LSCP command "RESET" which resets the whole sampler instance * src/drivers/audio/AudioOutputDeviceAlsa.cpp: parameter 'card' now returns all available sound cards as possibility, added dependency to parameter 'card' to parameters 'fragments' and 'fragmentsize' * src/drivers/DeviceParameter.cpp: fixed return value(s) for classes 'DeviceCreationParameterString' and 'DeviceCreationParameterStrings' which returned the default value(s) not encapsulated into apostrophes * src/network/lscpserver.cpp: fixed implementation of LSCP commands "GET MIDI_INPUT_DRIVER_PARAMETER INFO" and "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"
* Reworked the infrastructure to allow for parameter registration and creation * Changed alsa audio output and midi drivers to work with new infrastructure
* Remove calls to pure virtual from constructor of base class to avoid runtime failure. InitWithDefault() will have to be called from the constructor of the class where virtuals are implemented.
* 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
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 |