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

Author Topic: [SOLVED] Unable to play music when certain other audio apps are open  (Read 12772 times)

0 Members and 1 Guest are viewing this topic.

Ragbot

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
I was trying out MAGIX and after getting bored I left it open in the background then went and started testing my project which was supposed to play some audio but it started printing out this error

Quote
AL lib: (EE) ALCmmdevPlayback_resetProxy: Failed to initialize audio client: 0x8889000a
Failed to create the audio context

and after I closed MAGIX...
It started playing it properly so is this a bug or is there some way I can fix this? :-[

also, it works fine with other apps like chrome and windows media player
« Last Edit: June 19, 2021, 04:01:07 pm by Ragbot »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Unable to play music when certain other audio apps are open
« Reply #1 on: June 14, 2021, 09:08:46 am »
Certain audio applications can hold exclusive rights to an audio device. It's kind of expected behavior.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Ragbot

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Re: Unable to play music when certain other audio apps are open
« Reply #2 on: June 14, 2021, 10:44:14 am »
Is there any way to fix it?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Unable to play music when certain other audio apps are open
« Reply #3 on: June 14, 2021, 10:51:25 am »
I think depending on the API/driver picked in MAGIX or similar applications, you can get both to run at the same time.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Unable to play music when certain other audio apps are open
« Reply #4 on: June 16, 2021, 10:18:22 pm »
It's common in audio creation software. It needs full control to do what it does to how you expect it to do it.
You should, however, be able to tell the software to not hold those exclusive rights. It would depending on the software whether this is an option or not.
You would turn off the exclusive control while using other things but likely turn it back on if you were doing anything particularly audio-intensive within the audio software.

If you don't do anything particularly intensive in the audio software and it allows you to relinquish its exclusive hold, you can try leaving it off.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

 

anything