Closed arebee closed 7 years ago
Further investigation indicates that this is caused by certain combinations of settings in the classic Sound Control Panel "Default Format" setting in the Advanced tab of the audio rendering device causes the problem. Attached is a Problem Screen Recording of some combinations of the settings and the error being manifested in Dopamine. sound-error-in-Dopamine.zip
Thanks for the detailed description (thumbs up for the recording :) ). Seems like it fails to find a proper format. Going to have a look at it. One more question: Do you have a surround system configured? And could you may provide the wma file? Maybe this is related to #143. If so, the issue should be fixed with the next CSCore release.
No surround setup. It's a CD rip so I can't send it.
From DXDIAG
Operating System: Windows 10 Pro 64-bit (10.0, Build 14393) (14393.rs1_release_inmarket.161014-1755)
-------------
Sound Devices
-------------
Description: Speakers / Headphones (Realtek High Definition Audio)
Default Sound Playback: Yes
Default Voice Playback: Yes
Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0280&SUBSYS_102805A6&REV_1000
Manufacturer ID: 1
Product ID: 100
Type: WDM
Driver Name: RTDVHD64.sys
Driver Version: 6.00.0001.6075 (English)
Driver Attributes: Final Retail
WHQL Logo'd: Yes
Date and Size: 6/30/2015 12:00:00 AM, 2558208 bytes
Other Files:
Driver Provider: Realtek Semiconductor Corp.
HW Accel Level: Basic
Cap Flags: 0xF1F
Min/Max Sample Rate: 100, 200000
Static/Strm HW Mix Bufs: 1, 0
Static/Strm HW 3D Bufs: 0, 0
HW Memory: 0
Voice Management: No
EAX(tm) 2.0 Listen/Src: No, No
I3DL2(tm) Listen/Src: No, No
Sensaura(tm) ZoomFX(tm): No
Well, I'm sorry for the late response. I've finally fixed the problem. For me it seems to be some kind of bug within the Wasapi API.
Using both Dopamine and Hurricane, an exception is thrown when attempting to play a WMA Lossless file encoded using 24bit/44.1kHz. Groove Music and VLC play the file correctly. Note the exception and HResult listed in the log excerpt below.