Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML with PortAudio and ASIO driver  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

turtloss

  • Newbie
  • *
  • Posts: 1
    • View Profile
SFML with PortAudio and ASIO driver
« on: August 07, 2023, 06:29:42 pm »
Hi,
I compiled PortAudio to only use ASIO because I need minimal latency. When I include SFML in this project, Im unable to play any audio with it. My guess is that SFML doesn't/cannot use ASIO(by default?). Is there a way to make SFML use ASIO? MME/WASAPI PortAudio builds work with SFML but there is a big latency. Thanks

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11016
    • View Profile
    • development blog
    • Email
Re: SFML with PortAudio and ASIO driver
« Reply #1 on: August 15, 2023, 07:57:29 am »
PortAudio running on Windows? I thought this was Linux only.

SFML uses OpenAL-soft as audio interfacing, so I guess the question is, whether OpenAL-soft can interface with ASIO, and I don't know the answer to that. ;D
Maybe check with the OpenAL-soft community.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/