diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-16 23:47:38 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-16 23:47:38 +0000 |
commit | 4b6ab291a787ff597c938842b569a35434ab11d8 (patch) | |
tree | 2cecfeceebbb509ed2f32d94c0f489ed3c5654bb /src/polypcore/sound-file.c | |
parent | c63cc7bb79fb60b6493c3e80648501fbe8a83963 (diff) |
* modify pa_channel_map_init_auto() to take an extra argument specifying the standard to use (ALSA, AIFF, ...)
* add some more validity checks to pa_source_new(),pa_sink_new(),pa_sink_input_new(),pa_source_output_new()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@888 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/sound-file.c')
-rw-r--r-- | src/polypcore/sound-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polypcore/sound-file.c b/src/polypcore/sound-file.c index a6ccb064..f0378009 100644 --- a/src/polypcore/sound-file.c +++ b/src/polypcore/sound-file.c @@ -75,7 +75,7 @@ int pa_sound_file_load(const char *fname, pa_sample_spec *ss, pa_channel_map *ma } if (map) - pa_channel_map_init_auto(map, ss->channels); + pa_channel_map_init_auto(map, ss->channels, PA_CHANNEL_MAP_DEFAULT); if ((l = pa_frame_size(ss)*sfinfo.frames) > PA_SCACHE_ENTRY_SIZE_MAX) { pa_log(__FILE__": File too large"); |