Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
One more minor cleanup in arts driver.
  • Loading branch information
icculus committed Oct 6, 2006
1 parent 6a35761 commit ee2c46cd7ca021ec5f841f58e0995c04c65753df
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/audio/arts/SDL_artsaudio.c
@@ -270,8 +270,8 @@ static int
ARTS_OpenDevice(_THIS, const char *devname, int iscapture)
{
int rc = 0;
int bits, frag_spec;
SDL_AudioFormat test_format, format;
int bits = 0, frag_spec = 0;
SDL_AudioFormat test_format = 0, format = 0;

/* Initialize all variables that we clean on shutdown */
this->hidden = (struct SDL_PrivateAudioData *)
@@ -289,8 +289,6 @@ ARTS_OpenDevice(_THIS, const char *devname, int iscapture)
}

/* Try for a closest match on audio format */
format = 0;
bits = 0;
for (test_format = SDL_FirstAudioFormat(this->spec.format);
!format && test_format;) {
#ifdef DEBUG_AUDIO

0 comments on commit ee2c46c

Please sign in to comment.