Hi,
i've noticed, that MP2 crashed to desktop, if you try to play an audiofile after changing WASAPI exclusiv audio device.
Requirement:
HDMI connection <-> PC <-> AVR <-> TV
Steps to reproduce.
1. Turn on AVR & TV, in my case then TV is audio device in Windows Audio Settings
2. Configure TV as WASAPI exclusive Audio device in MP2
3. Play some music (it should work fine)
4. Stop playback and exit MP2
5. Turn off TV -> now AVR (Yamaha RX-V679) is audio device with the same audio properities in Windows as LG-TV.
6. Start MP2 and change Audio device settings to AVR.
7. Try to playback some musicfiles -> Playback fails and MP2 crashed to desktop with these error messages ->
Related log entry ->
It is possible to configure a DS Sound device and playback music, but changing the WASAPI device isn't possible here.
Bet regards
Helios
i've noticed, that MP2 crashed to desktop, if you try to play an audiofile after changing WASAPI exclusiv audio device.
Requirement:
HDMI connection <-> PC <-> AVR <-> TV
Steps to reproduce.
1. Turn on AVR & TV, in my case then TV is audio device in Windows Audio Settings
2. Configure TV as WASAPI exclusive Audio device in MP2
3. Play some music (it should work fine)
4. Stop playback and exit MP2
5. Turn off TV -> now AVR (Yamaha RX-V679) is audio device with the same audio properities in Windows as LG-TV.
6. Start MP2 and change Audio device settings to AVR.
7. Try to playback some musicfiles -> Playback fails and MP2 crashed to desktop with these error messages ->
Related log entry ->
Code:
[2017-01-04 16:05:46,846] [22416 ] [Thread9 ] [INFO ] - BassLibrary: Loading player add-ins from 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\BassLibraries\Plugins'
[2017-01-04 16:05:46,865] [22435 ] [Thread9 ] [INFO ] - BassLibrary: Loaded 16 audio decoders.
[2017-01-04 16:05:47,008] [22579 ] [Thread9 ] [INFO ] - BassLibrary: Stream info: FLAC, 44100Hz, Stereo, 16bit
[2017-01-04 16:05:47,029] [22600 ] [Thread9 ] [INFO ] - BassLibrary: Stream content: PCM
[2017-01-04 16:05:47,029] [22600 ] [Thread9 ] [INFO ] - BassLibrary: Preparing for playback: 'BassAudioFileInputSource: D:\ToDo\John Lee Hooker (1962) - The Big Soul of John Lee Hooker\05. I Love Her.flac'
[2017-01-04 16:05:47,086] [22656 ] [BassPlay ] [INFO ] - BassLibrary: Initializing WASAPI device 'RX-V679 (Intel(R) Display-Audio)' (device no 8)
[2017-01-04 16:05:47,089] [22659 ] [BassPlay ] [INFO ] - BassLibrary: BASS: WASAPI exclusive mode not directly supported for samplerate of 44100 and 2 channels
[2017-01-04 16:05:47,091] [22662 ] [BassPlay ] [ERROR] - Exception in player main thread
System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> MediaPortal.Extensions.BassLibraries.BassLibraryException: Error calling function BASS_WASAPI_Init(): BASS_ERROR_DRIVER
bei MediaPortal.UI.Players.BassPlayer.OutputDevices.WASAPIOutputDevice.SetInputStream(BassStream stream, Boolean passThrough)
bei MediaPortal.UI.Players.BassPlayer.PlayerComponents.OutputDeviceManager.SetInputStream(BassStream stream, Boolean passThrough)
bei MediaPortal.UI.Players.BassPlayer.PlayerComponents.PlaybackSession.Initialize(IInputSource inputSource)
bei MediaPortal.UI.Players.BassPlayer.PlayerComponents.PlaybackSession.Create(Controller controller)
bei MediaPortal.UI.Players.BassPlayer.PlayerComponents.PlaybackProcessor.MoveToNextInputSource_Sync()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
bei System.Delegate.DynamicInvokeImpl(Object[] args)
bei MediaPortal.UI.Players.BassPlayer.Controller.PlayerThreadMain()
It is possible to configure a DS Sound device and playback music, but changing the WASAPI device isn't possible here.
Bet regards
Helios
Last edited: