Audio latency win10 64bit

Started by wadmixfm, December 13, 2020, 17:38:18

Previous topic - Next topic

wadmixfm

is there a way to get the latency down in windows 10 64 bit with blitzmax ng when samples are played they are slightly out of sync

the current audio driver i am using is freeaudio

directsound is ok but a little jerky

any ideas please

Lee

Derron

Can't you try "audio.mod/soloud***.mod" ?

You have two audio backends to choose there - and they then use the driver suiting best (so direct sound or similar).


bye
Ron

wadmixfm

I will give it a try

Thanks

Free audio is great on the Mac as it uses core audio and it's bang on time

Will try soloud  :D

Derron

Code (Blitzmax) Select

Import audio.soloud
Import audio.soloudaudio
'or sdl
'Import audio.soloudaudiosdl
'miniaudio
Import audio.soloudaudiominiaudio

SetAudioDriver("Soloud")


Should be enough.
With SoLoud you also gain the ability to stream your music files instead of loading+decoding them completely at once.


So a looped streamed sound:
local sound:TSound = LoadSound(url, SOUND_STREAM | SOUND_LOOP)


bye
Ron

wadmixfm


wadmixfm

Quote from: GfK on December 15, 2020, 14:59:07
I always used FreeAudio for MacOS, OpenAL for Windows.

Way too many issues with DirectSound/FreeAudio under Windows.

what will i need to get openAL going code wise in blitzmax NG

import ??

for loading oggs

etcccc....

cheers

lee

wadmixfm

ahhhh right nice one i will give that a try :)

thanks for the info

Lee