summaryrefslogtreecommitdiffstats
path: root/oss.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-13 10:36:53 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-13 10:36:53 +0000
commit737cf2e69e0248e134979cbeb9230e71c908a53d (patch)
tree4764853cbc37f4911552946dfaeb5e6924048eba /oss.c
parent17e086aaa4960e3b4d779ad02d816e9452c0d458 (diff)
change types of volumes from "int" to "int32_t"
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@9 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'oss.c')
-rw-r--r--oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/oss.c b/oss.c
index 0a80379..6cae5a4 100644
--- a/oss.c
+++ b/oss.c
@@ -376,7 +376,7 @@ int driver_start_thread(sa_stream_t *s, sa_event_callback_t *callback) {
return SA_ERROR_NOT_SUPPORTED;
}
-int driver_change_input_volume(sa_stream_t *s, const int vol[]) {
+int driver_change_input_volume(sa_stream_t *s, const int32_t vol[]) {
oss_stream_t *oss = OSS_STREAM(s);
sa_return_val_if_fail(!s->codec, SA_ERROR_NOT_SUPPORTED);
@@ -386,7 +386,7 @@ int driver_change_input_volume(sa_stream_t *s, const int vol[]) {
return SA_SUCCESS;
}
-int driver_change_output_volume(sa_stream_t *s, const int vol[]) {
+int driver_change_output_volume(sa_stream_t *s, const int32_t vol[]) {
oss_stream_t *oss = OSS_STREAM(s);
sa_return_val_if_fail(!s->codec, SA_ERROR_NOT_SUPPORTED);