branch | gsoc2008_nds |
changeset 2669 | e27bdcc80744 |
parent 2060 | 866052b01ee5 |
child 2859 | 99210400e8b9 |
--- a/src/audio/nto/SDL_nto_audio.c Wed Apr 23 06:27:10 2008 +0000 +++ b/src/audio/nto/SDL_nto_audio.c Tue Jun 10 06:45:39 2008 +0000 @@ -154,8 +154,7 @@ } break; } - } - while (1); + } while (1); } static void @@ -213,8 +212,7 @@ towrite -= written; pcmbuffer += written * this->spec.channels; } - } - while ((towrite > 0) && (this->enabled)); + } while ((towrite > 0) && (this->enabled)); /* If we couldn't write, assume fatal error for now */ if (towrite != 0) {