Anonymous | Login | Signup for a new account | 2024-10-07 11:05 PDT |
Main | My View | View Issues | Change Log | Roadmap | Repositories | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0000275 | MPfm | Player | public | 2012-01-21 10:37 | 2012-02-06 20:42 | |||
Reporter | ycastonguay | |||||||
Assigned To | ycastonguay | |||||||
Priority | urgent | Severity | major | Reproducibility | always | |||
Status | resolved | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | 0.5.0.0 | |||||||
Target Version | 0.5.2.0 | Fixed in Version | 0.5.2.0 | |||||
Summary | 0000275: The position returned by the Player does not count for the buffer size lag | |||||||
Description | If the buffer size is set at 1000ms, the position is quite off. The main output position should now be used, because it is always accurate with any buffer size. However, the position is reset to 0 when the audio buffer needs to be cleared (ex: skipping to a new song, skipping to a new position). That means the seek position needs to be tracked and added to the position in the GetPosition method. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships | ||||||
|
Notes | |
(0000374) svn (developer) 2012-01-21 11:28 |
The user admin has checked in files related to this issue (revision 276). Comment: MPfm 0.5.2.0 - Added .NET Async CTP Library to the project. - Player: The audio buffer is now cleared when skipping to a new position or when skipping to a new song. - Player: The position returned by the player now counts in for the buffer size lag. In fact it is now using the main stream output position with a offset position (since the main output position is "infinite" and reset to 0 when the audio buffer needs to be cleared). It's not 100% done yet though; I need to add a syncmix proc to set the offset position exactly when the new song is heard. However the offset is 100% accurate already (since the channel is locked when getting the position, and the data available in the buffer is also added). - UpdateLibrary: The new prototype drops Rx and uses only ASYNC for now. Works fine so far, but the application gets lagged when updating files (especially when generating peak files). - UpdateLibrary: A prototype UI for the background update library has been added to the main form. Related to issue 0000070, issue 0000160, issue 0000168 and issue 0000275. Files modified: U MPfm/branches/current/MPfm/MPfm.csproj U MPfm/branches/current/MPfm/Other Screens/frmSettings.Designer.cs U MPfm/branches/current/MPfm/Other Screens/frmSettings.cs U MPfm/branches/current/MPfm/Properties/AssemblyInfo.cs U MPfm/branches/current/MPfm/frmMain.Designer.cs U MPfm/branches/current/MPfm/frmMain.cs U MPfm/branches/current/MPfm/frmMain.resx U MPfm/branches/current/MPfm.Core/Properties/AssemblyInfo.cs U MPfm/branches/current/MPfm.Fonts/Properties/AssemblyInfo.cs A MPfm/branches/current/MPfm.Library/Lib/AsyncCtpLibrary.dll A MPfm/branches/current/MPfm.Library/Lib/AsyncCtpLibrary.xml U MPfm/branches/current/MPfm.Library/MPfm.Library.csproj U MPfm/branches/current/MPfm.Library/Properties/AssemblyInfo.cs U MPfm/branches/current/MPfm.Library/UpdateLibrary/UpdateLibrary.cs U MPfm/branches/current/MPfm.Player/Player.cs U MPfm/branches/current/MPfm.Player/Properties/AssemblyInfo.cs U MPfm/branches/current/MPfm.Sound/Bass.Net/Channel.cs U MPfm/branches/current/MPfm.Sound/Properties/AssemblyInfo.cs U MPfm/branches/current/MPfm.WindowsControls/Properties/AssemblyInfo.cs |
(0000381) svn (developer) 2012-01-21 17:29 |
The user admin has checked in files related to this issue (revision 278). Comment: MPfm 0.5.2.0 - Player: The loops and markers are now emptying the audio buffer when setting new audio positions. The loop position wasn't working after the last check-in. Related to issue 0000168 and issue 0000275. Files modified: U MPfm/branches/current/MPfm/frmMain.cs U MPfm/branches/current/MPfm.Player/Player.cs U MPfm/branches/current/MPfm.Sound/Bass.Net/Channel.cs |
(0000395) svn (developer) 2012-02-05 12:59 |
The user admin has checked in files related to this issue (revision 290). Comment: MPfm 0.5.2.0 - Player: Added list of sync procs for triggering the PlaylistIndexChanged event and change stream sample rate if needed. Still have a bit more work to do though. Related to issue 0000275. Files modified: U MPfm/branches/current/MPfm/frmMain.cs U MPfm/branches/current/MPfm.Player/MPfm.Player.csproj A MPfm/branches/current/MPfm.Player/Objects/PlayerSyncProc.cs U MPfm/branches/current/MPfm.Player/Player.cs |
(0000396) svn (developer) 2012-02-05 13:42 |
The user admin has checked in files related to this issue (revision 291). Comment: MPfm 0.5.2.0 - Player: Added the RemoveSyncCallbacks method. Some bug fixes too. Related to issue 0000275. Files modified: U MPfm/branches/current/MPfm.Player/Player.cs |
(0000398) svn (developer) 2012-02-05 14:43 |
The user admin has checked in files related to this issue (revision 292). Comment: MPfm 0.5.2.0 - Player: Moved the PlaylistIndexChanged event to the PlayerSyncProc method. It now works very well. It still needs a bit of testing to make sure there are no bugs. - Player: Added code to switch main stream sample rate to the PlayerSyncProc method. It now switches sample rate right when the audio file changes. Related to issue 0000158 and issue 0000275. Files modified: U MPfm/branches/current/MPfm.Player/Player.cs |
(0000399) svn (developer) 2012-02-05 16:00 |
The user admin has checked in files related to this issue (revision 293). Comment: MPfm 0.5.2.0 - Player: Fixed bugs with sync procs not setting correctly the second time. Related to issue 0000275. Files modified: U MPfm/branches/current/MPfm.Player/Player.cs |
(0000400) svn (developer) 2012-02-06 20:40 |
The user admin has checked in files related to this issue (revision 294). Comment: MPfm 0.5.2.0 - Player: Fixed bug where the offset position would not be correct when switching sample rates. Related to issue 0000275. Files modified: U MPfm/branches/current/MPfm.Player/Player.cs |
Issue History | |||
Date Modified | Username | Field | Change |
2012-01-21 10:37 | ycastonguay | New Issue | |
2012-01-21 10:37 | ycastonguay | Status | new => assigned |
2012-01-21 10:37 | ycastonguay | Assigned To | => ycastonguay |
2012-01-21 10:37 | ycastonguay | Relationship added | related to 0000168 |
2012-01-21 11:28 | svn | Checkin | |
2012-01-21 11:28 | svn | Note Added: 0000374 | |
2012-01-21 11:30 | svn | Checkin | |
2012-01-21 11:30 | svn | Note Added: 0000378 | |
2012-01-21 11:32 | ycastonguay | Note Deleted: 0000378 | |
2012-01-21 17:29 | svn | Checkin | |
2012-01-21 17:29 | svn | Note Added: 0000381 | |
2012-01-21 17:30 | ycastonguay | Status | assigned => resolved |
2012-01-21 17:30 | ycastonguay | Fixed in Version | => 0.5.2.0 |
2012-01-21 17:30 | ycastonguay | Resolution | open => fixed |
2012-02-05 12:51 | ycastonguay | Status | resolved => assigned |
2012-02-05 12:59 | svn | Checkin | |
2012-02-05 12:59 | svn | Note Added: 0000395 | |
2012-02-05 13:42 | svn | Checkin | |
2012-02-05 13:42 | svn | Note Added: 0000396 | |
2012-02-05 14:43 | svn | Checkin | |
2012-02-05 14:43 | svn | Note Added: 0000398 | |
2012-02-05 16:00 | svn | Checkin | |
2012-02-05 16:00 | svn | Note Added: 0000399 | |
2012-02-06 20:40 | svn | Checkin | |
2012-02-06 20:40 | svn | Note Added: 0000400 | |
2012-02-06 20:42 | ycastonguay | Status | assigned => resolved |
Copyright © 2000 - 2011 MantisBT Group |