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
Watch / Listen Media
Listen Music
BASS player does not reinitialize sound device
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="gonzo21" data-source="post: 691185" data-attributes="member: 72970"><p>hm, I don't think the de-init is the problem.</p><p></p><p>look at my error logs and you'll see, that everything works fine, if BASS gets de-inited (for example when playing back radio). Cause BASS knows to init the device if it is not already there (first time use or previously de-init), it gets the new handle and plays back just fine.</p><p></p><p>For example if I start mediaportal, watch tv (not listening to music!), turn off the lcd and turn in on again, I can directly listen to music via BASS. Thats because during this mediaportal session, it's the first time use of BASS and BASS correctly initializes its handle for playback.</p><p></p><p>The problem comes up because turning off the lcd apperentely kills the existing handle for BASS and the handle cannot be used directly after turning on the lcd again (at least for my hardware/setup). So I think you (or better I <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> ) need an additional if-clause to check whether the handle is still valid before starting playback. If it is not, just do a de-init and re-init.</p><p></p><p>what do you think about it?</p></blockquote><p></p>
[QUOTE="gonzo21, post: 691185, member: 72970"] hm, I don't think the de-init is the problem. look at my error logs and you'll see, that everything works fine, if BASS gets de-inited (for example when playing back radio). Cause BASS knows to init the device if it is not already there (first time use or previously de-init), it gets the new handle and plays back just fine. For example if I start mediaportal, watch tv (not listening to music!), turn off the lcd and turn in on again, I can directly listen to music via BASS. Thats because during this mediaportal session, it's the first time use of BASS and BASS correctly initializes its handle for playback. The problem comes up because turning off the lcd apperentely kills the existing handle for BASS and the handle cannot be used directly after turning on the lcd again (at least for my hardware/setup). So I think you (or better I :) ) need an additional if-clause to check whether the handle is still valid before starting playback. If it is not, just do a de-init and re-init. what do you think about it? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
BASS player does not reinitialize sound device
Contact us
RSS
Top
Bottom