-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Get current ports of sink and source devices #1017
Comments
Calling const char *names = alcGetString(NULL, ALC_ALL_DEVICES_SPECIFIER);
while(names && *names)
{
printf("%s\n", names);
names += strlen(names)+1;
} It shouldn't freeze creating a context. Even if there's no devices, opening the default devices (using an empty name) should fail if there's nothing to open. Or if there is a device but it's unusable, opening the device or creating the context should fail. Something's wrong if it freezes. Can you provide a backtrace from a debug build? |
I think to compile a little CSharp project is more simple way. ` namespace ConsoleApp1; class Program
} The program is shutdown on context creation. |
Greetings!
Please advice me, how can i get actual info about current sink and source ports?
I want to my app is notifying user about connecting/disconnecting microphone and headphones. So, two state - no active sink/source port : active port is
port name
P.S.: likely error, after set log callback, i open device (with empty name) and create context for this device and all is freezed.
The text was updated successfully, but these errors were encountered: