MediaPortal Audio renderer - better video playback quality (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: MediaPortal Audio renderer - better video playback quality

    tourettes
    has anything changed in the build requirements?
    I'm getting:
    Error 1 error C2065: 'PKEY_AudioEndpoint_Supports_EventDriven_Mode' : undeclared identifier Accurate_sync\audio renderer\source\MpAudioRenderer.cpp 1461 AudioRenderer
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: AW: MediaPortal Audio renderer - better video playback quality

    @tourettes
    has anything changed in the build requirements?
    I'm getting:
    Error 1 error C2065: 'PKEY_AudioEndpoint_Supports_EventDriven_Mode' : undeclared identifier Accurate_sync\audio renderer\source\MpAudioRenderer.cpp 1461 AudioRenderer

    Seems so :)

    DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Supports_EventDriven_Mode, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 7);

    Is defined in mmdeviceapi.h, make sure that is found in there. If not the SDK is most likely too old.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    note : a new WASAPIPreferredDeviceForBitstreaming registry key would be useful.
    Yes, but that would require new code as well (bitstreaming or at least detecting the bitstreanable content). This depends highly how ffdshow has been implemented and if it is providing enough information.
    But it wll come later...

    No no. I'll explain better. a WASAPIPreferredDeviceForBitstreaming that audio renderer use when EnableAC3Encoding=1 and the
    WASAPIPreferredDevice when EnableAC3Encoding is disabled. Much much simple you've undestand .
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Re: AW: MediaPortal Audio renderer - better video playback quality

    @tourettes
    has anything changed in the build requirements?
    I'm getting:
    Error 1 error C2065: 'PKEY_AudioEndpoint_Supports_EventDriven_Mode' : undeclared identifier Accurate_sync\audio renderer\source\MpAudioRenderer.cpp 1461 AudioRenderer

    Seems so :)

    DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Supports_EventDriven_Mode, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 7);

    Is defined in mmdeviceapi.h, make sure that is found in there. If not the SDK is most likely too old.

    :oops: and :D my environment variable was set to the wrong path.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    note : a new WASAPIPreferredDeviceForBitstreaming registry key would be useful.
    Yes, but that would require new code as well (bitstreaming or at least detecting the bitstreanable content). This depends highly how ffdshow has been implemented and if it is providing enough information.
    But it wll come later...

    No no. I'll explain better. a WASAPIPreferredDeviceForBitstreaming that audio renderer use when EnableAC3Encoding=1 and the
    WASAPIPreferredDevice when EnableAC3Encoding is disabled. Much much simple you've undestand .

    Oh, now I see. I think it would be better to allow three different WASAPI devices to be set

    1) for LPCM
    2) for AC3
    3) for true bitstreaming

    ...since who knows how the drivers (or the audio renderer) itself behave with some devices :D
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    52
    Bolzano
    Home Country
    Italy Italy
    I just get back from vacation, I will make some more tests of current builds next week to give additional feedback.
     

    Users who are viewing this thread

    Top Bottom