~ubuntu-branches/ubuntu/hardy/lmms/hardy

« back to all changes in this revision

Viewing changes to plugins/vst_base/lvsl_client.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2007-12-13 15:18:02 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071213151802-f0my03t6wq0pzaci
Tags: 0.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Remove libwine-dev alternative in the Build-Depends.
  - Update maintainer field as per spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
382
382
{
383
383
        lock();
384
384
        writeValueS<Sint16>( VST_ENQUEUE_MIDI_EVENT );
385
 
        writeValueS<midiEvent>( _event );
 
385
 
 
386
        writeValueS<midiEventTypes>( _event.m_type );
 
387
        writeValueS<Sint8>( _event.m_channel );
 
388
        writeValueS<Uint16>( _event.m_data.m_param[0] );
 
389
        writeValueS<Uint16>( _event.m_data.m_param[1] );
 
390
 
386
391
        writeValueS<f_cnt_t>( _frames_ahead );
387
392
        unlock();
388
393
}
578
583
                case VST_SHM_KEY_AND_SIZE:
579
584
                {
580
585
                        Uint16 shm_key = readValueS<Uint16>();
581
 
                        size_t shm_size = readValueS<size_t>();
 
586
                        size_t shm_size = readValueS<Uint32>();
582
587
                        setShmKeyAndSize( shm_key, shm_size );
583
588
                        break;
584
589
                }