Mercurial > SDL_sound_CoreAudio
comparison SDL_sound.c @ 489:c00e26a7e0b6
Patched compile error.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 03 Jul 2005 21:44:34 +0000 |
parents | 137c0b00ea4c |
children | 2df1f5c62d38 |
comparison
equal
deleted
inserted
replaced
487:78176684050d | 489:c00e26a7e0b6 |
---|---|
709 | 709 |
710 Sound_Sample *Sound_NewSampleFromMem(const Uint8 *data, | 710 Sound_Sample *Sound_NewSampleFromMem(const Uint8 *data, |
711 Uint32 size, | 711 Uint32 size, |
712 const char *ext, | 712 const char *ext, |
713 Sound_AudioInfo *desired, | 713 Sound_AudioInfo *desired, |
714 Uint32 bufferSize); | 714 Uint32 bufferSize) |
715 { | 715 { |
716 SDL_RWops *rw; | 716 SDL_RWops *rw; |
717 | 717 |
718 BAIL_IF_MACRO(!initialized, ERR_NOT_INITIALIZED, NULL); | 718 BAIL_IF_MACRO(!initialized, ERR_NOT_INITIALIZED, NULL); |
719 BAIL_IF_MACRO(data == NULL, ERR_INVALID_ARGUMENT, NULL); | 719 BAIL_IF_MACRO(data == NULL, ERR_INVALID_ARGUMENT, NULL); |