when loading sound files, initialize channel map data properly

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@777 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-04-22 21:50:15 +00:00
parent 5e50f84e71
commit ec65ca6ae7
3 changed files with 10 additions and 5 deletions

View file

@ -23,9 +23,10 @@
***/
#include <polyp/sample.h>
#include <polyp/channelmap.h>
#include <polypcore/memchunk.h>
int pa_sound_file_load(const char *fname, pa_sample_spec *ss, pa_memchunk *chunk, pa_memblock_stat *s);
int pa_sound_file_load(const char *fname, pa_sample_spec *ss, pa_channel_map *map, pa_memchunk *chunk, pa_memblock_stat *s);
int pa_sound_file_too_big_to_cache(const char *fname);