13
0

Fix some mangled whitespace (noop).

This commit is contained in:
David Robillard 2014-12-30 14:41:22 -05:00
parent a85827da1c
commit c35e94a3c8
15 changed files with 106 additions and 104 deletions

View File

@ -128,8 +128,10 @@ class LIBARDOUR_API MidiDiskstream : public Diskstream
int seek (framepos_t which_sample, bool complete_refill = false); int seek (framepos_t which_sample, bool complete_refill = false);
int process (BufferSet&, framepos_t transport_frame, pframes_t nframes, framecnt_t &, bool need_diskstream); int process (BufferSet&, framepos_t transport_frame, pframes_t nframes, framecnt_t &, bool need_diskstream);
frameoffset_t calculate_playback_distance (pframes_t nframes); frameoffset_t calculate_playback_distance (pframes_t nframes);
bool commit (framecnt_t nframes); bool commit (framecnt_t nframes);
static framecnt_t midi_readahead; static framecnt_t midi_readahead;
private: private:

View File

@ -48,6 +48,7 @@ class MIDISceneChanger : public SceneChanger
/** Signal emitted whenever any relevant MIDI input is detected. /** Signal emitted whenever any relevant MIDI input is detected.
*/ */
PBD::Signal0<void> MIDIInputActivity; PBD::Signal0<void> MIDIInputActivity;
/** Signal emitted whenever any relevant MIDI output is sent. /** Signal emitted whenever any relevant MIDI output is sent.
*/ */
PBD::Signal0<void> MIDIOutputActivity; PBD::Signal0<void> MIDIOutputActivity;

View File

@ -46,8 +46,7 @@ public:
double internal_to_user (double i) const { return accurate_coefficient_to_dB (i);} double internal_to_user (double i) const { return accurate_coefficient_to_dB (i);}
double user_to_internal (double u) const { return dB_to_coefficient(u) ;} double user_to_internal (double u) const { return dB_to_coefficient(u) ;}
std::string get_user_string () const std::string get_user_string () const {
{
char theBuf[32]; sprintf( theBuf, "%3.1f dB", accurate_coefficient_to_dB (get_value())); char theBuf[32]; sprintf( theBuf, "%3.1f dB", accurate_coefficient_to_dB (get_value()));
return std::string(theBuf); return std::string(theBuf);
} }

View File

@ -43,7 +43,7 @@ class SceneChange : public PBD::Stateful
PBD::Signal0<void> ColorChanged; PBD::Signal0<void> ColorChanged;
protected: protected:
/* derived classes are responsible for serializing & deserializing this value */ /* derived classes are responsible for serializing & deserializing this value */
uint32_t _color; uint32_t _color;

View File

@ -180,7 +180,7 @@ MidiModel::NoteDiffCommand::get_value (const NotePtr note, Property prop)
return Variant(note->length()); return Variant(note->length());
} }
return Variant (); return Variant();
} }
Variant::Type Variant::Type

View File

@ -63,7 +63,7 @@ Transform::Value::eval(const Context& ctx) const
return Variant(g_random_double()); return Variant(g_random_double());
} }
return Variant (); return Variant();
} }
void void