comparison src/audio/mint/SDL_mintaudio_xbios.c @ 1100:76459577e620

Checking external clock on DSP port was leaving audio crossbar in limbo state
author Patrice Mandin <patmandin@gmail.com>
date Thu, 21 Jul 2005 21:33:15 +0000
parents f10892fa2e48
children 524fd51f5d2c
comparison
equal deleted inserted replaced
1099:1ccbb2b7d905 1100:76459577e620
426 } else { 426 } else {
427 Gpio(GPIO_WRITE,3); /* 24.576 MHz for 48KHz */ 427 Gpio(GPIO_WRITE,3); /* 24.576 MHz for 48KHz */
428 } 428 }
429 Devconnect2(DMAPLAY, DAC, CLKEXT, prediv); 429 Devconnect2(DMAPLAY, DAC, CLKEXT, prediv);
430 } else { 430 } else {
431 Devconnect(DMAPLAY, DAC, CLK25M, prediv, 1); 431 Devconnect2(DMAPLAY, DAC, CLK25M, prediv);
432 } 432 }
433 433
434 /* Set buffer */ 434 /* Set buffer */
435 buffer = SDL_MintAudio_audiobuf[SDL_MintAudio_numbuf]; 435 buffer = SDL_MintAudio_audiobuf[SDL_MintAudio_numbuf];
436 if (Setbuffer(0, buffer, buffer + spec->size)<0) { 436 if (Setbuffer(0, buffer, buffer + spec->size)<0) {