~listen-devel/listen/devel

« back to all changes in this revision

Viewing changes to src/player/fadebin.py

  • Committer: Abaakouk Mehdi
  • Date: 2010-09-30 10:42:51 UTC
  • Revision ID: theli48@gmail.com-20100930104251-eucifc6fzmybff9g
Fixed mispelling

Show diffs side-by-side

added added

removed removed

Lines of Context:
1479
1479
        vol = self.__volume.get_property("volume")
1480
1480
        if self.state == FADING_IN:
1481
1481
            if vol > (self.fade_end - EPSILON) and self.fading :
1482
 
                self.logdebug("stream %s fully faded in (at %f) -> PLAYING state", stream.cutted_uri, vol)
 
1482
                self.logdebug("stream %s fully faded in (at %f) -> PLAYING state", self.cutted_uri, vol)
1483
1483
                #message = "FADE_IN_DONE_MESSAGE" # not used for now
1484
1484
                self.fading = False
1485
1485
                self.state = PLAYING
1497
1497
        self.lock.release()
1498
1498
        if message is not None:
1499
1499
            s = gst.Structure(message)
1500
 
            self.logdebug("posting %s message for stream %s", message, stream.cutted_uri)
 
1500
            self.logdebug("posting %s message for stream %s", message, self.cutted_uri)
1501
1501
            msg = gst.message_new_application(element, s)
1502
1502
            element.post_message(msg)
1503
1503
 
1866
1866
 
1867
1867
        if qformat != format : pos = 0.0
1868
1868
 
1869
 
        self.logdebug("fading stream %s: [%f, %f] to [%f, %f]", stream.cutted_uri, float(start), pos, float(end), pos + time )
 
1869
        self.logdebug("fading stream %s: [%f, %f] to [%f, %f]", self.cutted_uri, float(start), pos, float(end), pos + time )
1870
1870
 
1871
1871
        self.__volume.handler_block_by_func(self.__volume_changed_cb)
1872
1872