// FIXME - There may be no way to get this to work. // It may have to be removed.
Heh. Heh. Heh. Heh.
| Report ID | 454 | Title | MOD SAM does not work |
| Product | Archived MegaZeux Bugs | Status | Fixed (Severity 3 - Medium) |
| Version | 2.84 | Fixed in | 2.92 |
| Introduced In Version | 2.80X | Operating System | All Platforms |
Lachesis
Posted 25 May 2012 - 03:20 PM
// FIXME - There may be no way to get this to work. // It may have to be removed.
Terryn
Posted 27 May 2012 - 06:59 PM
Lachesis
Posted 27 May 2012 - 07:46 PM
Lachesis
Posted 27 May 2012 - 07:57 PM
Lachesis
Posted 27 May 2012 - 07:58 PM
Lachesis
Posted 31 May 2012 - 05:07 PM
Lachesis
Posted 26 May 2017 - 01:39 AM
Lachesis
Posted 12 June 2017 - 05:51 PM
Lachesis
Posted 06 September 2017 - 06:13 AM
Lachesis
Posted 03 October 2018 - 08:16 PM
void spot_sample(int freq, int sample)
{
if(audio.primary_stream && audio.primary_stream->spot_sample)
{
LOCK();
audio.primary_stream->spot_sample(audio.primary_stream,
(freq_conversion / freq) / 2, (unsigned int)sample);
UNLOCK();
}
}
static void audio_xmp_spot_sample(struct audio_stream *a_src,
Uint32 frequency, Uint32 sample)
{
// Convert frequency to nearest chromatic note
int note = (int)(12.0 * log(frequency / 523.3) / log(2) + .5);
xmp_smix_play_instrument(((struct xmp_stream *)a_src)->ctx,
(int)sample, note, 64, 0);
}
xmp_end_smix(((struct xmp_stream *)a_src)->ctx);
xmp_start_smix(ctx, 1, 0);
Lachesis
Posted 06 July 2019 - 04:55 AM