Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
libao
ao-pulse-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ao-pulse-fixes.patch of Package libao
Index: src/plugins/pulse/ao_pulse.c =================================================================== --- src/plugins/pulse/ao_pulse.c (revision 17144) +++ src/plugins/pulse/ao_pulse.c (working copy) @@ -227,7 +227,7 @@ } - if (!(internal->simple = pa_simple_new(internal->server, fn ? t : "libao", PA_STREAM_PLAYBACK, internal->sink, fn ? t2 : "libao playback stream", &ss, &map, NULL, NULL))) + if (!(internal->simple = pa_simple_new(internal->server, fn ? t : "libao", PA_STREAM_PLAYBACK, internal->sink, fn ? t2 : "libao playback stream", &ss, device->input_map ? &map : NULL, NULL, NULL))) return 0; device->driver_byte_format = AO_FMT_NATIVE; @@ -247,9 +247,11 @@ assert(device && device->internal); ao_pulse_internal *internal = (ao_pulse_internal *) device->internal; - pa_simple_drain(internal->simple, NULL); - pa_simple_free(internal->simple); - internal->simple = NULL; + if (internal->simple) { + pa_simple_drain(internal->simple, NULL); + pa_simple_free(internal->simple); + internal->simple = NULL; + } return 1; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor