src/audio/pulseaudio/SDL_pulseaudio.c
changeset 7397 08e4eb5cea46
parent 7191 75360622e65f
child 7398 31ec14665b79
equal deleted inserted replaced
7396:a36ab6149a10 7397:08e4eb5cea46
   358             paspec.format = PA_SAMPLE_S16LE;
   358             paspec.format = PA_SAMPLE_S16LE;
   359             break;
   359             break;
   360         case AUDIO_S16MSB:
   360         case AUDIO_S16MSB:
   361             paspec.format = PA_SAMPLE_S16BE;
   361             paspec.format = PA_SAMPLE_S16BE;
   362             break;
   362             break;
       
   363         case AUDIO_S32LSB:
       
   364             paspec.format = PA_SAMPLE_S32LE;
       
   365             break;
       
   366         case AUDIO_S32MSB:
       
   367             paspec.format = PA_SAMPLE_S32BE;
       
   368             break;
       
   369         case AUDIO_F32LSB:
       
   370             paspec.format = PA_SAMPLE_FLOAT32LE
       
   371             break;
       
   372         case AUDIO_F32MSB:
       
   373             paspec.format = PA_SAMPLE_FLOAT32BE
       
   374             break;
   363         default:
   375         default:
   364             paspec.format = PA_SAMPLE_INVALID;
   376             paspec.format = PA_SAMPLE_INVALID;
   365             break;
   377             break;
   366         }
   378         }
   367         if (paspec.format == PA_SAMPLE_INVALID) {
   379         if (paspec.format == PA_SAMPLE_INVALID) {