Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240039 Details for
Bug 329737
media-libs/libao-1.0.0 needs patch to fix bug with pulse-audio backend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libao-1.0.0 Pulse Audio Fix
ao-pulse-fixes.patch (text/plain), 1.09 KB, created by
Reuben Martin
on 2010-07-24 19:52:24 UTC
(
hide
)
Description:
libao-1.0.0 Pulse Audio Fix
Filename:
MIME Type:
Creator:
Reuben Martin
Created:
2010-07-24 19:52:24 UTC
Size:
1.09 KB
patch
obsolete
>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; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 329737
: 240039