Displaying 4 results from an estimated 4 matches for "pa_context_connect".
2014 Nov 21
2
Libvirt fullscreen sdl problem
...>
in xml file I got:
linux-aeo3:/etc/libvirt/qemu # virsh start wintest
setlocale: No such file or directory
error: Failed to start domain wintest
error: internal error: early end of file from monitor: possible problem:
No protocol specified
xcb_connection_has_error() returned true
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio
driver
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: Device or resourc...
2007 Nov 08
0
configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_playback_pa.c
...am = walk->data;
+ if (stream->audio == audio) {
+ swfdec_stream_close (stream);
+ return;
+ }
+ }
+ g_assert_not_reached ();
+}
+static void
+context_state_callback (pa_context *pa, void *data) {
+ switch (pa_context_get_state(pa)) {
+ case PA_CONTEXT_UNCONNECTED:
+ case PA_CONTEXT_CONNECTING:
+ case PA_CONTEXT_AUTHORIZING:
+ case PA_CONTEXT_SETTING_NAME:
+ case PA_CONTEXT_READY:
+ break;
+
+ case PA_CONTEXT_FAILED:
+ g_printerr("PA context failed");
+ break;
+
+ case PA_CONTEXT_TERMINATED:
+ g_printerr("PA context lost\n");
+ break;
+ }
+}
+...
2007 Nov 22
0
2 commits - libswfdec-gtk/swfdec_playback_pa.c
...@@ swfdec_playback_open (SwfdecPlayer *player, GMainContext *context)
sound->pa = pa_context_new (pa_api, "swfdec");
- pa_context_set_state_callback (sound->pa, context_state_callback, NULL);
+ pa_context_set_state_callback (sound->pa, context_state_callback, sound);
pa_context_connect (sound->pa,
NULL, /* default server */
0, /* default flags */
@@ -320,14 +332,16 @@ swfdec_playback_close (SwfdecPlayback *sound)
REMOVE_HANDLER (sound->player, audio_added, sound);
REMOVE_HANDLER (sound->player, audio_removed, sound);
- op = pa_context_drain (so...
2008 May 08
7
[Bug 15862] New: Segfault when seeking on youtube with pulseaudio backend
http://bugs.freedesktop.org/show_bug.cgi?id=15862
Summary: Segfault when seeking on youtube with pulseaudio backend
Product: swfdec
Version: 0.6.6
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: library
AssignedTo: swfdec at lists.freedesktop.org