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: 1072110" data-attributes="member: 48495"><p>Shared is still playing too fast.</p><p></p><p>Please check this part: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Source/UI/Players/BassPlayer/PlayerComponents/PlaybackSession.cs#L274-L308" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Source/UI/Players/BassPlayer/PlayerComponents/PlaybackSession.cs#L274-L308</a></p><p></p><p>Here a playback session is started. It constructs as playback stream chain:</p><p>InputStream->UpDownMixer->VstProcessor->WinAmpProcessor->PlaybackBuffer->OutputDevice.</p><p></p><p>There seem to be multiple things to consider:</p><ul> <li data-xf-list-type="ul">If I understand the code correctly, channel mapping would be needed to moved into UpDownMixer class (currently no processing, just pass through).</li> <li data-xf-list-type="ul">PlaybackBuffer: "Buffers the output stream to ensure stable playback. Also provides a synchronized stream for visualization purposes."<ul> <li data-xf-list-type="ul">The "VizStream" is used to get data for Visualization (i.e. spectrum analyzer)</li> </ul></li> </ul><p>Why the source chain is working well for DirectSound device and for Exclusive WASAPI, but "Shared WASAPI" gives "Mickey Mouse"?</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1072110, member: 48495"] Shared is still playing too fast. Please check this part: [url]https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Source/UI/Players/BassPlayer/PlayerComponents/PlaybackSession.cs#L274-L308[/url] Here a playback session is started. It constructs as playback stream chain: InputStream->UpDownMixer->VstProcessor->WinAmpProcessor->PlaybackBuffer->OutputDevice. There seem to be multiple things to consider: [LIST] [*]If I understand the code correctly, channel mapping would be needed to moved into UpDownMixer class (currently no processing, just pass through). [*]PlaybackBuffer: "Buffers the output stream to ensure stable playback. Also provides a synchronized stream for visualization purposes." [LIST] [*]The "VizStream" is used to get data for Visualization (i.e. spectrum analyzer) [/LIST] [/LIST] Why the source chain is working well for DirectSound device and for Exclusive WASAPI, but "Shared WASAPI" gives "Mickey Mouse"? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
BassPlayer: Adding WASAPI support
Contact us
RSS
Top
Bottom