-
Notifications
You must be signed in to change notification settings - Fork 78
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
Fails to create buffer with 24 bit/96K sampling #11
Comments
One thing that slipped my mind and that I should have led with during our email conversation: if you want a given sample rate to work, you need to make sure that it matches the sampling rate that Windows is using with your input and output devices, as configured in the Windows sound control panel. That's a limitation of WASAPI Shared, which doesn't support resampling. From the README:
So, in your case, you need to make sure your HDMI audio output is set to 96 kHz in the Windows audio settings (not just your application). With most host applications, you also need to make sure that your default input device is also set to 96 kHz, even if you're not using the input. Please confirm that is the case. |
Etienne -
Yes - I assumed that and set the sampling rate in Windows 10.
Let me check the input - I'm not sure whether one is even set. I'll go
look.
Charlie
…On Tue, Oct 16, 2018 at 2:12 PM Etienne Dechamps ***@***.***> wrote:
One thing that slipped my mind and that I should have led with during our
email conversation: if you want a given sample rate to work, you need to
make sure that it matches the sampling rate that Windows is using with your
input *and* output devices, as configured in the Windows sound control
panel. That's a limitation of WASAPI Shared, which doesn't support
resampling.
So, in your case, you need to make sure your HDMI audio output is set to
96 kHz in the Windows audio settings (not just your application). You also
need to make sure that your default input device is also set to 96 kHz, *even
if you're not using the input*. Please confirm that is the case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AqKfj2z0XkTpn5SogTd6Pc9FdosyXVbvks5ulj2agaJpZM4XhQJf>
.
--
Charles McMillan
|
Etienne -
Sorry - I can't do the test on the input. I have input devices that should
go to 96K sampling. However, they are old and the drivers don't work right
in windows 10.
Charlie
On Tue, Oct 16, 2018 at 2:30 PM Charles McMillan <[email protected]>
wrote:
… Etienne -
Yes - I assumed that and set the sampling rate in Windows 10.
Let me check the input - I'm not sure whether one is even set. I'll go
look.
Charlie
On Tue, Oct 16, 2018 at 2:12 PM Etienne Dechamps ***@***.***>
wrote:
> One thing that slipped my mind and that I should have led with during our
> email conversation: if you want a given sample rate to work, you need to
> make sure that it matches the sampling rate that Windows is using with your
> input *and* output devices, as configured in the Windows sound control
> panel. That's a limitation of WASAPI Shared, which doesn't support
> resampling.
>
> So, in your case, you need to make sure your HDMI audio output is set to
> 96 kHz in the Windows audio settings (not just your application). You also
> need to make sure that your default input device is also set to 96 kHz, *even
> if you're not using the input*. Please confirm that is the case.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#11 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AqKfj2z0XkTpn5SogTd6Pc9FdosyXVbvks5ulj2agaJpZM4XhQJf>
> .
>
--
Charles McMillan
--
Charles McMillan
|
Let me know if I can help - probably with the testing.
charlie
On Tue, Oct 16, 2018 at 4:28 PM Etienne Dechamps ***@***.***> wrote:
Ok. Once #4 <#4>, #5
<#5>, and #6
<#6> are done we can take a
closer look as to why exactly FlexASIO is failing and what can be done
about it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AqKfj3B4ONoLJYsSn5kL1Lvj27hM0lOeks5ull2jgaJpZM4XhQJf>
.
--
Dr. Charles F. McMillan
|
@cfmcmillan: please try again with the new FlexASIO 0.3 release. If it still doesn't work, please gather logs as explained in the README and attach them here. I'm most interested in the logs when you attempt to use FlexASIO with a 96 kHz sample rate in your application, though it wouldn't hurt to attach FlexASIOTest logs as well. |
Etienne -
Attached is the log file. It doesn't look like it's working at any sample
rate now. From my quick look at the log file, it looks as though, at least
in some cases, the Hauptwerk sample set is trying to set the sample rate to
44.1.
However, something isn't working.
At the beginning of the file, you can also see that I ran FlexASIOTest - it
seemed to work alright. I had several different sample rates set in
windows.
Best,
Charlie
…On Wed, Oct 24, 2018 at 4:17 PM Etienne Dechamps ***@***.***> wrote:
@cfmcmillan <https://github.com/cfmcmillan>: please try again with the
new FlexASIO 0.3
<https://github.com/dechamps/FlexASIO/releases/tag/flexasio-0.3> release.
If it still doesn't work, please gather logs as explained in the README and
attach them here. I'm most interested in the logs when you attempt to use
FlexASIO with a 96 kHz sample rate in your application, though it wouldn't
hurt to attach FlexASIOTest logs as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AqKfjwuT-0NzuJoKTz4KnL-bN3-64VPVks5uoObfgaJpZM4XhQJf>
.
--
Charles McMillan
|
@cfmcmillan: I'm afraid I didn't get your logfile. I don't think you can send files to Github by commenting via e-mail; you need to comment directly on the GitHub issue page and attach your logfile there. |
OK -
Let me work it. Unfortunately, I have a busy schedule for the next day or
two, so it may be a few days before I can get it to you. I still have it
on the disk.
Best,
Charlie
…On Thu, Oct 25, 2018 at 4:16 PM Etienne Dechamps ***@***.***> wrote:
@cfmcmillan <https://github.com/cfmcmillan>: I'm afraid I didn't get your
logfile. I don't think you can send files to Github by commenting via
e-mail; you need to comment directly on the GitHub issue page and attach
your logfile there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AqKfj4kV0ENWJi3E15KTxgFVAd2GKBEmks5uojgxgaJpZM4XhQJf>
.
--
Charles McMillan
|
@cfmcmillan: you should be able to work around your issue with FlexASIO 0.4 which I just released, as it allows you to choose which backend to use. I would expect the new default backend, DirectSound, to not have this issue. In any case, if you're still having this problem with the WASAPI Shared backend, I am still interested in seeing a log, if only to determine if there is indeed a bug to be hunted down. |
Etienne - Sorry for the long delay - here's the log file. With luck, this will come through. Charlie |
Thanks. You were saying that you were having problems with the sample rate set to to 96 kHz. However, according to the log, your application is not even trying to use 96 kHz, it's trying to use 44.1 kHz :
That said, 96 kHz wouldn't work anyway, according to
That said, it looks like your application only cares about output, not input. Despite that, FlexASIO still tries to open an input, because of #24 (which should be fixed eventually). This is probably making your life harder because it requires the input device to have a matching sample rate. To avoid this, use FlexASIO 0.5a and the following configuration: backend = "Windows WASAPI"
[input]
device = "" This should make things easier because it will tell FlexASIO not to attempt to use an input at all, so that you only need to care about the settings of the output device. If you are still having issues with that configuration, please send another log. |
FlexASIO 1.0 which I just released includes some improvements in this area. Please try it and send an updated log if you still can't make it work. |
Etienne - Unfortunately, I have changed my hardware and can no longer test in the configuration I was using before. Many thanks for your help in working to solve this. |
Using a GTX 1050 ti HDMI output for multi-channel audio output with Hauptwerk as the host. Buffering works correctly when sampling is set to 24 bit/48K. However, when it is set to 24 bit/96K, Hauptwerk generates the following error message:
"Could not create audio output buffers for ASIO driver 'ASIO:FlexASIO' with a buffer size of 1024 sample frames. Please try re-booting the computer. (Operating system message: ASE_HWMalfunction, code: -999)
Rebooting doesn't fix the problem, setting the sample rate back to 48K does.
The text was updated successfully, but these errors were encountered: