chiark / gitweb /
ALSA support for uniform audio. ALSA and OSS support now shares the
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Mar 2009 12:01:34 +0000 (12:01 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Mar 2009 12:01:34 +0000 (12:01 +0000)
commit4fd3886810d93a7d3d2c2505e8b9ac38df2430d1
treed8d7121bd5d315ce45e73851bfd4625609d41e87
parentb60e20be65fe684db425b30f51605492e33fbc9e
ALSA support for uniform audio.  ALSA and OSS support now shares the
threading work, which is split into a collecter and a player thread
communicating via a ring of buffers.

New uaudio_set_format() allows caller to declare what the sample format
will be, giving us flexibility to do things other than 16/44100/2
(although not tested with other formats).

Core audio uniform audio support now supports more sample formats, and
checks that the channel count and rate are right.  It doesn't
(currently) attempt to ask for different channel counts or rates.
clients/playrtp.c
lib/Makefile.am
lib/uaudio-alsa.c [new file with mode: 0644]
lib/uaudio-coreaudio.c
lib/uaudio-oss.c
lib/uaudio-thread.c [new file with mode: 0644]
lib/uaudio.c
lib/uaudio.h