]> code.delx.au - pulseaudio/commit
core-format: Add pa_format_info_get_channels()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 25 Nov 2013 12:51:37 +0000 (14:51 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 8 Jan 2014 19:26:39 +0000 (21:26 +0200)
commit066dd942aa1855f1a05d1352b13dd540fa0c033f
treecda1f423aaa6d85193788f199db5578270de946f
parent85a3f560d1089ad595cde6181a88cb1e72423e49
core-format: Add pa_format_info_get_channels()

This also fixes an issue in pa_format_info_to_sample_spec(): it did
no validation for the channels value. Now the validation is taken care
of in pa_format_info_get_channels().
src/pulse/format.c
src/pulsecore/core-format.c
src/pulsecore/core-format.h