#
595f0715 |
|
05-Sep-2019 |
sushilhub <sushil.bit.cse@gmail.com> |
mediaplayer: write a break statement Change-Id: I3cb8a7c6dcd6369b18062677963947fb4a313669 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1837 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
3065fd47 |
|
13-Dec-2017 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
MediaPlayer: Relicense to MIT * The GPL license here was a relic from the past to help control YellowTab's use of Haiku source code. The intent at the time was to relicense MIT. Some GPL parts remained. * This is going to get harder and harder to correct over time. * This code makes Haiku *not* MIT. Lets correct that. * I reached out to everyone who made changes to these files and got personal approvals to relicense MIT. * If I missed somebody, *and* you feel as though the MIT license doesn't meet your needs, please contact Haiku, Inc. and we will work to revert your changes. Marcus Overhagen EMAIL - MIT OK 11/29/17 Stephan Aßmus EMAIL - MIT OK 11/28/17 Axel Dörfler IRC - MIT OK 11/29/17 Ryan Leavengood KEYBASE - MIT OK 11/28/17 Michael Lotz IRC - MIT OK 11/29/17 Adrien Destugues EMAIL - MIT OK 11/28/17 Joachim Seemer EMAIL - MIT OK 11/28/17 Jonas Sundström EMAIL - MIT OK 11/29/17 François Revol IRC - MIT OK 11/29/17 Jérôme Duval EMAIL - MIT OK 11/29/17 Oliver Tappe EMAIL - MIT OK 11/29/17 Dziadek EMAIL - MIT OK 11/29/17 Philippe Saint-Pierre EMAIL - MIT OK 12/6/17 Philippe Houdoin EMAIL - MIT OK 12/8/17 Dario Casalinuovo IRC - MIT OK 12/13/17
|
#
53312de5 |
|
25-Aug-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
MediaPlayer: Toggling Fullscreen wrongly reset control status All controls were enabled when toggling fullscreen on and off; now it recalls the argument last used in SetEnabled() and reuse it when called in AttachedInWindow() (which occurs in such toggling) Fixes #8804.
|
#
a5a013ca |
|
07-Jan-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
MediaPlayer: Fix movement of items in playlist In Playlist, whenever a move of items occured causing the currently playing song to change its position, so : 1. Importing files (D&D for example) before its position 2. Removings files before it 3. Moving files before it was causing the currently playing song to restart because it was thinking a new entry was asked (it had a different index number suddently). Also adjusted the behaviour when you delete the currently playing track. Should fix ticket #6689.
|
#
ebd86629 |
|
21-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
* Added new Playlist notification ImportFailed(). The PlaylistListView will trigger it when the import command failed (happens for example when none of the files are media files). * Moved displaying the according alert from the import fommand into the MainWindow. Show the window if necessary. This fixes MediaPlayer just idling in the Deskbar without any window in this case, since the MainWindow is shown after the first call to _SetupWindow() since some time. But _SetupWindow() is not invoked when no file could be opened. * Removed some meanwhile useless debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38757 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11c015d8 |
|
06-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
-1 is a valid index for the current playlist item index in the Playlist code, but we don't want to get to this index from the GUI. Handle truncation of the index in the ControllerView. This solves invalid button state when using the keyboard to skip to the previous item when the current item was already the first item. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d49d3f60 |
|
22-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
* Playlist::SetCurrentItemIndex() will keep the index in range when requesting an index greater than CountItems(). (Setting an index smaller than 0 will still work.) This change will prevent the window from setting an invalid current playlist item index when the end of the last file is reached. The negative effect of this would be that the transport buttons would indicate seemingly confused navigation capabilities (being able to skip to the *next* item from the last item, internally it true (you can skip from -1 to 0), but the player still showed the last item as currently loaded item)... * ControllerView::TogglePlayback() will now check if the end of the last item is reached and go to the first playlist item then. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36418 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb74edd0 |
|
21-Apr-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* When toggling playing, we need to check whether there is a valid current playlist item - only if there is one, the controller handles this, otherwise we start the playlist again from start. * This fixes bug #5568. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36392 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2caab6e5 |
|
28-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Coding style cleanups, no functional change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33811 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c60fcc87 |
|
23-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Changed the PlaylistItem interface to be hopefully more flexible. It can probably still be improved. * Renamed EntryRefPlaylistItem to just FilePlaylistItem. * Moved the "move into Trash" and "restore from Trash" implementation into FilePlaylistItem. Also added what's needed to allow Tracker to restore the entry itself. * Refactored everything to make Playlist use PlaylistItems instead of entry_refs and all that entails... * The transition to virtualize PlaylistItems is not complete yet in the Controller, since it still uses BMediaFile there. But it's much easier to change that now. * Objects which keep a PlaylistItem around do correct reference counting, but some commands could be simplified if they were using references as well. It still should work correctly, though, if I didn't miss anything. It should also fix theoretical situations of encountering out-of-memory while messing with the Playlist leading to inconsistent state between Undo/Redo and then leaking items because of that. * Added the discussed change that MediaPlayer checks it's own supported types before rejecting a file by super type. (untested) * When importing playlist items, the currently playling item is better maintained during Undo/Redo. * Some debugging code added in MediaTrackAudioSupplier, no functional changes. * Fixed a number of coding style issues and automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30834 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bae0154c |
|
16-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* I didn't like so much how the "Remove and Move into Trash" feature was implemented. It didn't reuse existing code and didn't integrate well. No Undo/Redo except via Tracker, but not in the Playlist... some bugs as well (Remove had same shortcut as Randomize, Didn't maintain current playback item if last entry was removed) * I need to reenable the main window short cut though. This is only temporary. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30768 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9327db63 |
|
29-Apr-2009 |
Fredrik Modeen <fredrik@modeen.se> |
Adds the option to delete a file from Mediaplayer and move that file to Trash Works both from main window and PlayList window. Button that works are B_COMMAND + [delete | d | r] button. It can be debated what shortcut to use but I needed this function :) Same goes for the menu i Playlist window. Yell and Ill change :) What not works are undo and total undo in main window and total undo in Playlist (total undo = undo files from trash as well as normal undo) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30490 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9282400f |
|
06-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* The SeekSlider did not update the knob when it was resized. * Subtile visual improvements to the SeekSlider. * Added a PeakView for displaying the audio peaks that are produced by the AudioProducer. * A MessageEvent can now directly take a custom BMessage for delivery. * The peak notification mechanism is a bit separate from the rest of the Controller notification design, since the notification delivery should be delayed until the audio is actually audible. I may change this quick and dirty design though, since it is not so nice. The target time could also be part of the message and be handled at a different stage, but that would make it less efficient. * Layout improvements to the playback controls. * Code cleanup here and there, changed some license statements. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26280 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
540fe7ae |
|
17-Oct-2007 |
Stephan Aßmus <superstippi@gmx.de> |
patch by Fredrik Modéen with changes by myself * toggle the "marked" state of the settings menu items correctly * implement muting/unmuting the volume * implement volume up/down triggered by keyboard events * forward the skip next/previous events to the controller (various kinds of keyboard navigation or mouse wheel) * establish the notification link for volume and muted changes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22594 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
09464bc9 |
|
03-Jun-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* extraced PlaylistListView into it's own files * lots of changes, besically these make the Playlist window usable - drag sorting works (hold shift to copy instead of move items) - removing items with the delete key works - dragging files/folders from Tracker works (hold shift to insert them in the existing playlist, othewise the new files replace the playlist) * some refactoring and bug fixes in previously unused functionality * Playlist can now be locked (needed to be), and is in ControllerView, MainWin and PlaylistListView git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2d0e817 |
|
02-Jun-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* as an observer, the view needs to handle all observer notification messages, or else these messages end up in the window MessageReceived() (since the MainWindow was observing the same notifier, it received some notifications twice, which was part of the reason that unrecognized files produced multiple error messages as reported by Marcus) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5fa5e5fe |
|
29-May-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* added notification support to Playlist and Controller * added AbstractLOAdapter by Ingo Weinhold which makes notifications asynchronous * removed "Player" interface/concept, replaced it by the notification mechanism (window loads new file when "current" ref index changes in Playlist) * removed some cross classes dependencies * the wind buttons are not displayed anymore for now * lots of changes to the Controller - the decoder/player threads are kept running for the entire lifetime of the Controller object (in essence, makes it possible to playback seamless) - abstracted BMediaTrack usage into "Video-" and "AudioSupplier" objects (the BMediaTrack pointers are only still there, because I have not gotten around to fix the messy/hacky InfoWindow) - reaching the end of the stream will trigger a notification, so that the next file from the playlist is played - fSoundOutput is managed by the Controller - tried to make seeking seem more controlled (slider doesn't jump back to previous position) - playback position is correctly updated in GUI - volume is maintained independend of SoundOutput so that it can be transfered from one to the next output - performance time is maintained correctly (?) even if no audio stream is present * work in progress Playlist window (drag sorting does not work yet!) * rearranged menus a bit * rearranged overlay code in the VideoView, but it cannot work like it is currently designed, since the buffers need to be switched all at once, which the video decoding thread is not doing yet * dragging files into the main window with shift held down appends to the existing playlist * dropping folders adds files recursively * pressing space toggles playback (instead of changing some settings of the GUI) * fixed some more minor issues or unimplemented stuff in the UI git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21276 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
453f642e |
|
22-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Rewrote audio decoding to provide timing information that is used to sync with video. Separated audio decoding and playing into two threads, the same applies to video decoding and playback. This was inspired from code written by Stephan. Added video decoding and display, added play/pause/stop. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0f0bbc97 |
|
08-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
implemented seeking and position update git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17378 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3d8b4bab |
|
08-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Did some renaming, Changed* is now used when the user modifies the controls. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17376 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
131d97be |
|
08-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Connected volume control GUI with Controller class, and made slider non-linear. This should be reviewed, and a better algorith should be selected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17375 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb365709 |
|
08-May-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added a simple seeking slider for Marcus to play with... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17371 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aadc5f57 |
|
24-Apr-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
added playlist support git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17225 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c98821ac |
|
24-Apr-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added GUI classes for the transport control panel implementation * as noted by the headers, these originate from Be Sample Code or code that was written by myself alone for VLC (they have been updated in the meantime though) * seek slider is missing yet as well playback position info view (could be taken from VLC as well, I still have the implementation that contains only my own code) * fixed application quitting when only one of multiple player windows is closed (not it quits when the last player is closed or MediaPlayer->Quit is selected from the menu) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17222 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
99cd5eeb |
|
23-Apr-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
added some resizing support git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e1d8d7d6 |
|
23-Apr-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
implemented some file handling related functionality git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17211 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
53312de5e5d8496b973d93fa4b8397906faa99ee |
|
25-Aug-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
MediaPlayer: Toggling Fullscreen wrongly reset control status All controls were enabled when toggling fullscreen on and off; now it recalls the argument last used in SetEnabled() and reuse it when called in AttachedInWindow() (which occurs in such toggling) Fixes #8804.
|
#
a5a013ca40aa991d809cffb85a7367e67132ea0c |
|
07-Jan-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
MediaPlayer: Fix movement of items in playlist In Playlist, whenever a move of items occured causing the currently playing song to change its position, so : 1. Importing files (D&D for example) before its position 2. Removings files before it 3. Moving files before it was causing the currently playing song to restart because it was thinking a new entry was asked (it had a different index number suddently). Also adjusted the behaviour when you delete the currently playing track. Should fix ticket #6689.
|
#
ebd866299d45ed59d8576e1a9634f924cc07aa6e |
|
21-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
* Added new Playlist notification ImportFailed(). The PlaylistListView will trigger it when the import command failed (happens for example when none of the files are media files). * Moved displaying the according alert from the import fommand into the MainWindow. Show the window if necessary. This fixes MediaPlayer just idling in the Deskbar without any window in this case, since the MainWindow is shown after the first call to _SetupWindow() since some time. But _SetupWindow() is not invoked when no file could be opened. * Removed some meanwhile useless debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38757 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11c015d896817881aa8bfa151dad4480460bbbdf |
|
06-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
-1 is a valid index for the current playlist item index in the Playlist code, but we don't want to get to this index from the GUI. Handle truncation of the index in the ControllerView. This solves invalid button state when using the keyboard to skip to the previous item when the current item was already the first item. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d49d3f60d87fa4e6fd03865d2b3f4c252477bb30 |
|
22-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
* Playlist::SetCurrentItemIndex() will keep the index in range when requesting an index greater than CountItems(). (Setting an index smaller than 0 will still work.) This change will prevent the window from setting an invalid current playlist item index when the end of the last file is reached. The negative effect of this would be that the transport buttons would indicate seemingly confused navigation capabilities (being able to skip to the *next* item from the last item, internally it true (you can skip from -1 to 0), but the player still showed the last item as currently loaded item)... * ControllerView::TogglePlayback() will now check if the end of the last item is reached and go to the first playlist item then. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36418 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb74edd08bfa892cf0f0a2961ebd3baa9389c0ff |
|
21-Apr-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* When toggling playing, we need to check whether there is a valid current playlist item - only if there is one, the controller handles this, otherwise we start the playlist again from start. * This fixes bug #5568. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36392 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2caab6e574d52306baf93db9b830dadefbb08836 |
|
28-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Coding style cleanups, no functional change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33811 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c60fcc87e04b0af21ed9f01581b23d1f714a366f |
|
23-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Changed the PlaylistItem interface to be hopefully more flexible. It can probably still be improved. * Renamed EntryRefPlaylistItem to just FilePlaylistItem. * Moved the "move into Trash" and "restore from Trash" implementation into FilePlaylistItem. Also added what's needed to allow Tracker to restore the entry itself. * Refactored everything to make Playlist use PlaylistItems instead of entry_refs and all that entails... * The transition to virtualize PlaylistItems is not complete yet in the Controller, since it still uses BMediaFile there. But it's much easier to change that now. * Objects which keep a PlaylistItem around do correct reference counting, but some commands could be simplified if they were using references as well. It still should work correctly, though, if I didn't miss anything. It should also fix theoretical situations of encountering out-of-memory while messing with the Playlist leading to inconsistent state between Undo/Redo and then leaking items because of that. * Added the discussed change that MediaPlayer checks it's own supported types before rejecting a file by super type. (untested) * When importing playlist items, the currently playling item is better maintained during Undo/Redo. * Some debugging code added in MediaTrackAudioSupplier, no functional changes. * Fixed a number of coding style issues and automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30834 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bae0154ca35cc1f8187cf9d09b63e0b08a41ad4f |
|
16-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* I didn't like so much how the "Remove and Move into Trash" feature was implemented. It didn't reuse existing code and didn't integrate well. No Undo/Redo except via Tracker, but not in the Playlist... some bugs as well (Remove had same shortcut as Randomize, Didn't maintain current playback item if last entry was removed) * I need to reenable the main window short cut though. This is only temporary. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30768 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9327db63a4836bcc1bd1bad60c5d1c79aa54212d |
|
29-Apr-2009 |
Fredrik Modeen <fredrik@modeen.se> |
Adds the option to delete a file from Mediaplayer and move that file to Trash Works both from main window and PlayList window. Button that works are B_COMMAND + [delete | d | r] button. It can be debated what shortcut to use but I needed this function :) Same goes for the menu i Playlist window. Yell and Ill change :) What not works are undo and total undo in main window and total undo in Playlist (total undo = undo files from trash as well as normal undo) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30490 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9282400ff444c8d85c264f0f5fd16d1c639b7fae |
|
06-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* The SeekSlider did not update the knob when it was resized. * Subtile visual improvements to the SeekSlider. * Added a PeakView for displaying the audio peaks that are produced by the AudioProducer. * A MessageEvent can now directly take a custom BMessage for delivery. * The peak notification mechanism is a bit separate from the rest of the Controller notification design, since the notification delivery should be delayed until the audio is actually audible. I may change this quick and dirty design though, since it is not so nice. The target time could also be part of the message and be handled at a different stage, but that would make it less efficient. * Layout improvements to the playback controls. * Code cleanup here and there, changed some license statements. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26280 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
540fe7aef9f5fea126dbfb0be82b534744eea29c |
|
17-Oct-2007 |
Stephan Aßmus <superstippi@gmx.de> |
patch by Fredrik Modéen with changes by myself * toggle the "marked" state of the settings menu items correctly * implement muting/unmuting the volume * implement volume up/down triggered by keyboard events * forward the skip next/previous events to the controller (various kinds of keyboard navigation or mouse wheel) * establish the notification link for volume and muted changes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22594 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
09464bc90b61f0c038cd92e3894921c64caedf9a |
|
03-Jun-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* extraced PlaylistListView into it's own files * lots of changes, besically these make the Playlist window usable - drag sorting works (hold shift to copy instead of move items) - removing items with the delete key works - dragging files/folders from Tracker works (hold shift to insert them in the existing playlist, othewise the new files replace the playlist) * some refactoring and bug fixes in previously unused functionality * Playlist can now be locked (needed to be), and is in ControllerView, MainWin and PlaylistListView git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2d0e81723944121c39ce0017ae61f59d688e5fe |
|
02-Jun-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* as an observer, the view needs to handle all observer notification messages, or else these messages end up in the window MessageReceived() (since the MainWindow was observing the same notifier, it received some notifications twice, which was part of the reason that unrecognized files produced multiple error messages as reported by Marcus) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5fa5e5fea7e2752ce0f9eb514b82f7c34ea308e6 |
|
29-May-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* added notification support to Playlist and Controller * added AbstractLOAdapter by Ingo Weinhold which makes notifications asynchronous * removed "Player" interface/concept, replaced it by the notification mechanism (window loads new file when "current" ref index changes in Playlist) * removed some cross classes dependencies * the wind buttons are not displayed anymore for now * lots of changes to the Controller - the decoder/player threads are kept running for the entire lifetime of the Controller object (in essence, makes it possible to playback seamless) - abstracted BMediaTrack usage into "Video-" and "AudioSupplier" objects (the BMediaTrack pointers are only still there, because I have not gotten around to fix the messy/hacky InfoWindow) - reaching the end of the stream will trigger a notification, so that the next file from the playlist is played - fSoundOutput is managed by the Controller - tried to make seeking seem more controlled (slider doesn't jump back to previous position) - playback position is correctly updated in GUI - volume is maintained independend of SoundOutput so that it can be transfered from one to the next output - performance time is maintained correctly (?) even if no audio stream is present * work in progress Playlist window (drag sorting does not work yet!) * rearranged menus a bit * rearranged overlay code in the VideoView, but it cannot work like it is currently designed, since the buffers need to be switched all at once, which the video decoding thread is not doing yet * dragging files into the main window with shift held down appends to the existing playlist * dropping folders adds files recursively * pressing space toggles playback (instead of changing some settings of the GUI) * fixed some more minor issues or unimplemented stuff in the UI git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21276 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
453f642e2e5277aa60c17863fc25f38e23309aa8 |
|
22-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Rewrote audio decoding to provide timing information that is used to sync with video. Separated audio decoding and playing into two threads, the same applies to video decoding and playback. This was inspired from code written by Stephan. Added video decoding and display, added play/pause/stop. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0f0bbc97511c62bb5537fa10a2815b7f1a4dd566 |
|
08-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
implemented seeking and position update git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17378 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3d8b4bab1f2be1cbe8fb4a9e7cf9bd2cb7b367b0 |
|
08-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Did some renaming, Changed* is now used when the user modifies the controls. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17376 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
131d97be807a1a3bd43c15d67ac6cef11f0b6398 |
|
08-May-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Connected volume control GUI with Controller class, and made slider non-linear. This should be reviewed, and a better algorith should be selected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17375 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb365709672ad1896ecd0150b21907ea902e05b3 |
|
08-May-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added a simple seeking slider for Marcus to play with... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17371 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aadc5f572d7fa4e6d96e090ccb8087ddba45c27a |
|
24-Apr-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
added playlist support git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17225 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c98821ac7153ccee23df9eb72751102d7a967352 |
|
24-Apr-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added GUI classes for the transport control panel implementation * as noted by the headers, these originate from Be Sample Code or code that was written by myself alone for VLC (they have been updated in the meantime though) * seek slider is missing yet as well playback position info view (could be taken from VLC as well, I still have the implementation that contains only my own code) * fixed application quitting when only one of multiple player windows is closed (not it quits when the last player is closed or MediaPlayer->Quit is selected from the menu) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17222 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
99cd5eeb92bdd42756e075535201dd44318aa8f6 |
|
23-Apr-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
added some resizing support git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e1d8d7d6b48c655bab349c1fde5200fed917289e |
|
23-Apr-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
implemented some file handling related functionality git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17211 a95241bf-73f2-0310-859d-f6bbb57e9c96
|