Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207536 Details for
Bug 289542
media-libs/openal-1.9.563 oss backend produces no audio
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
oss bugs fixed upstream
openal-1.9.563-oss.patch (text/plain), 1.07 KB, created by
Charles McGarvey
on 2009-10-19 07:55:04 UTC
(
hide
)
Description:
oss bugs fixed upstream
Filename:
MIME Type:
Creator:
Charles McGarvey
Created:
2009-10-19 07:55:04 UTC
Size:
1.07 KB
patch
obsolete
>diff -ur openal-soft-1.9.563.orig/Alc/oss.c openal-soft-1.9.563/Alc/oss.c >--- openal-soft-1.9.563.orig/Alc/oss.c 2009-09-21 03:41:50.000000000 -0600 >+++ openal-soft-1.9.563/Alc/oss.c 2009-10-19 01:39:25.326979984 -0600 >@@ -80,12 +80,12 @@ > ALCdevice *pDevice = (ALCdevice*)ptr; > oss_data *data = (oss_data*)pDevice->ExtraData; > ALint frameSize; >- int wrote; >+ ssize_t wrote; > > frameSize = aluChannelsFromFormat(pDevice->Format) * > aluBytesFromFormat(pDevice->Format); > >- while(!data->killNow && !pDevice->Connected) >+ while(!data->killNow && pDevice->Connected) > { > ALint len = data->data_size; > ALubyte *WritePtr = data->mix_data; >@@ -96,7 +96,7 @@ > wrote = write(data->fd, WritePtr, len); > if(wrote < 0) > { >- if(errno != EAGAIN && errno != EWOULDBLOCK) >+ if(errno != EAGAIN && errno != EWOULDBLOCK && errno != EINTR) > { > AL_PRINT("write failed: %s\n", strerror(errno)); > aluHandleDisconnect(pDevice);
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 Raw
Actions:
View
Attachments on
bug 289542
:
207448
| 207536