home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Audio switching bug in Mediaportal 1.12
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sebastiii" data-source="post: 1142648" data-attributes="member: 60104"><p>Ok i notice from log :</p><p>Main: Audio Renderer Headphones (2- SBH80 Stereo) removed</p><p>It the last line related to audio device.</p><p></p><p>So it happen when you turned off the bluetooth device.</p><p></p><p>And after that you start to play again and sound should go on AVR but it seems that like MP didn't detect the audio device back, you will get no more sound.</p><p></p><p>It point to the fact that MP react on windows message but only if it receive it lol</p><p></p><p>I already try to handle such of deconnection when it's only from going to standby or wakeup but it was not working correctly.</p><p></p><p>So in final what happen here is :</p><p></p><p>1- Windows send new audio device is there (AVR) but also give that bluetooth device is removed and if the message of the remove is done after AVR is there -></p><p>MP think that audio device is removed.</p><p>2- Or from log MP didn't detect the change of audio device (the endpoint from windows).</p><p>3- I'm pretty sure that if you turn off your AVR and turn ON it, MP will handle the new audio device arrival.</p><p></p><p>So what is the best way to change that ? (no handling the audio device added/removed) ?</p><p>I can or maybe you can comment out some line in MP code to confirm that <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>I will go to comment out this <strong>line : 2079 </strong>in \mediaportal\MediaPortal.Application\MediaPortal.cs from case DBT_DEVICEREMOVECOMPLETE:</p><p></p><p><strong>GUIGraphicsContext.DeviceAudioConnected = false;</strong></p><p></p><p>Like this it will not handle the removed device.</p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1142648, member: 60104"] Ok i notice from log : Main: Audio Renderer Headphones (2- SBH80 Stereo) removed It the last line related to audio device. So it happen when you turned off the bluetooth device. And after that you start to play again and sound should go on AVR but it seems that like MP didn't detect the audio device back, you will get no more sound. It point to the fact that MP react on windows message but only if it receive it lol I already try to handle such of deconnection when it's only from going to standby or wakeup but it was not working correctly. So in final what happen here is : 1- Windows send new audio device is there (AVR) but also give that bluetooth device is removed and if the message of the remove is done after AVR is there -> MP think that audio device is removed. 2- Or from log MP didn't detect the change of audio device (the endpoint from windows). 3- I'm pretty sure that if you turn off your AVR and turn ON it, MP will handle the new audio device arrival. So what is the best way to change that ? (no handling the audio device added/removed) ? I can or maybe you can comment out some line in MP code to confirm that :) I will go to comment out this [B]line : 2079 [/B]in \mediaportal\MediaPortal.Application\MediaPortal.cs from case DBT_DEVICEREMOVECOMPLETE: [B]GUIGraphicsContext.DeviceAudioConnected = false;[/B] Like this it will not handle the removed device. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Audio switching bug in Mediaportal 1.12
Contact us
RSS
Top
Bottom