src/audio/paudio/SDL_paudio.c
changeset 5586 7fe92c1dc1d9
parent 5535 96594ac5fd1a
child 5594 e741303e08a8
equal deleted inserted replaced
5585:223345a23d0b 5586:7fe92c1dc1d9
   427     SDL_CalculateAudioSpec(&this->spec);
   427     SDL_CalculateAudioSpec(&this->spec);
   428 
   428 
   429     /*
   429     /*
   430      * The AIX paud device init can't modify the values of the audio_init
   430      * The AIX paud device init can't modify the values of the audio_init
   431      * structure that we pass to it. So we don't need any recalculation
   431      * structure that we pass to it. So we don't need any recalculation
   432      * of this stuff and no reinit call as in linux dsp and dma code.
   432      * of this stuff and no reinit call as in linux dsp code.
   433      *
   433      *
   434      * /dev/paud supports all of the encoding formats, so we don't need
   434      * /dev/paud supports all of the encoding formats, so we don't need
   435      * to do anything like reopening the device, either.
   435      * to do anything like reopening the device, either.
   436      */
   436      */
   437     if (ioctl(fd, AUDIO_INIT, &paud_init) < 0) {
   437     if (ioctl(fd, AUDIO_INIT, &paud_init) < 0) {