mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
sndfile: big rework of libsndfile interfacing code
This adds proper channel map handling when reading/writing audio files. This allows surround .WAV files to be played with the right channel setup automatically. This also merges paplay into pacat and adds recording into formatted files to pacat.
This commit is contained in:
parent
759a9d0cc5
commit
5c10b84e0f
11 changed files with 1259 additions and 921 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#include <pulse/channelmap.h>
|
||||
#include <pulsecore/memchunk.h>
|
||||
|
||||
int pa_sound_file_load(pa_mempool *pool, const char *fname, pa_sample_spec *ss, pa_channel_map *map, pa_memchunk *chunk);
|
||||
int pa_sound_file_load(pa_mempool *pool, const char *fname, pa_sample_spec *ss, pa_channel_map *map, pa_memchunk *chunk, pa_proplist *p);
|
||||
|
||||
int pa_sound_file_too_big_to_cache(const char *fname);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue