Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed some FIXMEs that'll probably never actually need fixing.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 4, 2006
1 parent 37b2724 commit af648c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions src/audio/SDL_audio.c
Expand Up @@ -31,8 +31,6 @@
#define _THIS SDL_AudioDevice *this

static SDL_AudioDriver current_audio;

/* !!! FIXME: don't use a static array, but it's Good Enough For Now... */
static SDL_AudioDevice *open_devices[16];

/* !!! FIXME: These are wordy and unlocalized... */
Expand Down Expand Up @@ -713,7 +711,6 @@ open_audio_device(const char *devname, int iscapture,
}
}

/* !!! FIXME: remove static array... */
if (id == SDL_arraysize(open_devices)) {
SDL_SetError("Too many open audio devices");
close_audio_device(device);
Expand Down
5 changes: 1 addition & 4 deletions src/audio/macosx/SDL_coreaudio.c
Expand Up @@ -292,10 +292,7 @@ outputCallback(void *inRefCon,
UInt32 remaining, len;
void *ptr;

/*
* !!! FIXME: I'm not sure if you can ever have more than one
* buffer, or what this signifies, or what to do with it...
*/
/* Is there ever more than one buffer, and what do you do with it? */
if (ioDataList->mNumberBuffers != 1) {
return noErr;
}
Expand Down
2 changes: 0 additions & 2 deletions src/audio/macrom/SDL_romaudio.c
Expand Up @@ -215,8 +215,6 @@ SNDMGR_OpenDevice(_THIS, const char *devname, int iscapture)
}
SDL_memset(this->hidden, 0, (sizeof *this->hidden));

/* !!! FIXME: check devname and iscapture... */

/* !!! FIXME: iterate through format matrix... */
/* Very few conversions are required, but... */
switch (spec->format) {
Expand Down

0 comments on commit af648c1

Please sign in to comment.