WS: crash bugfix related to missing strip panner

Surface made Ardour crash when a client connected
and some session track was not a VCA nor had a panner,
like MIDI strips.
This commit is contained in:
Luciano Iam 2020-09-01 22:28:00 +02:00 committed by Robin Gareus
parent 7a9d4b1f64
commit 9c08c058a3
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
5 changed files with 18 additions and 30 deletions

View file

@ -83,14 +83,13 @@ public:
double gain () const;
void set_gain (double);
bool has_pan () const;
double pan () const;
void set_pan (double);
bool mute () const;
void set_mute (bool);
bool is_vca () const;
std::string name () const;
float meter_level_db () const;