src/audio/windx5/SDL_dx5audio.c
changeset 375 17976f0f503f
parent 297 f6ffac90895c
child 453 a6fa62b1be09
     1.1 --- a/src/audio/windx5/SDL_dx5audio.c	Sun May 19 22:32:09 2002 +0000
     1.2 +++ b/src/audio/windx5/SDL_dx5audio.c	Sun May 19 22:34:36 2002 +0000
     1.3 @@ -662,10 +662,12 @@
     1.4  
     1.5  	/* Create the audio buffer to which we write */
     1.6  	NUM_BUFFERS = -1;
     1.7 +#ifdef USE_PRIMARY_BUFFER
     1.8  	if ( mainwin ) {
     1.9  		NUM_BUFFERS = CreatePrimary(sound, mainwin, &mixbuf,
    1.10  						&waveformat, spec->size);
    1.11  	}
    1.12 +#endif /* USE_PRIMARY_BUFFER */
    1.13  	if ( NUM_BUFFERS < 0 ) {
    1.14  		NUM_BUFFERS = CreateSecondary(sound, mainwin, &mixbuf,
    1.15  						&waveformat, spec->size);