/third_party/glib/gio/ |
D | gunixvolume.c | 72 GUnixVolume *volume; in G_DEFINE_TYPE_WITH_CODE() local 74 volume = G_UNIX_VOLUME (object); in G_DEFINE_TYPE_WITH_CODE() 76 if (volume->volume_monitor != NULL) in G_DEFINE_TYPE_WITH_CODE() 77 g_object_unref (volume->volume_monitor); in G_DEFINE_TYPE_WITH_CODE() 79 if (volume->mount) in G_DEFINE_TYPE_WITH_CODE() 80 _g_unix_mount_unset_volume (volume->mount, volume); in G_DEFINE_TYPE_WITH_CODE() 82 g_object_unref (volume->icon); in G_DEFINE_TYPE_WITH_CODE() 83 g_object_unref (volume->symbolic_icon); in G_DEFINE_TYPE_WITH_CODE() 84 g_free (volume->name); in G_DEFINE_TYPE_WITH_CODE() 85 g_free (volume->mount_path); in G_DEFINE_TYPE_WITH_CODE() [all …]
|
D | gvolume.c | 125 g_volume_get_name (GVolume *volume) in g_volume_get_name() argument 129 g_return_val_if_fail (G_IS_VOLUME (volume), NULL); in g_volume_get_name() 131 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_name() 133 return (* iface->get_name) (volume); in g_volume_get_name() 147 g_volume_get_icon (GVolume *volume) in g_volume_get_icon() argument 151 g_return_val_if_fail (G_IS_VOLUME (volume), NULL); in g_volume_get_icon() 153 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_icon() 155 return (* iface->get_icon) (volume); in g_volume_get_icon() 171 g_volume_get_symbolic_icon (GVolume *volume) in g_volume_get_symbolic_icon() argument 176 g_return_val_if_fail (G_IS_VOLUME (volume), NULL); in g_volume_get_symbolic_icon() [all …]
|
D | gvolume.h | 132 void (* changed) (GVolume *volume); 133 void (* removed) (GVolume *volume); 137 char * (* get_name) (GVolume *volume); 138 GIcon * (* get_icon) (GVolume *volume); 139 char * (* get_uuid) (GVolume *volume); 140 GDrive * (* get_drive) (GVolume *volume); 141 GMount * (* get_mount) (GVolume *volume); 142 gboolean (* can_mount) (GVolume *volume); 143 gboolean (* can_eject) (GVolume *volume); 144 void (* mount_fn) (GVolume *volume, [all …]
|
D | gwin32mount.c | 46 GWin32Volume *volume; /* owned by volume monitor */ member 76 if (mount->volume) in G_DEFINE_TYPE_WITH_CODE() 77 _g_win32_volume_unset_mount (mount->volume, mount); in G_DEFINE_TYPE_WITH_CODE() 130 GWin32Volume *volume) in _g_win32_mount_new() argument 140 if (volume == NULL && !g_win32_mount_guess_should_display (mount_entry)) in _g_win32_mount_new() 152 mount->volume = volume; in _g_win32_mount_new() 154 if (volume != NULL) in _g_win32_mount_new() 155 _g_win32_volume_set_mount (volume, mount); in _g_win32_mount_new() 166 if (mount->volume != NULL) in _g_win32_mount_unmounted() 169 _g_win32_volume_unset_mount (mount->volume, mount); in _g_win32_mount_unmounted() [all …]
|
D | gunixmount.c | 53 GUnixVolume *volume; /* owned by volume monitor */ member 82 if (mount->volume) in G_DEFINE_TYPE_WITH_CODE() 83 _g_unix_volume_unset_mount (mount->volume, mount); in G_DEFINE_TYPE_WITH_CODE() 111 GUnixVolume *volume) in _g_unix_mount_new() argument 116 if (volume == NULL && !g_unix_mount_guess_should_display (mount_entry)) in _g_unix_mount_new() 130 mount->volume = volume; in _g_unix_mount_new() 131 if (volume != NULL) in _g_unix_mount_new() 132 _g_unix_volume_set_mount (volume, mount); in _g_unix_mount_new() 140 if (mount->volume != NULL) in _g_unix_mount_unmounted() 142 _g_unix_volume_unset_mount (mount->volume, mount); in _g_unix_mount_unmounted() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | volume.c | 129 GstElement *volume; in setup_volume() local 132 volume = gst_check_setup_element ("volume"); in setup_volume() 133 mysrcpad = gst_check_setup_src_pad (volume, &srctemplate); in setup_volume() 134 mysinkpad = gst_check_setup_sink_pad (volume, &sinktemplate); in setup_volume() 138 return volume; in setup_volume() 142 cleanup_volume (GstElement * volume) in cleanup_volume() argument 152 gst_check_teardown_src_pad (volume); in cleanup_volume() 153 gst_check_teardown_sink_pad (volume); in cleanup_volume() 154 gst_check_teardown_element (volume); in cleanup_volume() 159 GstElement *volume = gst_element_factory_make ("volume", NULL); in GST_START_TEST() local [all …]
|
/third_party/pulseaudio/src/modules/alsa/mixer/paths/ |
D | analog-output-mono.conf | 25 volume = merge 31 volume = off 36 volume = merge 45 volume = zero 49 volume = zero 53 volume = zero 57 volume = zero 61 volume = merge 67 volume = merge 73 volume = off [all …]
|
D | analog-output-headphones.conf | 64 volume = merge 70 volume = merge 76 volume = off 80 volume = off 85 volume = merge 92 volume = merge 101 volume = zero 106 volume = merge 119 volume = zero 123 volume = off [all …]
|
D | analog-output-headphones-2.conf | 36 volume = merge 42 volume = merge 48 volume = off 55 volume = zero 60 volume = merge 66 volume = zero 70 volume = off 75 volume = merge 81 volume = off 85 volume = off [all …]
|
D | analog-input-linein.conf | 36 volume = merge 43 volume = merge 50 volume = merge 81 volume = off 85 volume = off 89 volume = off 93 volume = off 97 volume = off 101 volume = off 105 volume = off [all …]
|
D | analog-input-video.conf | 25 volume = merge 31 volume = off 35 volume = off 39 volume = off 43 volume = off 48 volume = merge 54 volume = off 58 volume = off 62 volume = off
|
D | analog-input-aux.conf | 26 volume = merge 32 volume = off 36 volume = off 40 volume = off 45 volume = merge 51 volume = off 55 volume = off 59 volume = off 63 volume = off
|
D | analog-input-internal-mic.conf | 48 volume = merge 55 volume = merge 68 volume = merge 81 volume = merge 88 volume = merge 116 volume = off 120 volume = off 124 volume = off 128 volume = off 132 volume = off [all …]
|
D | analog-input-fm.conf | 26 volume = merge 32 volume = off 36 volume = off 40 volume = off 44 volume = off 48 volume = off 52 volume = off 56 volume = off 61 volume = merge
|
D | analog-input-mic-line.conf | 26 volume = merge 32 volume = off 36 volume = off 40 volume = off 44 volume = off 48 volume = off 53 volume = merge 59 volume = off 63 volume = off
|
D | analog-input-tvtuner.conf | 26 volume = merge 32 volume = off 36 volume = off 40 volume = off 44 volume = off 48 volume = off 52 volume = off 57 volume = merge 63 volume = off
|
D | analog-input-headset-mic.conf | 43 volume = merge 50 volume = merge 57 volume = merge 64 volume = merge 84 volume = off 88 volume = off 92 volume = off 96 volume = off 100 volume = off 104 volume = off [all …]
|
D | analog-input-internal-mic-always.conf | 43 volume = merge 49 volume = merge 61 volume = merge 73 volume = merge 79 volume = merge 103 volume = off 107 volume = off 111 volume = off 115 volume = off 119 volume = off [all …]
|
D | analog-output.conf | 26 volume = merge 32 volume = merge 38 volume = off 42 volume = merge 48 volume = merge 54 volume = merge 60 volume = merge 66 volume = merge 72 volume = merge 78 volume = merge
|
D | analog-input-dock-mic.conf | 34 volume = merge 41 volume = merge 54 volume = merge 74 volume = off 78 volume = off 82 volume = off 86 volume = off 90 volume = off 94 volume = off 98 volume = off [all …]
|
/third_party/glib/gio/tests/ |
D | volumemonitor.c | 6 do_mount_tests (GDrive *drive, GVolume *volume, GMount *mount) in do_mount_tests() argument 18 g_assert (v == volume); in do_mount_tests() 39 do_volume_tests (GDrive *drive, GVolume *volume) in do_volume_tests() argument 46 name = g_volume_get_name (volume); in do_volume_tests() 50 d = g_volume_get_drive (volume); in do_volume_tests() 55 mount = g_volume_get_mount (volume); in do_volume_tests() 58 do_mount_tests (drive, volume, mount); in do_volume_tests() 62 uuid = g_volume_get_uuid (volume); in do_volume_tests() 67 g_assert (v == volume); in do_volume_tests() 90 GVolume *volume = l->data; in do_drive_tests() local [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | streamvolume.c | 100 gst_stream_volume_get_volume (GstStreamVolume * volume, in gst_stream_volume_get_volume() argument 105 g_return_val_if_fail (GST_IS_STREAM_VOLUME (volume), 1.0); in gst_stream_volume_get_volume() 107 g_object_get (volume, "volume", &val, NULL); in gst_stream_volume_get_volume() 122 gst_stream_volume_set_volume (GstStreamVolume * volume, in gst_stream_volume_set_volume() argument 125 g_return_if_fail (GST_IS_STREAM_VOLUME (volume)); in gst_stream_volume_set_volume() 131 g_object_set (volume, "volume", val, NULL); in gst_stream_volume_set_volume() 141 gst_stream_volume_get_mute (GstStreamVolume * volume) in gst_stream_volume_get_mute() argument 145 g_return_val_if_fail (GST_IS_STREAM_VOLUME (volume), FALSE); in gst_stream_volume_get_mute() 147 g_object_get (volume, "mute", &val, NULL); in gst_stream_volume_get_mute() 157 gst_stream_volume_set_mute (GstStreamVolume * volume, gboolean mute) in gst_stream_volume_set_mute() argument [all …]
|
/third_party/gstreamer/gstplugins_base/gst/volume/ |
D | gstvolume.c | 116 GST_ELEMENT_REGISTER_DEFINE (volume, "volume", GST_RANK_NONE, GST_TYPE_VOLUME); 134 gdouble * volume, guint channels, guint n_bytes); 138 gdouble * volume, guint channels, guint n_bytes); 144 gpointer bytes, gdouble * volume, guint channels, guint n_bytes); 150 gpointer bytes, gdouble * volume, guint channels, guint n_bytes); 156 gpointer bytes, gdouble * volume, guint channels, guint n_bytes); 162 gpointer bytes, gdouble * volume, guint channels, guint n_bytes); 234 gdouble volume, gboolean mute) in volume_update_volume() argument 239 GST_DEBUG_OBJECT (self, "configure mute %d, volume %f", mute, volume); in volume_update_volume() 253 self->current_volume = volume; in volume_update_volume() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/ |
D | gstwasapi2src.c | 80 gdouble volume; member 103 static void gst_wasapi2_src_set_volume (GstWasapi2Src * self, gdouble volume); 200 self->volume = DEFAULT_VOLUME; in gst_wasapi2_src_init() 290 gst_wasapi2_ring_buffer_set_volume (ringbuffer, self->volume); in gst_wasapi2_src_change_state() 422 gst_wasapi2_src_set_volume (GstWasapi2Src * self, gdouble volume) in gst_wasapi2_src_set_volume() argument 429 self->volume = volume; in gst_wasapi2_src_set_volume() 431 self->volume = MAX (0.0, self->volume); in gst_wasapi2_src_set_volume() 432 self->volume = MIN (1.0, self->volume); in gst_wasapi2_src_set_volume() 439 hr = gst_wasapi2_ring_buffer_set_volume (ringbuffer, (gfloat) self->volume); in gst_wasapi2_src_set_volume() 455 gfloat volume; in gst_wasapi2_src_get_volume() local [all …]
|
D | gstwasapi2sink.c | 80 gdouble volume; member 103 static void gst_wasapi2_sink_set_volume (GstWasapi2Sink * self, gdouble volume); 189 self->volume = DEFAULT_VOLUME; in gst_wasapi2_sink_init() 271 gst_wasapi2_ring_buffer_set_volume (ringbuffer, self->volume); in gst_wasapi2_sink_change_state() 400 gst_wasapi2_sink_set_volume (GstWasapi2Sink * self, gdouble volume) in gst_wasapi2_sink_set_volume() argument 407 self->volume = volume; in gst_wasapi2_sink_set_volume() 409 self->volume = MAX (0.0, self->volume); in gst_wasapi2_sink_set_volume() 410 self->volume = MIN (1.0, self->volume); in gst_wasapi2_sink_set_volume() 417 hr = gst_wasapi2_ring_buffer_set_volume (ringbuffer, (gfloat) self->volume); in gst_wasapi2_sink_set_volume() 433 gfloat volume; in gst_wasapi2_sink_get_volume() local [all …]
|