Changeset 6133 in vbox
- Timestamp:
- Dec 18, 2007 4:09:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/pulseaudio.c
r6127 r6133 257 257 } 258 258 259 pa_threaded_mainloop_unlock(g_pMainLoop);260 261 259 pBufAttr = pa_stream_get_buffer_attr(pStream); 262 260 obt->buffer_size = pBufAttr->maxlength; 261 262 pa_threaded_mainloop_unlock(g_pMainLoop); 263 263 264 264 LogRel(("Pulse: buffer settings: max=%d tlength=%d prebuf=%d minreq=%d\n", … … 598 598 goto fail; 599 599 } 600 if (pa_threaded_mainloop_start(g_pMainLoop) < 0) 601 { 602 LogRel(("Pulse: Failed to start threaded mainloop: %s\n", 600 pa_context_set_state_callback(g_pContext, context_state_callback, NULL); 601 if (pa_context_connect(g_pContext, /*server=*/NULL, 0, NULL) < 0) 602 { 603 LogRel(("Pulse: Failed to connect to server: %s\n", 603 604 pa_strerror(pa_context_errno(g_pContext)))); 604 605 goto fail; 605 606 } 606 pa_context_set_state_callback(g_pContext, context_state_callback, NULL); 607 if (pa_ context_connect(g_pContext, /*server=*/NULL, 0, NULL) < 0)608 { 609 LogRel(("Pulse: Failed to connect to server: %s\n",607 608 if (pa_threaded_mainloop_start(g_pMainLoop) < 0) 609 { 610 LogRel(("Pulse: Failed to start threaded mainloop: %s\n", 610 611 pa_strerror(pa_context_errno(g_pContext)))); 611 612 goto fail;
Note:
See TracChangeset
for help on using the changeset viewer.