1. 24 Sep, 2010 3 commits
  2. 07 Sep, 2010 1 commit
    • Wim Taymans's avatar
      baseaudio: avoid taking extra ref on sink/src · 24226284
      Wim Taymans authored
      Don't take an extra ref on the sink and source because that creates a reference
      cycle. Instead, use the invalidate method of the clock when the sink and source
      are freed. This way, we don't call into the time function anymore after the
      objects are disposed.
      24226284
  3. 04 Aug, 2010 1 commit
  4. 16 Jul, 2010 2 commits
  5. 03 Jun, 2010 2 commits
  6. 16 Mar, 2010 1 commit
  7. 20 Dec, 2009 1 commit
  8. 25 Nov, 2009 1 commit
    • Wim Taymans's avatar
      audiosink: add adjustement when slaving · 75c5aed1
      Wim Taymans authored
      Our calibration against the pipeline clock is done with the adjusted
      ringbuffer time, so take the adjustement into account. Fixes some audio dropouts
      when reusing audio sinks after switching clocks and slaving methods in a
      pipeline.
      75c5aed1
  9. 18 Nov, 2009 1 commit
    • Wim Taymans's avatar
      baseaudiosink: fix initial calibration · 0e6b9e59
      Wim Taymans authored
      When we are calibrating the internal clock against the external clock take into
      account the time offset applied to our internal clock because we will subtract
      that in the render_function again.
      0e6b9e59
  10. 04 Nov, 2009 1 commit
    • Wim Taymans's avatar
      baseaudiosink: make drift tolerance configurable · d8942e28
      Wim Taymans authored
      Add drift-tolerance property (defaulting to 20ms) to handle resync after clock
      drift or timestamp drift instead of relying on the latency-time value for clock
      drift and 500ms for timestamp drift.
      Remove warning about discont timestamp and simply resync. The warning is in some
      cases not correct and is triggered more frequently now that we lower the
      tolerance value.
      d8942e28
  11. 28 Oct, 2009 1 commit
    • Tim-Philipp Müller's avatar
      Remove GST_DEBUG_FUNCPTR where they're pointless · 6f4c1ac5
      Tim-Philipp Müller authored
      There's not much point in using GST_DEBUG_FUNCPTR with GObject
      virtual functions such as get_property, set_propery, finalize and
      dispose, since they'll never be used by anyone anyway. Saves a
      few bytes and possibly a sixteenth of a polar bear.
      6f4c1ac5
  12. 10 Sep, 2009 1 commit
  13. 09 Sep, 2009 2 commits
    • Wim Taymans's avatar
      baseaudiosink: take clock time in setcaps · 06be2b86
      Wim Taymans authored
      Take the time of the clock so that the last_time field is set. This is important
      for sinks that restart their internal ringbuffer after a caps change and need to
      know the last know position.
      06be2b86
    • Wim Taymans's avatar
      baseaudiosink: correct for clock reset · fe47c6c4
      Wim Taymans authored
      When going to NULL, we reset the ringbuffer so that it starts beck from 0. We
      also make sure that the clock is updated with the elapsed time so that it
      alsways increments even when the ringbuffer goes back to 0. When this happened
      we need to adjust the sample position for the reset ringbuffer.
      
      Fixes #594136
      fe47c6c4
  14. 17 Jun, 2009 1 commit
  15. 11 Jun, 2009 1 commit
  16. 09 Jun, 2009 1 commit
  17. 08 Jun, 2009 1 commit
  18. 26 May, 2009 1 commit
  19. 21 May, 2009 1 commit
  20. 19 May, 2009 1 commit
  21. 29 Apr, 2009 2 commits
  22. 28 Apr, 2009 2 commits
  23. 17 Apr, 2009 1 commit
  24. 14 Apr, 2009 2 commits
  25. 10 Apr, 2009 1 commit
  26. 08 Apr, 2009 1 commit
    • Wim Taymans's avatar
      baseaudiosink: fix a small glitch after pause · cae2981f
      Wim Taymans authored
      After we pause the stream and interrupt the writeout to the ringbuffer, also adjust
      the amount of output samples we consumed. We can't do this reliably with the
      current API when we are doing trick modes but we can do the right thing for
      normal playback.
      cae2981f
  27. 05 Jan, 2009 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Avoid holding the OBJECT_LOCK when... · 0a4c1bc6
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosink.c: Avoid holding the OBJECT_LOCK when calling ringbuffer functions that take the ...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_change_state):
      Avoid holding the OBJECT_LOCK when calling ringbuffer functions that
      take the ringbuffer lock because rinbuffer lock > OBJECT_LOCK. We can do
      this because the async_play method is deprecated and usually not called
      anymore.
      0a4c1bc6
  28. 20 Dec, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Pause the write thread before... · a579eba7
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosink.c: Pause the write thread before deactivating and releasing the ringbuffer to avo...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_setcaps):
      Pause the write thread before deactivating and releasing the ringbuffer
      to avoid a deadlock when we do gapless playback with different sample
      rates in playbin2.  Fixes #564929.
      a579eba7
  29. 13 Dec, 2008 1 commit
    • Sebastian Dröge's avatar
      gst-libs/gst/audio/: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to... · 04d9ff9a
      Sebastian Dröge authored
      gst-libs/gst/audio/: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the public API. This is needed for the C...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_slave_method_get_type),
      (gst_base_audio_sink_class_init):
      * gst-libs/gst/audio/gstbaseaudiosink.h:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_slave_method_get_type),
      (gst_base_audio_src_class_init):
      * gst-libs/gst/audio/gstbaseaudiosrc.h:
      API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the
      public API. This is needed for the C++ bindings to be able
      to use this base classes. Fixes bug #564200, #564206.
      04d9ff9a
  30. 25 Nov, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Really fix audiosink drain handling by... · 6983c1c8
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosink.c: Really fix audiosink drain handling by keeping track of the running_time of th...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_drain), (gst_base_audio_sink_event),
      (gst_base_audio_sink_sync_latency), (gst_base_audio_sink_render),
      (gst_base_audio_sink_change_state):
      Really fix audiosink drain handling by keeping track of the running_time
      of the last sample.
      6983c1c8
  31. 24 Nov, 2008 2 commits
    • Stefan Kost's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Time is already in running_time. Remove... · a8264f66
      Stefan Kost authored
      gst-libs/gst/audio/gstbaseaudiosink.c: Time is already in running_time. Remove base_time handling. Fixes audiosinks n...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      Time is already in running_time. Remove base_time handling. Fixes
      audiosinks not draining and thus chopping some audio in the end.
      a8264f66
    • Stefan Kost's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Add one log message to check for... · 7f937c99
      Stefan Kost authored
      gst-libs/gst/audio/gstbaseaudiosink.c: Add one log message to check for audio_drained. Sync one log message with the ...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      Add one log message to check for audio_drained. Sync one log message
      with the condition. Send EOS after draining audio in pull mode.
      7f937c99