[pulseaudio-discuss] [PATCH v2 0/3] Rate update fixes

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue Aug 27 02:11:53 PDT 2013


Changes in v2:
 - Some patches have been already applied, so they're not included
   here any more
 - Hopefully clearer code for handling monitor source rate updates
 - New patch that changes the return value from bool to int for rate
   update functions

The original blurb from v1:

While investigating a bug[1], I found several bugs in the rate update
code related to monitor sources. This should make things work
properly for non-passthrough streams. Things are probably still broken
for passthrough streams, but that's a complex topic that I don't want
to spend time on at the moment.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=66424

Tanu Kaskinen (3):
  source: Fix monitor source rate changing
  source: When updating a monitor source's rate, update the sink rate
    too
  sink, source: Fix error reporting style for rate updates

 src/modules/alsa/alsa-sink.c   |  8 ++---
 src/modules/alsa/alsa-source.c |  8 ++---
 src/pulsecore/sink-input.c     |  4 +--
 src/pulsecore/sink.c           | 24 +++++++--------
 src/pulsecore/sink.h           |  4 +--
 src/pulsecore/source-output.c  |  4 +--
 src/pulsecore/source.c         | 68 ++++++++++++++++++++++++++++++++----------
 src/pulsecore/source.h         |  4 +--
 8 files changed, 81 insertions(+), 43 deletions(-)

-- 
1.8.1.2



More information about the pulseaudio-discuss mailing list