summaryrefslogtreecommitdiffstats
path: root/src/polypcore/core-scache.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-04-23 19:49:01 +0000
committerLennart Poettering <lennart@poettering.net>2006-04-23 19:49:01 +0000
commit335e23473fee2a6e40f838cd920ed13af3f93626 (patch)
treebe9f74e470741060b08db89a9d90727bb0197925 /src/polypcore/core-scache.h
parent4e61ebb981b218637685d7edbf7faac89916a094 (diff)
* when playing back a sample from the sample cache, just take a pa_volume_t and not a pa_cvolume_t as argument for the volume. Usually it is not known to the player of theses samples how many channels it has, hence it doesn't make any sense to allow him to pass a by-channel volume structure here.
* fix volume calculation when playing samples from the sample cache git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@784 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/core-scache.h')
-rw-r--r--src/polypcore/core-scache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polypcore/core-scache.h b/src/polypcore/core-scache.h
index a383e50a..151d1761 100644
--- a/src/polypcore/core-scache.h
+++ b/src/polypcore/core-scache.h
@@ -49,7 +49,7 @@ int pa_scache_add_file_lazy(pa_core *c, const char *name, const char *filename,
int pa_scache_add_directory_lazy(pa_core *c, const char *pathname);
int pa_scache_remove_item(pa_core *c, const char *name);
-int pa_scache_play_item(pa_core *c, const char *name, pa_sink *sink, const pa_cvolume *cvolume);
+int pa_scache_play_item(pa_core *c, const char *name, pa_sink *sink, pa_volume_t volume);
void pa_scache_free(pa_core *c);
const char *pa_scache_get_name_by_id(pa_core *c, uint32_t id);