1. 25 Nov, 2011 3 commits
  2. 11 Nov, 2011 3 commits
  3. 18 Oct, 2011 3 commits
  4. 19 Sep, 2011 1 commit
    • Arun Raghavan's avatar
      pulse: New pulseaudiosink element to handle format changes · 8ca420f5
      Arun Raghavan authored
      This introduces a new bin which wraps around pulsesink and depending on
      the formats supported by the sink, plugs in/out a decodebin2 as
      required. This allows users to switch sinks on the stream and adapts
      accordingly (for example, you could watch a movie in passthrough mode on
      your receiver which supports AC3 decode, then plug out and switch to a
      non-digital profile to continue uninterrupted on analog output).
      
      The bin is required because doing the same with playbin2/playsink will
      require API changes that cannot be made in 0.10. With 0.11/1.0, we
      should be able to ask for upstream caps renegotiation to deal with all
      this.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=657179
      8ca420f5
  5. 23 Aug, 2011 1 commit
  6. 19 Aug, 2011 1 commit
  7. 29 Jul, 2011 1 commit
  8. 28 Jul, 2011 3 commits
    • Arun Raghavan's avatar
      pulsesink: Add support for compressed formats · ac7cad43
      Arun Raghavan authored
      This adds support for various compressed formats (AC3, E-AC3, DTS and
      MP3) payloaded in IEC 61937 format (used for transmission over S/PDIF,
      HDMI and Bluetooth).
      
      The acceptcaps() function allows bins to probe for what formats the sink
      being connected to support. This only works after the element is set to
      at least READY.
      
      If the underlying sink changes and the format we are streaming is not
      available, we emit a message that will allow upstream elements/bins to
      block and renegotiate a new format.
      ac7cad43
    • Arun Raghavan's avatar
      pulsesink: Use the extended stream API if available · a67b5367
      Arun Raghavan authored
      This uses the new extended API for creating streams. This will allow us
      to support compressed formats natively in pulsesink as well.
      a67b5367
    • Arun Raghavan's avatar
      pulsesrc: Add a source-output-index property · 37904980
      Arun Raghavan authored
      This exposes the source output index of the record stream that we open
      so that clients can use this with the introspection if they want (to
      move the stream, for example).
      37904980
  9. 18 Jul, 2011 1 commit
  10. 05 Jul, 2011 3 commits
    • René Stadler's avatar
      pulsesink: prevent race condition causing ref leak · ae87731d
      René Stadler authored
      Since commit 8bfd80, gst_pulseringbuffer_stop doesn't wait for the
      deferred call to be run before returning. This causes a race when
      READY->NULL is executed shortly after, which stops the mainloop. This
      leaks the element reference which is passed as userdata for the callback
      (introduced in commit 7cf996, bug #614765).
      
      The correct fix is to wait in READY->NULL for all outstanding calls to
      be fired (since libpulse doesn't provide a DestroyNotify for the
      userdata). We get rid of the reference passing from 7cf996 altogether,
      since finalization from the callback would anyways lead to a deadlock.
      
      Re-fixes bug #614765.
      ae87731d
    • René Stadler's avatar
      f8456e2a
    • René Stadler's avatar
      pulsesink: remove unused member variable and misleading log message · 3589cee7
      René Stadler authored
      Wim changed it in commit 8bfd80 so that pa_defer_ran is not read
      anywhere.
      
      The log message used to annotate a mainloop_wait call which is gone.
      3589cee7
  11. 04 Jul, 2011 1 commit
    • David Schleef's avatar
      pulse: Increase ranks to PRIMARY + 10 · f69dcaab
      David Schleef authored
      So that pulsesrc/pulsesink get chosen over other possible PRIMARY
      src/sinks by autoaudiosink.  Presumably, if pulse is available, it
      is always preferred over another src/sink.
      
      Fixes: #647540.
      f69dcaab
  12. 21 Jun, 2011 1 commit
    • Arun Raghavan's avatar
      pulse: Drop support for PA versions before 0.9.16 · 04786a6d
      Arun Raghavan authored
      This drops support fof PulseAudio versions prior to 0.9.16, which was
      released about 1.5 years ago. Testing with very old versions is not
      feasible and we don't want to maintain 2 independent code-paths.
      04786a6d
  13. 15 Jun, 2011 1 commit
  14. 16 May, 2011 1 commit
  15. 16 Apr, 2011 2 commits
    • Tim-Philipp Müller's avatar
      pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling · f3259353
      Tim-Philipp Müller authored
      Don't use g_assert() for error handling, even if they're highly unlikely.
      Either we *know* that something can't happen, in which case we
      should just not handle it, or we think something can happen, but it is
      very very unlikely that it will ever happen, in which case we should
      handle it like any other error instead of asserting.
      
      g_assert() is best left for conditions we have control of, like checking
      internal consistency of our code, not checking return values of external
      code.
      
      Fixes a bunch of warnings when compiling with -DG_DISABLE_ASSERT:
      gstrtpgsmpay.c: In function 'gst_rtp_gsm_pay_handle_buffer':
      gstrtpgsmpay.c:130:17: warning: variable 'rtpgsmpay' set but not used
      gstspeexenc.c: In function 'gst_speex_enc_encode':
      gstspeexenc.c:904:19: warning: variable 'written' set but not used
      pulsesink.c: In function 'gst_pulsesink_change_state':
      pulsesink.c:2725:9: warning: variable 'res' set but not used
      pulsesrc.c: In function 'gst_pulsesrc_change_state':
      pulsesrc.c:1253:7: warning: variable 'e' set but not used
      f3259353
    • Robert Swain's avatar
      jpegenc: pulsesink: raw1394: Address unused but set variables · 098cf89e
      Robert Swain authored
      GCC 4.6.x spits warnings about such usage of variables. The variables in
      raw1394 were marked with G_GNUC_UNUSED as this seemed omre appropriate.
      The others were removed.
      098cf89e
  16. 08 Apr, 2011 1 commit
  17. 04 Apr, 2011 1 commit
  18. 31 Mar, 2011 1 commit
    • Mark Nauwelaerts's avatar
      pulsesink: also uncork during EOS waiting (and after EOS is rendered) · 176b8ffb
      Mark Nauwelaerts authored
      Pulsesink was recently changed to defer uncorking until there is data
      to write. This condition will however never occur when EOS in being
      rendered (since that marks the end of data). Changing to PAUSED state
      while EOS is being waited on results in a hang: pausing corks the
      stream, which will never be undone since there is no more data when
      going back to PLAYING. If pulsesink is the clock provider, deadlock
      ensues since time doesn't continue in corked state and the clock id
      for EOS wait never fires.
      
      Fixes #645961.
      176b8ffb
  19. 11 Mar, 2011 3 commits
  20. 04 Mar, 2011 2 commits
  21. 28 Feb, 2011 2 commits
  22. 31 Jan, 2011 1 commit
  23. 17 Jan, 2011 1 commit
  24. 11 Jan, 2011 1 commit
  25. 29 Dec, 2010 1 commit
    • Andy Wingo's avatar
      add "client" property · 82ee3537
      Andy Wingo authored
      * ext/pulse/pulsesrc.c (gst_pulsesrc_class_init, gst_pulsesrc_init)
        (gst_pulsesrc_set_property, gst_pulsesrc_get_property)
        (gst_pulsesrc_open): Add a "client" property, as in pulsesink.
      
      Fixes #634914
      82ee3537