CVS log for linuxsampler/src/Sampler.cpp

(logo)

Help

(back) Up to [ls] / linuxsampler / src

Request diff between arbitrary revisions / Display revisions graphically


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision 1.32 / (as text) / (view) - annotate - [select for diffs] , Wed Jan 3 17:49:44 2007 UTC (2 years ago) by schoenebeck
Branch: MAIN
CVS Tags: HEAD
Changes since 1.31: +14 -4 lines
Diff to previous 1.31
* delete all MIDI instrument maps when a sampler-reset is issued
  (i.e. on a "RESET" LSCP command)

Revision 1.31 / (as text) / (view) - annotate - [select for diffs] , Sun Dec 17 22:35:01 2006 UTC (2 years ago) by iliev
Branch: MAIN
Changes since 1.30: +4 -0 lines
Diff to previous 1.30
* Added new notification events for tracking audio/MIDI device changes,
MIDI instrument map changes and MIDI instrument changes

Revision 1.30 / (as text) / (view) - annotate - [select for diffs] , Thu Nov 30 10:39:12 2006 UTC (2 years, 1 month ago) by iliev
Branch: MAIN
Changes since 1.29: +2 -0 lines
Diff to previous 1.29
- fixed crash occurring on certain LSCP scripts (Bug 39)

Revision 1.29 / (as text) / (view) - annotate - [select for diffs] , Wed Jul 5 16:53:22 2006 UTC (2 years, 6 months ago) by schoenebeck
Branch: MAIN
CVS Tags: release0_4_0
Changes since 1.28: +8 -0 lines
Diff to previous 1.28
* src/Sampler.h, src/Sampler.cpp: allow 3rd party applications to
  retrieve available drivers and sampler engines
* src/linuxsampler.cpp: show available engines on startup (on the console)

Revision 1.28 / (as text) / (view) - annotate - [select for diffs] , Tue Jun 27 21:57:35 2006 UTC (2 years, 6 months ago) by schoenebeck
Branch: MAIN
Changes since 1.27: +13 -13 lines
Diff to previous 1.27
just some refactoring work:
- renamed class LinuxSamplerException -> Exception
- encapsulated LS API relevant files into LS namespace
- removed unnecessary header inclusions

Revision 1.27 / (as text) / (view) - annotate - [select for diffs] , Sun Mar 19 16:38:22 2006 UTC (2 years, 9 months ago) by persson
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
* more thread safety fixes: another fix for lscp "load engine" and
  midi thread. Sysex midi protected against lscp. Instrument loader
  thread protected against lscp thread.

Revision 1.26 / (as text) / (view) - annotate - [select for diffs] , Sun Feb 26 13:00:07 2006 UTC (2 years, 10 months ago) by persson
Branch: MAIN
Changes since 1.25: +25 -1 lines
Diff to previous 1.25
* fixed some concurrency problems between the lscp thread and the
  audio/midi threads for these commands: load engine, set channel
  audio output device, set channel midi input device/port/channel and
  remove channel. Thanks to Vincent Bongiorno for bug reports and
  testing.
* removed an autotools warning
* fixed an iterator bug
* minor code clean-ups

Revision 1.25 / (as text) / (view) - annotate - [select for diffs] , Thu Feb 9 20:03:03 2006 UTC (2 years, 10 months ago) by persson
Branch: MAIN
Changes since 1.24: +10 -4 lines
Diff to previous 1.24
* fix of silly bug introduced in recent memory fix: all devices were
  destroyed instead of just the one asked for in the Sampler::Destroy
  functions

Revision 1.24 / (as text) / (view) - annotate - [select for diffs] , Mon Feb 6 18:07:16 2006 UTC (2 years, 11 months ago) by persson
Branch: MAIN
Changes since 1.23: +4 -6 lines
Diff to previous 1.23
* fixed some memory management errors

Revision 1.23 / (as text) / (view) - annotate - [select for diffs] , Fri Sep 23 05:58:26 2005 UTC (3 years, 3 months ago) by iliev
Branch: MAIN
Changes since 1.22: +12 -0 lines
Diff to previous 1.22
Added new LSCP commands: GET TOTAL_VOICE_COUNT,
GET TOTAL_VOICE_COUNT_MAX, SUBSCRIBE/UNSUBSCRIBE TOTAL_VOICE_COUNT

Revision 1.22 / (as text) / (view) - annotate - [select for diffs] , Sat Jul 30 07:18:08 2005 UTC (3 years, 5 months ago) by iliev
Branch: MAIN
Changes since 1.21: +2 -0 lines
Diff to previous 1.21
* Added CHANNEL_INFO notification when engine is assigned to
sampler channel with no midi and audio device set (Fixes bug #22)

Revision 1.21 / (as text) / (view) - annotate - [select for diffs] , Wed Jun 22 21:09:28 2005 UTC (3 years, 6 months ago) by schoenebeck
Branch: MAIN
CVS Tags: release0_3_3, release0_3_2
Changes since 1.20: +43 -27 lines
Diff to previous 1.20
* update MIDI channel info on program change

Revision 1.20 / (as text) / (view) - annotate - [select for diffs] , Fri Jun 17 18:49:30 2005 UTC (3 years, 6 months ago) by schoenebeck
Branch: MAIN
Changes since 1.19: +5 -2 lines
Diff to previous 1.19
* LSCP server: fixed LSCP event "CHANNEL_INFO" notification
  (e.g. did not notify on volume changes)

Revision 1.19 / (as text) / (view) - annotate - [select for diffs] , Sat May 21 00:10:12 2005 UTC (3 years, 7 months ago) by schoenebeck
Branch: MAIN
CVS Tags: release0_3_1
Changes since 1.18: +4 -4 lines
Diff to previous 1.18
* Little LSCP API change: renamed events "CHANNELS" -> "CHANNEL_COUNT" and
  "INFO" -> "CHANNEL_INFO" to be more meaningful (patch by Grigor Iliev).

Revision 1.18 / (as text) / (view) - annotate - [select for diffs] , Tue May 17 17:16:54 2005 UTC (3 years, 7 months ago) by schoenebeck
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
* Implemented MIDI program change as general, engine independant solution.
  The program number will determine the sampler channel to which the MIDI
  device will be connected to and the given MIDI channel defines on which
  MIDI channel that sampler channel should listen to. Also the program
  change will disconnect probably established connection from the previous
  program change event.

Revision 1.17 / (as text) / (view) - annotate - [select for diffs] , Thu Mar 3 03:25:17 2005 UTC (3 years, 10 months ago) by schoenebeck
Branch: MAIN
Changes since 1.16: +4 -2 lines
Diff to previous 1.16
* fixed some segfaults (which occured on EngineChannel destruction)
* InstrumentResourceManager: recache small samples if their current
  number of silence sample points are not sufficient enough for the used
  audio output device
* src/linuxsampler.cpp: voice / streams statistics on the console is back
  again (can be turned on with command line switch --statistics)

Revision 1.16 / (as text) / (view) - annotate - [select for diffs] , Sat Feb 26 22:44:51 2005 UTC (3 years, 10 months ago) by schoenebeck
Branch: MAIN
Changes since 1.15: +11 -5 lines
Diff to previous 1.15
* gig::Engine: fixed silence (engine channels' events were not imported
  into the engine, fixed undesired creation of new gig::Engine instances
  (and disk threads)
* AudioOutputDevice: reverted behavior to render per Engine instance (and
  not per EngineChannel instance)

Revision 1.15 / (as text) / (view) - annotate - [select for diffs] , Sat Feb 26 02:01:14 2005 UTC (3 years, 10 months ago) by schoenebeck
Branch: MAIN
Changes since 1.14: +26 -31 lines
Diff to previous 1.14
* design change: using now one sampler engine instance and one disk thread
  instance for all sampler channels that are connected to the same audio
  output device (and are using the same engine type of course)
* added EngineFactory / EngineChannelFactory to remove the annoying build
  dependencies e.g. of the lscpserver to the actual sampler engine
  implementations
* bumped version to 0.3.0 (current CVS state is still quite broken,
  previous, stable CVS version was tagged as "v0_2_0" and is also available
  as source tarball)

Revision 1.14 / (as text) / (view) - annotate - [select for diffs] , Sun Feb 6 21:01:38 2005 UTC (3 years, 11 months ago) by senkov
Branch: MAIN
CVS Tags: v0_2_0
Changes since 1.13: +5 -0 lines
Diff to previous 1.13
* Added implementation for NOTIFY:CHANNELS event

Revision 1.13 / (as text) / (view) - annotate - [select for diffs] , Tue Dec 28 09:43:03 2004 UTC (4 years ago) by senkov
Branch: MAIN
Changes since 1.12: +12 -9 lines
Diff to previous 1.12
* Fixes for engine reloading. Fixed streaming bugs in some
 cases only, most probably not all yet.

Revision 1.12 / (as text) / (view) - annotate - [select for diffs] , Fri Aug 20 16:25:19 2004 UTC (4 years, 4 months ago) by schoenebeck
Branch: MAIN
Changes since 1.11: +13 -13 lines
Diff to previous 1.11
* src/drivers/midi/MidiInputDeviceAlsa.cpp: implemented port parameter
 "NAME" which now updates the registered ALSA seq port name as well, fixed
  port parameter "ALSA_SEQ_BINDINGS" to allow more than one binding
* src/network/lscp.y: fixed symbol STRINGVAL (that is strings encapsulated
  into apostrophes) which didn't allow space characters
* changed all driver names and driver paramaters to upper case
* fixed typo in LSCP documentation
  (section 5.3.12, was: "SET MIDI_INPUT_PORT PARAMETER",
   should be: "SET MIDI_INPUT_PORT_PARAMETER")

Revision 1.11 / (as text) / (view) - annotate - [select for diffs] , Wed Jul 28 13:17:29 2004 UTC (4 years, 5 months ago) by schoenebeck
Branch: MAIN
Changes since 1.10: +41 -25 lines
Diff to previous 1.10
* 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"

Revision 1.10 / (as text) / (view) - annotate - [select for diffs] , Sat Jul 17 23:29:39 2004 UTC (4 years, 5 months ago) by schoenebeck
Branch: MAIN
Changes since 1.9: +43 -16 lines
Diff to previous 1.9
* src/Sampler.cpp: changed sampler channel index allocation from consistent
channel index allocation to incrementing channel index allocation, that is
it doesn't fill channel index gaps anymore (to avoid race conditions)
* implemented "LIST CHANNELS" LSCP command

Revision 1.9 / (as text) / (view) - annotate - [select for diffs] , Tue Jul 13 21:44:13 2004 UTC (4 years, 5 months ago) by schoenebeck
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8
forgot to change some things which was mandatory due to the recent
directory movements ('/src/audiodriver' -> '/src/drivers/audio',
'/src/mididriver' -> '/src/drivers/midi')

Revision 1.8 / (as text) / (view) - annotate - [select for diffs] , Tue Jul 6 03:41:23 2004 UTC (4 years, 6 months ago) by senkov
Branch: MAIN
Changes since 1.7: +0 -6 lines
Diff to previous 1.7
This goes with the previous commit.
Forgot to commit this file previously.

Revision 1.7 / (as text) / (view) - annotate - [select for diffs] , Tue Jun 29 20:11:50 2004 UTC (4 years, 6 months ago) by capela
Branch: MAIN
Changes since 1.6: +47 -21 lines
Diff to previous 1.6
* Unconsolidaded MIDI input related channel commands are back:
  SET CHANNEL MIDI_INPUT_DEVICE <chan> <midi-device>
  SET CHANNEL MIDI_INPUT_PORT <chan> <midi-port>
  SET CHANNEL MIDI_INPUT_CHANNEL <chan> <midi-chan>

* Still useful for compability with legacy clients, an almost
  deprecated command gets re-implemented:
  SET CHANNEL MIDI_INPUT_TYPE <chan> <midi-driver>

* Optional parameter list on MIDI input device creation fixed,
  but not quite fully effective yet:
  CREATE MIDI_INPUT_DEVICE <midi-driver> [<key>=<val>...]

Revision 1.6 / (as text) / (view) - annotate - [select for diffs] , Mon Jun 28 03:30:11 2004 UTC (4 years, 6 months ago) by senkov
Branch: MAIN
Changes since 1.5: +65 -38 lines
Diff to previous 1.5
* Updated parser, lscp server and sampler class for new MIDI_INPUT
* Minor fixes (and major new bugs) here and there
* Consolidated 3 SET CHANNEL MIDI_xxx commands into one:
SET CHANNEL MIDI_INPUT

Revision 1.5 / (as text) / (view) - annotate - [select for diffs] , Mon Jun 14 18:33:16 2004 UTC (4 years, 6 months ago) by schoenebeck
Branch: MAIN
Changes since 1.4: +43 -29 lines
Diff to previous 1.4
* 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

Revision 1.4 / (as text) / (view) - annotate - [select for diffs] , Fri May 14 18:10:21 2004 UTC (4 years, 7 months ago) by senkov
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3
fix small make problem when jack is not installed

Revision 1.3 / (as text) / (view) - annotate - [select for diffs] , Thu May 6 19:06:20 2004 UTC (4 years, 8 months ago) by schoenebeck
Branch: MAIN
Changes since 1.2: +20 -14 lines
Diff to previous 1.2
* src/Sampler.cpp: fixed 3 stupid but fatal bugs that left in the rush (in
  method SamplerChannels(), CreateAudioOutputDevice() and
  CreateMidiInputDevice())
* src/network/lscpserver.cpp: implemented LSCP command
  'SET CHANNEL MIDI_INPUT_CHANNEL'
* src/Sampler.h: moved enums 'audio_output_type_t', 'midi_input_type_t'
  and 'engine_type_t' into the respective base classes
  ('AudioOutputDevice', 'MidiInputDevice', 'Engine')

Revision 1.2 / (as text) / (view) - annotate - [select for diffs] , Mon May 3 18:29:44 2004 UTC (4 years, 8 months ago) by schoenebeck
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
forgot to update copyright header for 2004 for following files:
src/linuxsampler.cpp,
src/Sampler.h,
src/Sampler.cpp,
src/network/lscpscanner.cpp

Revision 1.1 / (as text) / (view) - annotate - [select for diffs] , Mon Apr 26 16:15:50 2004 UTC (4 years, 8 months ago) by schoenebeck
Branch: MAIN
* completely restructured source tree
* implemented multi channel support
* implemented instrument manager, which controls sharing of instruments
  between multiple sampler engines / sampler channels
* created abstract classes 'AudioOutputDevice' and 'MidiInputDevice' for
  convenient implementation of further audio output driver and MIDI input
  driver for LinuxSampler
* implemented following LSCP commands: 'SET CHANNEL MIDI INPUT TYPE',
  'LOAD ENGINE', 'GET CHANNELS', 'ADD CHANNEL', 'REMOVE CHANNEL',
  'SET CHANNEL AUDIO OUTPUT TYPE'
* temporarily removed all command line options
* LSCP server is now launched by default

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

LinuxSampler Developers
Powered by
ViewCVS