Skip to content
Snippets Groups Projects
  1. Dec 07, 2012
  2. Dec 05, 2012
  3. Dec 04, 2012
    • Mikel Astiz's avatar
      bluetooth: Request headset audio during profile switch · bbb47c67
      Mikel Astiz authored and Tanu Kaskinen's avatar Tanu Kaskinen committed
      When a headset is having a profile switch, we can either leave the
      SCO state unmodified (as it was before this patch) or we can
      alternatively request it (as older versions of PA).
      
      This patch tries to avoid a potential regression in case a module
      such as module-suspend-on-idle is not present, due to the provided
      resume-on-running policy. Without this patch, and without such a policy,
      the sink and sources would stay suspended until the user manually
      performed another profile switch (i.e. hsp->off->hsp).
      
      There are several other solutions currently being discussed as a longer
      term solution, some of which require extendind the core. This patch is
      therefore proposed as a short-term workaround to avoid the regression.
      bbb47c67
    • Mikel Astiz's avatar
      bluetooth: Do not setup stream before thread starts · 01435e61
      Mikel Astiz authored and Tanu Kaskinen's avatar Tanu Kaskinen committed
      bt_transport_acquire() might get called from the main thread, in case
      the IO thread hasn't been started yet. In this case, we should not call
      setup_stream() since this is going to be called in the beginning of
      thread_func().
      01435e61
    • Mikel Astiz's avatar
      bluetooth: Trivially refactor to call setup_stream() directly · 1dcdb96e
      Mikel Astiz authored and Tanu Kaskinen's avatar Tanu Kaskinen committed
      If the transport is already acquired and the stream needs to be started,
      call setup_stream() directly instead of bt_transport_acquire(u, TRUE).
      Both calls are identical in these conditions, with the exception of the
      log trace which has now been moved to setup_stream().
      1dcdb96e
  4. Nov 29, 2012
  5. Nov 22, 2012
  6. Nov 20, 2012
  7. Nov 19, 2012
  8. Nov 17, 2012
  9. Nov 16, 2012
  10. Nov 15, 2012
  11. Nov 14, 2012
  12. Nov 12, 2012
  13. Nov 09, 2012
  14. Nov 08, 2012
    • Tanu Kaskinen's avatar
      pulse: Fix hole handling in pa_stream_peek(). · dfd44036
      Tanu Kaskinen authored and David Henningsson's avatar David Henningsson committed
      Previously, if there was a hole in a recording stream,
      pa_stream_peek() would crash. Holes could be handled silently inside
      pa_stream_peek() by generating silence (wouldn't work for compressed
      streams, though) or by skipping any holes. However, I think it's
      better to let the caller decide how the holes should be handled, so
      in case of holes, pa_stream_peek() will return NULL data pointer and
      the length of the hole in the nbytes argument.
      
      This change is technically an interface break, because previously the
      documentation didn't mention the possibility of holes that need
      special handling. However, since holes caused crashing anyway in the
      past, it's not a regression if applications keep misbehaving due to
      not handing holes properly.
      
      Some words about when holes can appear in recording streams: I think
      it would be reasonable behavior if overruns due to the application
      reading data too slowly would cause holes. Currently that's not the
      case - overruns will just cause audio to be skipped. But the point is
      that this might change some day. I'm not sure how holes can occur
      with the current code, but as the linked bug shows, they can happen.
      It's most likely due to recording from a monitor source where the
      thing being monitored has holes in its playback stream.
      
      BugLink: http://bugs.launchpad.net/bugs/1058200
      dfd44036
    • Arun Raghavan's avatar
      introspect: Minor documentation fix · 38c650dc
      Arun Raghavan authored
      s/pa_latency_info/pa_timing_info
      38c650dc
  15. Nov 07, 2012
  16. Nov 05, 2012
Loading