Logo Search packages:      
Sourcecode: jack-mixer version File versions  Download package

def channel::Channel::serialize (   self,
  object_backend 
)

Serialize properties of called object into supplied serialization_object_backend

Reimplemented from serialization::SerializedObject.

Definition at line 233 of file channel.py.

00233                                        :
        object_backend.add_property("volume", "%f" % self.slider_adjustment.get_value_db())
        object_backend.add_property("balance", "%f" % self.balance_adjustment.get_value())

        if self.channel.volume_midi_cc:
            object_backend.add_property('volume_midi_cc', str(self.channel.volume_midi_cc))
        if self.channel.balance_midi_cc:
            object_backend.add_property('balance_midi_cc', str(self.channel.balance_midi_cc))

    def unserialize_property(self, name, value):


Generated by  Doxygen 1.6.0   Back to index