summaryrefslogtreecommitdiff
path: root/sys/sunaudio
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sunaudio')
-rw-r--r--sys/sunaudio/gstsunaudiomixerctrl.c6
-rw-r--r--sys/sunaudio/gstsunaudiosink.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/sunaudio/gstsunaudiomixerctrl.c b/sys/sunaudio/gstsunaudiomixerctrl.c
index adceac04b..7f88399f9 100644
--- a/sys/sunaudio/gstsunaudiomixerctrl.c
+++ b/sys/sunaudio/gstsunaudiomixerctrl.c
@@ -132,7 +132,7 @@ gst_sunaudiomixer_ctrl_list_tracks (GstSunAudioMixerCtrl * mixer)
return (const GList *) mixer->tracklist;
}
-static void
+void
gst_sunaudiomixer_ctrl_get_volume (GstSunAudioMixerCtrl * mixer,
GstMixerTrack * track, gint * volumes)
{
@@ -199,7 +199,7 @@ gst_sunaudiomixer_ctrl_set_volume (GstSunAudioMixerCtrl * mixer,
sunaudiotrack->vol = volume;
}
-static void
+void
gst_sunaudiomixer_ctrl_set_mute (GstSunAudioMixerCtrl * sunaudio,
GstMixerTrack * track, gboolean mute)
{
@@ -239,7 +239,7 @@ gst_sunaudiomixer_ctrl_set_mute (GstSunAudioMixerCtrl * sunaudio,
}
}
-static void
+void
gst_sunaudiomixer_ctrl_set_record (GstSunAudioMixerCtrl * mixer,
GstMixerTrack * track, gboolean record)
{
diff --git a/sys/sunaudio/gstsunaudiosink.c b/sys/sunaudio/gstsunaudiosink.c
index 9ddf0a21a..f791c4a55 100644
--- a/sys/sunaudio/gstsunaudiosink.c
+++ b/sys/sunaudio/gstsunaudiosink.c
@@ -192,8 +192,8 @@ gst_sunaudiosink_init (GstSunAudioSink * sunaudiosink)
sunaudiosink->buffer_size = 8180;
/*
- * Reset the buffer-time to 3ms instead of the normal default of 500us
- * (6 times larger, in other words).
+ * Reset the buffer-time to 5ms instead of the normal default of 500us
+ * (10 times larger, in other words).
*
* Setting a larger buffer causes the sinesrc to not stutter with this
* sink. The fact that SunAudio requires a larger buffer should be
@@ -204,8 +204,8 @@ gst_sunaudiosink_init (GstSunAudioSink * sunaudiosink)
g_value_init (&gvalue, G_TYPE_INT64);
g_object_get_property (G_OBJECT (sunaudiosink), "buffer-time", &gvalue);
buffer_time = g_value_get_int64 (&gvalue);
- if (buffer_time < 3000000) {
- g_value_set_int64 (&gvalue, 3000000);
+ if (buffer_time < 5000000) {
+ g_value_set_int64 (&gvalue, 5000000);
g_object_set_property (G_OBJECT (sunaudiosink), "buffer-time", &gvalue);
}