HelloTim,
notaKSDATAFORMAT_WAVEFORMATEX,sothereisnoassociated
WAVEFORMATEXstructure.
Butwhatcouldbeareasonforsuchlogic?
KSPROPERTY_PIN_PROPOSEDATAFORMATisthespecificdataformat
propertyrequest,notawide-purpose,universalone.MSdocssaidthat
propertyvalueisKSDATAFORMAT,therearenoothervaluetypes.
...
[wdmaudiodev] Re: KSPROPERTY_PIN_PROPOSEDATAFORMAT/SET is called with invalid data
↧
↧
[wdmaudiodev] Re: KSPROPERTY_PIN_PROPOSEDATAFORMAT/SET is called with invalid data
*Whatcouldbeareason
Dunno.GivemeadumpfileandI’lltellyoubasedonthestack.Ifit’sa
Windowsbugthestackwillidentifytheculprit.
________________________________
...
↧
[wdmaudiodev] Re: KSPROPERTY_PIN_PROPOSEDATAFORMAT/SET is called with invalid data
HelloMatthew,
tome?IcanlookatthestackandtrytofigureoutwhyWindowsismaking
thecall.
Thankyouforhelp.IhavesentdumpfilelinktoyouremailatMS
domain.
Thestackshowsthatpropertyrequestwasissuedbysvchost.exe
...
↧
[wdmaudiodev] KSPROPERTY_AUDIO_POSITION and position register value relationship
TheAudioPositionPropertyarticle
(
saysthatWaveRTdrivercanprovidepositionregistervaluedirectly
asGetPositionresult:
===============
Someaudiohardwarecontainsapositionregistertokeeptrackofthe
byteoffsetofthesamplecurrentlyineachDACorADC,inwhichcase
theGetPositionmethodsimplyretrievesthecontentsoftheposition
registerfortheappropriatestream.
...
↧
[wdmaudiodev] Re: KSPROPERTY_AUDIO_POSITION and position register value relationship
Forthe“positionregister”valueareyoulookingat
KSPROPERTY_RTAUDIO_POSITIONREGISTER,or
KSPROPERTY_RTAUDIO_PRESENTATION_POSITION,orboth?
________________________________
From:wdmaudiodev-bounce@xxxxxxxxxxxxxwdmaudiodev-bounce@xxxxxxxxxxxxxon
behalfofEugeneMuzychenkoreg.wad@xxxxxxxxxxxxxx
Sent:Thursday,December7,20171:14:19AM
...
↧
↧
[wdmaudiodev] Re: KSPROPERTY_AUDIO_POSITION and position register value relationship
HelloMatthew,
KSPROPERTY_RTAUDIO_POSITIONREGISTER,or
KSPROPERTY_RTAUDIO_PRESENTATION_POSITION,orboth?
KSPROPERTY_RTAUDIO_POSITIONREGISTERonly.I'mtryingtomakeamost
compatibleRTAudioclient.
Regards,
...
↧
[wdmaudiodev] Re: KSPROPERTY_AUDIO_POSITION and position register value relationship
TL:DR;thissoundslikeabugineithertheMicrosoftHDAudioclassdriver,
theRealtekdriver,theHDAudiocontrollerdriver,orthehardware.
MakinganRTAudioclientischallengingbecausethereareseveralflavorsof
RTAudio:
1.Packetstreaming-
KSPROPERTY_RTAUDIO_GETREADPACKET/KSPROPERTY_RTAUDIO_SETWRITEPACKET
2.RTstreaming
...
↧
[wdmaudiodev] Re: KSPROPERTY_AUDIO_POSITION and position register value relationship
HelloMatthew,
RTAudio:
Yes,Iunderstand.Inmyexperiments,basicRTstreaming(introducedin
Vista)isreliableenough.
KSPROPERTY_RTAUDIO_GETREADPACKET/KSPROPERTY_RTAUDIO_SETWRITEPACKET
...
↧
[wdmaudiodev] Re: USB Audio Class 2 driver and MIDI
We’relookingatyourlogsandweneedsomemoreinformation.Canyousendthe
USBdescriptorofthedevice?
1.RunUsbView
2.GototheOptionsmenuandmakesure“ShowConfigDescriptors”ischecked
3.ClickontheportthattheUSBdeviceispluggedinto
4.Right-clickontherighthalfofthescreenwherethetextis|SelectAll
5.Right-clickagain|Copy
...
↧
↧
[wdmaudiodev] Re: USB Audio Class 2 driver and MIDI
[Port3]:USBCompositeDevice
IsPortUserConnectable:yes
IsPortDebugCapable:no
CompanionPortNumber:1
CompanionHubSymbolicLinkName:
USB#ROOT_HUB30#52dcc0ca900#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
ProtocolsSupported:
USB1.1:yes
...
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
HelloMatthew,
AtMar1,2017youwrote:
bedefault.
PKEY_AudioDevice_NeverSetAsDefaultEndpoint
Ihavethesameproblemasthetopicstarter,andadded
...
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
Expectedbehaviorforthepropertykeyistopreventtheendpointfrombecoming
thedefaultunderanycircumstances.(Ifitistheonlyendpoint,thenthere
willbenodefault,justasiftherewerenoendpointsatall.)
Ifyouwanttoallowtheendpointtobethedefault(byuserchoice),butjust
makeitmuchlessattractivethantheotherendpointsonthesystem,thenthe
propertykeyisnotforyou.Asanalternativeyoucouldtakealookatthe
Windowsdefaultdeviceselectionheuristics:
...
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
My2centsonthis
MSshouldaddacommoncheckboxtoallownew/installeddevicestoget
automaticallygetasadefaultornot.
...
↧
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
PleasefileafeaturerequestinFeedbackHubunderDevicesandDrivers|Audio
andsound
________________________________
From:wdmaudiodev-bounce@xxxxxxxxxxxxxwdmaudiodev-bounce@xxxxxxxxxxxxxon
behalfofSupportHpW-Works.comsupport@xxxxxxxxxxxxx
Sent:Wednesday,December20,20178:13:05AM
To:wdmaudiodev@xxxxxxxxxxxxx
Subject:[wdmaudiodev]Re:UnexpecteddefaultsounddeviceonWindows10
...
↧
[wdmaudiodev] Re: USB Audio Class 2 driver and MIDI
Thanks,that’shelpful.
Thedocumentationyouquoteinthebeginningofthethreadisalittleunclear,
buttheintendedmessagewasthis:
MicrosofthastwodifferentUSBAudiodrivers.Thefirstdriver(introducedin
Windows98)iswdma_usb.inf/usbaudio.sysandsupportsUSBAudio1.0,including
MIDI.Theseconddriver(introducedinanupdatetoWindows10)is
usbaudio2.inf/usbaudio2.sysandsupportsUSBAudio2.0streaming…butnotMIDI.
...
↧
[wdmaudiodev] Re: USB Audio Class 2 driver and MIDI
HelloMatthew,
thankyouforclarification.IsthereanychancethattheMIDIcodeoftheUSB
AudioClass1drivermakesitintotheAudioClass2version?Orthatthe
CompositeDriverdetectsthiscaseandinstantiatestheUAC1driverforthe
MIDIfunction?
WhensplittingAudioandMIDIintotwoseparatefunctionsoneneedstwo
InterfaceAssociationdescriptorsintheConfigurationdescriptor.TheUSB
specificationisalittlebitunclearonwhetheranOSshouldsupportthis.
...
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
frombecomingthedefaultunderanycircumstances.
ButinsuchcaseWindowsshouldnotselectthisendpointasadefault
playbackoneautomaticallyuponinstallation,right?However,
10.0.16299.15and10.0.16299.64alwaysselectsuchendpoints,
preferringthemtoSpeakersofRealtekHD.
...
↧
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
frombecomingthedefaultunderanycircumstances.
ButinsuchcaseWindowsshouldnotselectthisendpointasadefault
playbackoneautomaticallyuponinstallation,right?However,
10.0.16299.15and10.0.16299.64alwaysselectsuchendpoints,
preferringthemtoSpeakersofRealtekHD.
...
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
*InsuchcaseWindowsshouldnotselectthisendpointasadefault
playbackoneautomaticallyuponinstallation
Right.Ifyou’reseeinga“neversetasdefault”endpointbeingautomatically
chosenasdefault,that’sabadbuginWindows.
...
↧
[wdmaudiodev] Re: Unexpected default sound device on Windows 10
thingsyoucandoisdecrysupportforjackpresencedetection
It'snotagoodwayforme.:(Iusejackpresencedetectionto
dynamicallyenable/disabledifferentvirtualsourcelinetypesona
userrequest.Alltheselinesarerepresentedbyseveralfilterpins
sochangingthisalgorithmtodynamicsubdeviceregister/unregister
wouldrequiretosplitthemamongseveralfilters.
IthinkWindowsshouldofferawaytodisableautomaticselectionan
...
↧
More Pages to Explore .....