Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed some FIXMEs that'll probably never actually need fixing.

  • Loading branch information
icculus committed Oct 4, 2006
1 parent 37b2724 commit af648c105287370e5c89985594bf5ab9975ba30c
Showing with 1 addition and 9 deletions.
  1. +0 −3 src/audio/SDL_audio.c
  2. +1 −4 src/audio/macosx/SDL_coreaudio.c
  3. +0 −2 src/audio/macrom/SDL_romaudio.c
@@ -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... */
@@ -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);
@@ -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;
}
@@ -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) {

0 comments on commit af648c1

Please sign in to comment.