Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 229091 Details for
Bug 334961
[PATCH] rfe: add some methods to the package for PySol
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch catched from FreeBSD repo.
SDL_mixer-1.2.7-GetMixerInfo.asp.patch (text/plain), 1.02 KB, created by
Andy Shevchenko
on 2007-10-16 18:00:27 UTC
(
hide
)
Description:
Proposed patch catched from FreeBSD repo.
Filename:
MIME Type:
Creator:
Andy Shevchenko
Created:
2007-10-16 18:00:27 UTC
Size:
1.02 KB
patch
obsolete
> >$FreeBSD: ports/audio/sdl_mixer/files/patch-SDL_mixer.h,v 1.1 2001/05/08 08:20:10 sobomax Exp $ > >--- a/SDL_mixer.h 2001/05/08 07:44:56 1.1 >+++ b/SDL_mixer.h 2001/05/08 07:48:13 >@@ -222,6 +222,8 @@ > /* Close the mixer, halting all playing audio */ > extern DECLSPEC void Mix_CloseAudio(void); > >+extern DECLSPEC int Mix_GetMixerInfo(SDL_AudioSpec *, char *, int); >+ > /* We'll use SDL for reporting errors */ > #define Mix_SetError SDL_SetError > #define Mix_GetError SDL_GetError > >$FreeBSD: ports/audio/sdl_mixer/files/patch-mixer.c,v 1.1 2001/05/08 08:20:10 sobomax Exp $ > >--- a/mixer.c 2001/05/08 07:44:26 1.1 >+++ b/mixer.c 2001/05/08 07:47:09 >@@ -865,6 +865,21 @@ > } > return(chan); > } >+ >+int Mix_GetMixerInfo(SDL_AudioSpec *m, char *namebuf, int maxlen) >+{ >+ if (!audio_opened) >+ return -1; >+ if (m) >+ *m = mixer; /* struct copy */ >+ if (namebuf && maxlen > 0) >+ { >+ namebuf[0] = 0; >+ if (SDL_AudioDriverName(namebuf, maxlen) == NULL) >+ namebuf[0] = 0; >+ } >+ return 0; >+} > > >
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 334961
: 229091