Lines Matching refs:default_device
251 sink->default_device = NULL; in gst_openal_sink_init()
293 if (!sink->default_device) in gst_openal_sink_set_property()
297 if (!sink->default_device) in gst_openal_sink_set_property()
301 if (!sink->default_device) in gst_openal_sink_set_property()
317 ALCdevice *device = sink->default_device; in gst_openal_sink_get_property()
579 if (sink->default_device == NULL) { in gst_openal_sink_getcaps()
592 ALCcontext *context = alcCreateContext (sink->default_device, NULL); in gst_openal_sink_getcaps()
599 GST_ALC_ERROR (sink->default_device)); in gst_openal_sink_getcaps()
630 sink->default_device = sink->user_device; in gst_openal_sink_open()
633 sink->default_device = alcGetContextsDevice (sink->user_context); in gst_openal_sink_open()
635 sink->default_device = alcOpenDevice (sink->device_name); in gst_openal_sink_open()
636 if (!sink->default_device) { in gst_openal_sink_open()
638 ("Could not open device."), GST_ALC_ERROR (sink->default_device)); in gst_openal_sink_open()
651 if (alcCloseDevice (sink->default_device) == ALC_FALSE) { in gst_openal_sink_close()
653 ("Could not close device."), GST_ALC_ERROR (sink->default_device)); in gst_openal_sink_close()
657 sink->default_device = NULL; in gst_openal_sink_close()
859 context = alcCreateContext (sink->default_device, attribs); in gst_openal_sink_prepare()
862 ("Unable to prepare device."), GST_ALC_ERROR (sink->default_device)); in gst_openal_sink_prepare()