sink-input: Don't assert on bad formats
commit13229fb39e7b8cff3f114c98f8236d9123442243
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 2 Mar 2011 05:46:07 +0000 (2 11:16 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 2 May 2011 06:24:48 +0000 (2 11:54 +0530)
treec411d776fabb3abb1c6a42dd83af69144f58c653
parent8ec0548f5f4c7ce3213e4639722d9cb78fc13b90
sink-input: Don't assert on bad formats

Handles bad format input more gracefully and returns an error instead.
src/pulse/format.c
src/pulse/internal.h
src/pulsecore/sink-input.c