Date: Tue, 22 Nov 2005 14:11:06 +0100 (MET)
From: Mattias Karlsson <betasoft@acc.umu.se> To: sdl@libsdl.org Subject: [SDL] [PATCH] Fix (tiny) build problems on solaris (fwd) This small patch fixes building audio on solaris 2.9 with gcc 4.0 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401187
This commit is contained in:
parent
95fae08400
commit
e65ddc53f0
1 changed files with 1 additions and 1 deletions
|
@ -165,9 +165,9 @@ void DSP_WaitAudio(_THIS)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static Uint8 snd2au(int sample);
|
||||||
void DSP_PlayAudio(_THIS)
|
void DSP_PlayAudio(_THIS)
|
||||||
{
|
{
|
||||||
static Uint8 snd2au(int sample);
|
|
||||||
/* Write the audio data */
|
/* Write the audio data */
|
||||||
if ( ulaw_only ) {
|
if ( ulaw_only ) {
|
||||||
/* Assuming that this->spec.freq >= 8000 Hz */
|
/* Assuming that this->spec.freq >= 8000 Hz */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue