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 2
Plugin Development
BassPlayer: Adding WASAPI support
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="morpheus_xx" data-source="post: 1071696" data-attributes="member: 48495"><p>Currently the BassPlayer in MP2 already plays many file types, including FLAC. It handles 24bit, 96/192KHz and even multichannel files properly.</p><p>(see request in german forum: <a href="https://forum.team-mediaportal.com/threads/1-jahr-mediaportal-2-im-produktiven-einsatz-ein-fazit.124473/page-5#post-1071687" target="_blank">https://forum.team-mediaportal.com/threads/1-jahr-mediaportal-2-im-produktiven-einsatz-ein-fazit.124473/page-5#post-1071687</a>)</p><p></p><p>As output device there is only DirectSound implemented, but we have already a big "TODO" in code: <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p>[CODE=CSHARP] public enum OutputMode</p><p> {</p><p> DirectSound,</p><p> // TODO: WASAPI</p><p> }[/CODE]</p><p></p><p>The used BassNet library contains all code for WASAPI support, so I think this feature could be added.</p><p></p><p>But we need to consider MP2's features like concurrent playback (audio/video, video/video), where we could be required to change the output stream. When using "exclusive" mode this could lead to issues if device is blocked.</p><p></p><p>I'll try to implement the output device...</p><p></p><p><u><strong>2014-03-28:</strong></u></p><p>First testbuild available! (See attachment). It adds new configuration so you can select DirectSound (old default) and WASAPI (new).</p><p>[ATTACH]148090[/ATTACH] [ATTACH]148091[/ATTACH]</p><p>Extract the contents of archive to "C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins" and overwrite existing files.</p><p><u><strong>2014-03-29</strong></u></p><p>Updated build that fix device selection for shared mode</p><p></p><p><u><strong>2014-03-31</strong></u></p><p>Fixed playback end in shared mode</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1071696, member: 48495"] Currently the BassPlayer in MP2 already plays many file types, including FLAC. It handles 24bit, 96/192KHz and even multichannel files properly. (see request in german forum: [url]https://forum.team-mediaportal.com/threads/1-jahr-mediaportal-2-im-produktiven-einsatz-ein-fazit.124473/page-5#post-1071687[/url]) As output device there is only DirectSound implemented, but we have already a big "TODO" in code: ;) [CODE=CSHARP] public enum OutputMode { DirectSound, // TODO: WASAPI }[/CODE] The used BassNet library contains all code for WASAPI support, so I think this feature could be added. But we need to consider MP2's features like concurrent playback (audio/video, video/video), where we could be required to change the output stream. When using "exclusive" mode this could lead to issues if device is blocked. I'll try to implement the output device... [U][B]2014-03-28:[/B][/U] First testbuild available! (See attachment). It adds new configuration so you can select DirectSound (old default) and WASAPI (new). [ATTACH]148090[/ATTACH] [ATTACH]148091[/ATTACH] Extract the contents of archive to "C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins" and overwrite existing files. [U][B]2014-03-29[/B][/U] Updated build that fix device selection for shared mode [U][B]2014-03-31[/B][/U] Fixed playback end in shared mode [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
BassPlayer: Adding WASAPI support
Contact us
RSS
Top
Bottom