src/audio/SDL_audio.c
changeset 942 41a59de7f2ed
parent 936 84f930aebaeb
child 955 d74fbf56f2f6
equal deleted inserted replaced
941:5095c4a264aa 942:41a59de7f2ed
   389 		return(-1);
   389 		return(-1);
   390 	}
   390 	}
   391 	switch ( desired->channels ) {
   391 	switch ( desired->channels ) {
   392 	    case 1:	/* Mono */
   392 	    case 1:	/* Mono */
   393 	    case 2:	/* Stereo */
   393 	    case 2:	/* Stereo */
       
   394 	    case 4:	/* surround */
       
   395 	    case 6:	/* surround with center and lfe */
   394 		break;
   396 		break;
   395 	    default:
   397 	    default:
   396 		SDL_SetError("1 (mono) and 2 (stereo) channels supported");
   398 		SDL_SetError("1 (mono) and 2 (stereo) channels supported");
   397 		return(-1);
   399 		return(-1);
   398 	}
   400 	}