]> code.delx.au - pulseaudio/commit
core: Add extended stream API to support compressed formats
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 28 Feb 2011 07:53:23 +0000 (13:23 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 2 May 2011 06:24:43 +0000 (11:54 +0530)
commit0ac2cfce6d1a3d7ab5af6aca659e46625c32d3c4
tree584ac3a49636412d2ff3c53608050c4042b6af6f
parent47e0f91aa2ca6eb3ea8b7be8aa03cd03a28c3fbe
core: Add extended stream API to support compressed formats

This is the beginning of work to support compressed formats natively in
PulseAudio. This adds a pa_stream_new_extended() that takes a format
structure, sends it to the server (=> protocol extension) and has the
server negotiate with the appropropriate sink to figure out what format
it should use.

This is work in progress, and works only with PCM streams. Actual
compressed format support in some sink needs to be implemented, and
extensive testing is required.

More details on how this is supposed to work is available at:
http://pulseaudio.org/wiki/PassthroughSupport
25 files changed:
PROTOCOL
configure.ac
src/map-file
src/modules/echo-cancel/module-echo-cancel.c
src/modules/module-combine-sink.c
src/modules/module-device-manager.c
src/modules/module-equalizer-sink.c
src/modules/module-intended-roles.c
src/modules/module-ladspa-sink.c
src/modules/module-loopback.c
src/modules/module-remap-sink.c
src/modules/module-sine.c
src/modules/module-stream-restore.c
src/modules/module-virtual-sink.c
src/modules/rtp/module-rtp-recv.c
src/pulse/internal.h
src/pulse/stream.c
src/pulse/stream.h
src/pulsecore/play-memblockq.c
src/pulsecore/protocol-esound.c
src/pulsecore/protocol-native.c
src/pulsecore/protocol-simple.c
src/pulsecore/sink-input.c
src/pulsecore/sink-input.h
src/pulsecore/sound-file-stream.c