Parent Directory | Revision Log | Patch
revision 554 by schoenebeck, Thu May 19 19:25:14 2005 UTC | revision 563 by schoenebeck, Sun May 22 20:43:32 2005 UTC | |
---|---|---|
# | Line 88 namespace LinuxSampler { namespace gig { | Line 88 namespace LinuxSampler { namespace gig { |
88 | void SetEngine(Engine* pEngine); | void SetEngine(Engine* pEngine); |
89 | int Trigger(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent, int PitchBend, ::gig::Instrument* pInstrument, int iLayer, bool ReleaseTriggerVoice, bool VoiceStealingAllowed); | int Trigger(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent, int PitchBend, ::gig::Instrument* pInstrument, int iLayer, bool ReleaseTriggerVoice, bool VoiceStealingAllowed); |
90 | inline bool IsActive() { return PlaybackState; } | inline bool IsActive() { return PlaybackState; } |
91 | inline bool hasRendered() { return PlaybackState >= playback_state_ram; } | |
92 | //private: | //private: |
93 | // Types | // Types |
94 | enum playback_state_t { | enum playback_state_t { |
95 | playback_state_end = 0, | playback_state_end = 0, |
96 | playback_state_ram = 1, | playback_state_init = 1, |
97 | playback_state_disk = 2 | playback_state_ram = 2, |
98 | playback_state_disk = 3 | |
99 | }; | }; |
100 | ||
101 | // Attributes | // Attributes |
|
ViewVC Help | |
Powered by ViewVC |