フォーラム › TuneBrowser › IAudioClient3 in WASAPI? and error thrown in SHAREMODE_SHARED mode
-
投稿者投稿
-
2024-04-13 14:31 #14950storaid参加者
Hello, Tiki
1. Does TuneBrowser use IAudioClient3 (aka. low-latency mode) to create audio streams in some cases?
2. If I change the mode to Shared mode, an error will be thrown.
2024/04/13 13:27:09,954.267: T008ac: --- WASAPI Device: Shared Mode Buffer: Event Mode. 2024/04/13 13:27:09,954.494: T008ac: --- Preparing device for INT / 96000 Hz / 24 bit : [SONY TV *30 (NVIDIA High Definition Audio)] 2024/04/13 13:27:09,954.500: T008ac: Auto resampler: [If device does not support sample rate] 2024/04/13 13:27:09,954.509: T008ac: Device is requesting fixed sample rate 48000 Hz. 2024/04/13 13:27:09,954.518: T008ac: SR Table: 48000 2024/04/13 13:27:09,954.678: T008ac: DSP: Resampler turns to active. 2024/04/13 13:27:09,954.715: T008ac: Decoded sample rate changed from 96000 to 48000. 2024/04/13 13:27:09,954.740: T008ac: --- Try 1/1: Preparing device by [PCM] 48000 Hz. 2024/04/13 13:27:09,954.759: T008ac: Release AudioClient 000001D803981670. 2024/04/13 13:27:09,954.953: T008ac: Assign AudioClient 000001D803986410. 2024/04/13 13:27:09,955.216: T008ac: WASAPI EndpointVolume CH:8 PhysicalSpeakers:0x0000063f MixFormat CH:8 MixFormat Mask:0x0000063f 2024/04/13 13:27:09,955.221: T008ac: WASAPI device channel count is 8 (No update). 2024/04/13 13:27:09,955.225: T008ac: Try WASAPI Device: Shared / Event: 48000 Hz / 32 bit / 2 CHs 2024/04/13 13:27:09,955.339: T008ac: Bit Variation: Not BitPerfect and device is fixed samplerate: 32/32 -> 24/32 -> 24/24 -> 16/32 -> 16/24 -> 16/16 2024/04/13 13:27:09,961.481: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,961.490: T008ac: IAudioCilent::Initialize: Shared Mode|Event Mode| 48000 Hz|32/32 bit| 2 CH 2024/04/13 13:27:09,964.648: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,964.664: T008ac: BitForm:32 BitData:32 : Initialize failed. 2024/04/13 13:27:09,965.290: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,965.297: T008ac: IAudioCilent::Initialize: Shared Mode|Event Mode| 48000 Hz|24/32 bit| 2 CH 2024/04/13 13:27:09,968.040: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,968.060: T008ac: BitForm:32 BitData:24 : Initialize failed. 2024/04/13 13:27:09,968.714: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,968.721: T008ac: IAudioCilent::Initialize: Shared Mode|Event Mode| 48000 Hz|24/24 bit| 2 CH 2024/04/13 13:27:09,971.468: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,971.483: T008ac: BitForm:24 BitData:24 : Initialize failed. 2024/04/13 13:27:09,972.112: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,972.119: T008ac: IAudioCilent::Initialize: Shared Mode|Event Mode| 48000 Hz|16/32 bit| 2 CH 2024/04/13 13:27:09,974.828: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,974.844: T008ac: BitForm:32 BitData:16 : Initialize failed. 2024/04/13 13:27:09,975.565: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,975.577: T008ac: IAudioCilent::Initialize: Shared Mode|Event Mode| 48000 Hz|16/24 bit| 2 CH 2024/04/13 13:27:09,978.199: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,978.213: T008ac: BitForm:24 BitData:16 : Initialize failed. 2024/04/13 13:27:09,978.829: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,978.839: T008ac: IAudioCilent::Initialize: Shared Mode|Event Mode| 48000 Hz|16/16 bit| 2 CH 2024/04/13 13:27:09,981.522: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,981.539: T008ac: BitForm:16 BitData:16 : Initialize failed. 2024/04/13 13:27:09,981.548: T008ac: Error: No format matched. 2024/04/13 13:27:09,981.555: T008ac: PrepareDevice result: OutOfSpec 2024/04/13 13:27:09,981.567: T008ac: Sample rate is out of spec. 2024/04/13 13:27:09,981.576: T008ac: --- WASAPI Device: Shared Mode Buffer: Push Mode. 2024/04/13 13:27:09,981.732: T008ac: DSP: DSP array is disabled. 2024/04/13 13:27:09,981.755: T008ac: Decoded sample rate changed from 48000 to 96000. 2024/04/13 13:27:09,985.649: T008ac: --- Preparing device for INT / 96000 Hz / 24 bit : [SONY TV *30 (NVIDIA High Definition Audio)] 2024/04/13 13:27:09,985.657: T008ac: Auto resampler: [If device does not support sample rate] 2024/04/13 13:27:09,985.661: T008ac: Device is requesting fixed sample rate 48000 Hz. 2024/04/13 13:27:09,985.670: T008ac: SR Table: 48000 2024/04/13 13:27:09,985.852: T008ac: DSP: Resampler turns to active. 2024/04/13 13:27:09,985.895: T008ac: Decoded sample rate changed from 96000 to 48000. 2024/04/13 13:27:09,985.916: T008ac: --- Try 1/1: Preparing device by [PCM] 48000 Hz. 2024/04/13 13:27:09,985.945: T008ac: Release AudioClient 000001D803986410. 2024/04/13 13:27:09,986.121: T008ac: Assign AudioClient 000001D803986410. 2024/04/13 13:27:09,986.391: T008ac: WASAPI EndpointVolume CH:8 PhysicalSpeakers:0x0000063f MixFormat CH:8 MixFormat Mask:0x0000063f 2024/04/13 13:27:09,986.396: T008ac: WASAPI device channel count is 8 (No update). 2024/04/13 13:27:09,986.401: T008ac: Try WASAPI Device: Shared / Push: 48000 Hz / 32 bit / 2 CHs 2024/04/13 13:27:09,986.514: T008ac: Bit Variation: Not BitPerfect and device is fixed samplerate: 32/32 -> 24/32 -> 24/24 -> 16/32 -> 16/24 -> 16/16 2024/04/13 13:27:09,987.252: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,987.260: T008ac: IAudioCilent::Initialize: Shared Mode|Push Mode| 48000 Hz|32/32 bit| 2 CH 2024/04/13 13:27:09,990.032: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,990.046: T008ac: BitForm:32 BitData:32 : Initialize failed. 2024/04/13 13:27:09,990.698: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,990.705: T008ac: IAudioCilent::Initialize: Shared Mode|Push Mode| 48000 Hz|24/32 bit| 2 CH 2024/04/13 13:27:09,993.592: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,993.616: T008ac: BitForm:32 BitData:24 : Initialize failed. 2024/04/13 13:27:09,994.255: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,994.265: T008ac: IAudioCilent::Initialize: Shared Mode|Push Mode| 48000 Hz|24/24 bit| 2 CH 2024/04/13 13:27:09,996.935: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:09,996.951: T008ac: BitForm:24 BitData:24 : Initialize failed. 2024/04/13 13:27:09,997.621: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:09,997.628: T008ac: IAudioCilent::Initialize: Shared Mode|Push Mode| 48000 Hz|16/32 bit| 2 CH 2024/04/13 13:27:10,000.094: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:10,000.109: T008ac: BitForm:32 BitData:16 : Initialize failed. 2024/04/13 13:27:10,000.744: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:10,000.750: T008ac: IAudioCilent::Initialize: Shared Mode|Push Mode| 48000 Hz|16/24 bit| 2 CH 2024/04/13 13:27:10,003.220: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:10,003.234: T008ac: BitForm:24 BitData:16 : Initialize failed. 2024/04/13 13:27:10,003.871: T008ac: Using Buffer(RT) 2000000, Period(RT) 0. 2024/04/13 13:27:10,003.878: T008ac: IAudioCilent::Initialize: Shared Mode|Push Mode| 48000 Hz|16/16 bit| 2 CH 2024/04/13 13:27:10,006.593: T008ac: IAudioCilent::Initialize(1) Result: [AUDCLNT_E_UNSUPPORTED_FORMAT] 2024/04/13 13:27:10,006.609: T008ac: BitForm:16 BitData:16 : Initialize failed. 2024/04/13 13:27:10,006.616: T008ac: Error: No format matched. 2024/04/13 13:27:10,006.622: T008ac: PrepareDevice result: OutOfSpec 2024/04/13 13:27:10,006.636: T008ac: Sample rate is out of spec. 2024/04/13 13:27:10,006.746: T008ac: Post PlayerNotify: 7317 [SpecUpdate] 2024/04/13 13:27:10,006.814: T008ac: PlayerPlayStatus: [Playing] -> [Error] 2024/04/13 13:27:10,006.822: T008ac: Post PlayerNotify: 0043 [PlayStatus] 2024/04/13 13:27:10,006.831: T008ac: Error: Playback decvice does not support this spec: \\10.1.1.127\music\[Hi-Res]TVアニメ「Re:ゼロから始める異世界生活」サウンドトラック/末廣健一郎\1-0008002799.flac
* tested foobar2000 with Shared mode: SSRC(mixer) is working fine.
2024-04-13 14:32 #14951storaid参加者my running audio driver is nVIDIA HDMI GPU Driver.
2024-04-13 17:05 #14952TikiキーマスターHello.
1. IAudioClient3 is not using.
2. I do not know the exact reason for the error. This may be because the requested number of channels 2 is different from the number of channels 8 in your device. I thought most devices support 2 channels, but your device may not. I will try to work something out.
2024-04-13 18:32 #14954storaid参加者Hello, Tiki
I had a test about speaker channel settings…
seems like it’s working fine with 2-ch
2024-04-13 20:50 #14955TikiキーマスターI see. Thanks.
2024-04-14 21:01 #14960TikiキーマスターHello.
In version 1744, I tried to attempt the number of channels on both the decoding and device side.
Please try this version when you have time.
2024-04-14 21:21 #14962storaid参加者Hi,
waiting for your new release.
now the download link is still v1743.
2024-04-14 21:43 #14963TikiキーマスターHere, please.
2024-04-14 21:46 #14964storaid参加者Hello, Tiki
No AVX2 version?
2024-04-14 21:51 #14965TikiキーマスターI think there is an AVX2 version, am I mistaken?
2024-04-14 21:53 #14966storaid参加者Hi,
the link for AVX2 is still v1743 I checked, not v1744
2024-04-14 22:01 #14967TikiキーマスターOh, it is funny… I downloaded them (exe and zip) again, and these are 1744.
2024-04-14 22:26 #14968storaid参加者Hello, Tiki
I downloaded it again and confirmed that it’s v1744 now.
and, tested 2ch and multi-channel format files, including DSD file format.
it’s good working now..
Thanks
2024-04-14 22:56 #14970TikiキーマスターThank you for your confirmation.
Can you attach a log file for the case of [SONY TV *30 (NVIDIA High Definition Audio)]?
2024-04-14 23:03 #14971storaid参加者2024-04-14 23:10 #14973storaid参加者sorry
that log is about WASPI-exclusive..
plz check the new log
Attachments:
2024-04-15 18:50 #14976TikiキーマスターThank you for attaching logs.
I have confirmed that it works as I expected.
Thank you.
-
投稿者投稿
- トピック「IAudioClient3 in WASAPI? and error thrown in SHAREMODE_SHARED mode」には新しい返信をつけることはできません。