WASAPI not play flac 5.1 music on another HTPC selected BASS, all excellent plays, there is not. (1 Viewer)

CypherMK

MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Maybe it is a good idea to lower the default buffer, to avoid these threads.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Maybe it is a good idea to lower the default buffer, to avoid these threads.
    I assume it was set to 0.5 by default, for a specific reason, although i don't know what ;)

    @hwahrmann any thoughts on the default buffer size setting?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Unfortunately it is not so easy to lower the buffer size in general.
    Setting the value too low, might cause the same issue on some systems.

    I'll try to detect the latency of the device within config. In most of the cases it works and i can set a correct buffer size.
    on some devices it fails.
     

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Maybe 0.4 is the sweet spot for most systems
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,645
    10,586
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #16
    @HomeY @CypherMK @hwahrmann - Save me, help me!

    Do not play music. All connected like this:
    Mediaportal - WASAPI (Exclusive) - Intel HD Audio - HDMI - Pioneer VSX-828 ...

    Windows system sounds audible and everything works, films and videos as well, but the music (MP3, FLAC, DTS) in any way, such as double-checked everything, but where would have to dig even know :(

    Logs in an attachment, but there is at first sight very well:
    Code:
    [2014-09-18 22:37:54,246] [Log    ] [MPMain   ] [INFO ] - g_Player.Play(M:\Music\Loseless\Jean Michel Jarre\2004 - Aero\Jean Michel Jarre - AERO.cue.fake.track.01.dts Music)
    [2014-09-18 22:37:54,246] [Log    ] [MPMain   ] [DEBUG] - PlayerFactory: Successfully created player instance for file - M:\Music\Loseless\Jean Michel Jarre\2004 - Aero\Jean Michel Jarre - AERO.cue.fake.track.01.dts
    [2014-09-18 22:37:54,247] [Log    ] [MPMain   ] [DEBUG] - BASS: Playing CUE Track: M:\Music\Loseless\Jean Michel Jarre\2004 - Aero\Jean Michel Jarre - AERO.cue.fake.track.01.dts
    [2014-09-18 22:37:54,253] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-09-18 22:37:54,253] [Log    ] [MPMain   ] [INFO ] - BASS: Creating BASS audio stream
    [2014-09-18 22:37:54,266] [Log    ] [MPMain   ] [INFO ] - BASS: Stream Information
    [2014-09-18 22:37:54,266] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-09-18 22:37:54,266] [Log    ] [MPMain   ] [INFO ] - BASS: File: M:\Music\Loseless\Jean Michel Jarre\2004 - Aero\Jean Michel Jarre - AERO.dts
    [2014-09-18 22:37:54,266] [Log    ] [MPMain   ] [DEBUG] - BASS: Type of Stream: BASS_CTYPE_STREAM_WAV_PCM
    [2014-09-18 22:37:54,267] [Log    ] [MPMain   ] [INFO ] - BASS: Number of Channels: 2
    [2014-09-18 22:37:54,267] [Log    ] [MPMain   ] [INFO ] - BASS: Stream Samplerate: 44100
    [2014-09-18 22:37:54,267] [Log    ] [MPMain   ] [DEBUG] - BASS: Stream Flags: BASS_MUSIC_FLOAT, BASS_MUSIC_DECODE, BASS_UNICODE
    [2014-09-18 22:37:54,267] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-09-18 22:37:54,267] [Log    ] [MPMain   ] [DEBUG] - BASS: Registering stream playback events
    [2014-09-18 22:37:54,267] [Log    ] [MPMain   ] [INFO ] - BASS: Successfully created BASS audio stream
    [2014-09-18 22:37:54,268] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-09-18 22:37:54,268] [Log    ] [MPMain   ] [DEBUG] - BASS: ---------------------------------------------
    [2014-09-18 22:37:54,268] [Log    ] [MPMain   ] [DEBUG] - BASS: Creating BASS mixer stream
    [2014-09-18 22:37:54,268] [Log    ] [MPMain   ] [DEBUG] - BASS: Found more output channels (6) than input channels (2). Check for upmixing.
    [2014-09-18 22:37:54,268] [Log    ] [MPMain   ] [INFO ] - BASS: No upmixing of Stereo selected
    [2014-09-18 22:37:54,268] [Log    ] [MPMain   ] [DEBUG] - BASS: Creating 2 channel mixer with sample rate of 44100
    [2014-09-18 22:37:54,269] [Log    ] [MPMain   ] [INFO ] - BASS: Initialising WASAPI device
    [2014-09-18 22:37:54,269] [Log    ] [MPMain   ] [DEBUG] - BASS: Freed WASAPI device
    [2014-09-18 22:37:54,270] [Log    ] [MPMain   ] [DEBUG] - BASS: Try to init WASAPI with a Frequency of 44100 and 2 channels
    [2014-09-18 22:37:54,279] [Log    ] [MPMain   ] [DEBUG] - BASS: ---------------------------------------------
    [2014-09-18 22:37:54,279] [Log    ] [MPMain   ] [DEBUG] - BASS: Buffer Length: 143360
    [2014-09-18 22:37:54,279] [Log    ] [MPMain   ] [DEBUG] - BASS: Channels: 2
    [2014-09-18 22:37:54,279] [Log    ] [MPMain   ] [DEBUG] - BASS: Frequency: 44100
    [2014-09-18 22:37:54,279] [Log    ] [MPMain   ] [DEBUG] - BASS: Format: BASS_WASAPI_FORMAT_24BIT
    [2014-09-18 22:37:54,280] [Log    ] [MPMain   ] [DEBUG] - BASS: InitFlags: BASS_WASAPI_EXCLUSIVE, BASS_WASAPI_AUTOFORMAT, BASS_WASAPI_BUFFER
    [2014-09-18 22:37:54,280] [Log    ] [MPMain   ] [DEBUG] - BASS: Exclusive: True
    [2014-09-18 22:37:54,280] [Log    ] [MPMain   ] [DEBUG] - BASS: ---------------------------------------------
    [2014-09-18 22:37:54,280] [Log    ] [MPMain   ] [INFO ] - BASS: WASAPI Device successfully initialised
    [2014-09-18 22:37:54,281] [Log    ] [MPMain   ] [DEBUG] - BASS: Successfully created BASS Mixer stream
    [2014-09-18 22:37:54,281] [Log    ] [MPMain   ] [INFO ] - BASS: playback started
    [2014-09-18 22:37:54,282] [Log    ] [MPMain   ] [INFO ] - g_Player.OnStarted() M:\Music\Loseless\Jean Michel Jarre\2004 - Aero\Jean Michel Jarre - AERO.cue.fake.track.01.dts media:Music

    Settings are not changed, the driver is not updated. On Sunday, everything worked and yesterday is gone.
     

    Attachments

    • Log-2014-09-18.zip
      278.2 KB

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Message: Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified. Site : TE Download[TE](System.String, System.String) Source : MusicInfoHandlerGUI Stack Trace: at MusicInfoHandlerGUI.Downloader.Download[TE](String url, String saveCacheFile)
    at MusicInfoHandlerGUI.AudioDb.AudioDbAPI.GetArtistByName(String artistName)
    at MusicInfoHandlerGUI.ArtistThumbScraper.GetArtistByName(String strArtistName, AudioDbArtist& audioDbArtist)
    [2014-09-18 22:33:56,620] [Log ] [MusicInfoHandler Album Details] [DEBUG] - Searching for details for: little richard
    [2014-09-18 22:33:56,620] [Log ] [MusicInfoHandler Album Details] [ERROR] - Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
    File name: 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
    at MusicInfoHandlerGUI.Downloader.Download[TE](String url, String saveCacheFile)
    at MusicInfoHandlerGUI.AudioDb.AudioDbAPI.GetArtistByName(String artistName)
    at MusicInfoHandlerGUI.ArtistThumbScraper.GetArtistByName(String strArtistName, AudioDbArtist& audioDbArtist)

    I see a lot of these errors in your log, maybe try to disable musicinfohandler.

    Do all music files fail to play or only this Jean Michel Jarre - AERO.cue.fake.track.01.dts track. Maybe also post your settings from the music section
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,645
    10,586
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #18

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    What else can I look back the audio in exclusive mode?
    Windows Sound settings >> Select your device >> hit 'Properties' on the bottom >> tab 'Advanced' >> make sure checkboxes for Exclusive mode are checked.
    After that, start MP with WatchDog option 1, reproduce the problem and post logs please.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,645
    10,586
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #20
    Windows Sound settings >> Select your device >> hit 'Properties' on the bottom >> tab 'Advanced' >> make sure checkboxes for Exclusive mode are checked.
    Yes, Checked.

    After that, start MP with WatchDog option 1, reproduce the problem and post logs please.
    Now I can not run. But in the archive that I have laid out above, the log files with the highest level of debugging.
     

    Users who are viewing this thread

    Top Bottom