summaryrefslogtreecommitdiffstats
path: root/common.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-13 11:06:11 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-13 11:06:11 +0000
commit9b847c719e5b6654337ef910a11a07a3754ebbdc (patch)
tree92e20bb9991648a4450a0f7edb9c941a4eb0550e /common.c
parent3e4c6f9f6184ea2a127c2e9cc1deeb0cb240b287 (diff)
s/int/in32_t/ for vol
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@11 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.c b/common.c
index 13f95b3..058311d 100644
--- a/common.c
+++ b/common.c
@@ -504,7 +504,7 @@ int sa_stream_get_device(sa_stream_t *s, const char **device_name) {
return SA_SUCCESS;
}
-int sa_stream_get_input_volume(sa_stream_t *s, const int *vol[]) {
+int sa_stream_get_input_volume(sa_stream_t *s, const int32_t *vol[]) {
sa_return_val_if_fail(s, SA_ERROR_INVALID);
sa_return_val_if_fail(vol, SA_ERROR_INVALID);
sa_return_val_if_fail(s->mode & SA_MODE_RDONLY, SA_ERROR_STATE);
@@ -514,7 +514,7 @@ int sa_stream_get_input_volume(sa_stream_t *s, const int *vol[]) {
return SA_SUCCESS;
}
-int sa_stream_get_output_volume(sa_stream_t *s, const int *vol[]) {
+int sa_stream_get_output_volume(sa_stream_t *s, const int32_t *vol[]) {
sa_return_val_if_fail(s, SA_ERROR_INVALID);
sa_return_val_if_fail(vol, SA_ERROR_INVALID);
sa_return_val_if_fail(s->mode & SA_MODE_WRONLY, SA_ERROR_STATE);