Mercurial > hg > svcore
comparison plugin/plugins/SamplePlayer.h @ 1429:48e9f538e6e9
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 9a6b50d3cc50 |
children | ad5f892c0c4d |
comparison
equal
deleted
inserted
replaced
1428:87ae75da6527 | 1429:48e9f538e6e9 |
---|---|
35 private: | 35 private: |
36 SamplePlayer(int sampleRate); | 36 SamplePlayer(int sampleRate); |
37 ~SamplePlayer(); | 37 ~SamplePlayer(); |
38 | 38 |
39 enum { | 39 enum { |
40 OutputPort = 0, | 40 OutputPort = 0, |
41 RetunePort = 1, | 41 RetunePort = 1, |
42 BasePitchPort = 2, | 42 BasePitchPort = 2, |
43 ConcertAPort = 3, | 43 ConcertAPort = 3, |
44 SustainPort = 4, | 44 SustainPort = 4, |
45 ReleasePort = 5, | 45 ReleasePort = 5, |
46 PortCount = 6 | 46 PortCount = 6 |
47 }; | 47 }; |
48 | 48 |
49 enum { | 49 enum { |
50 Polyphony = 128 | 50 Polyphony = 128 |
51 }; | 51 }; |
52 | 52 |
53 static const char *const portNames[PortCount]; | 53 static const char *const portNames[PortCount]; |
54 static const LADSPA_PortDescriptor ports[PortCount]; | 54 static const LADSPA_PortDescriptor ports[PortCount]; |
55 static const LADSPA_PortRangeHint hints[PortCount]; | 55 static const LADSPA_PortRangeHint hints[PortCount]; |
67 static char *configure(LADSPA_Handle, const char *, const char *); | 67 static char *configure(LADSPA_Handle, const char *, const char *); |
68 static const DSSI_Program_Descriptor *getProgram(LADSPA_Handle, unsigned long); | 68 static const DSSI_Program_Descriptor *getProgram(LADSPA_Handle, unsigned long); |
69 static void selectProgram(LADSPA_Handle, unsigned long, unsigned long); | 69 static void selectProgram(LADSPA_Handle, unsigned long, unsigned long); |
70 static int getMidiController(LADSPA_Handle, unsigned long); | 70 static int getMidiController(LADSPA_Handle, unsigned long); |
71 static void runSynth(LADSPA_Handle, unsigned long, | 71 static void runSynth(LADSPA_Handle, unsigned long, |
72 snd_seq_event_t *, unsigned long); | 72 snd_seq_event_t *, unsigned long); |
73 static void receiveHostDescriptor(const DSSI_Host_Descriptor *descriptor); | 73 static void receiveHostDescriptor(const DSSI_Host_Descriptor *descriptor); |
74 static void workThreadCallback(LADSPA_Handle); | 74 static void workThreadCallback(LADSPA_Handle); |
75 | 75 |
76 void searchSamples(); | 76 void searchSamples(); |
77 void loadSampleData(QString path); | 77 void loadSampleData(QString path); |