[uae] Re: Snapshot 20070724 (have_8bit_audio_support)

  • From: Mustafa TUFAN <mustafa.tufan@xxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Wed, 25 Jul 2007 10:02:34 +0300

another not so important thing..

if we don't define HAVE_8BIT_AUDIO_SUPPORT in sound.h (eg. sd-uss);

audio.c
#ifdef HAVE_8BIT_AUDIO_SUPPORT
void sample8_handler (void)
void sample8s_handler (void)
#endif

thus sound.c will produce "undefined reference";
if (dspbits == 16) {
  ...
sample_handler = currprefs.sound_stereo ? sample16s_handler : sample16_handler;
} else {
  ...
sample_handler = currprefs.sound_stereo ? sample8s_handler : sample8_handler;
}
sound_available = 1; //no it's not.. :}

-mustafa.


Other related posts:

  • » [uae] Re: Snapshot 20070724 (have_8bit_audio_support)