#
32afe10a |
| 23-Jul-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
BMediaRoster: Add B_MEDIA_SERVER_STARTED and B_MEDIA_SERVER_QUIT
* This is done by watching to registrar notifications and providing a minimal service to contact the media roster in private API.
BMediaRoster: Add B_MEDIA_SERVER_STARTED and B_MEDIA_SERVER_QUIT
* This is done by watching to registrar notifications and providing a minimal service to contact the media roster in private API. The roster use this service to automatically reconnect to the media_server.
show more ...
|
#
f0a1eb2d |
| 05-Jan-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* The static object construction and destruction is no longer random, but takes the internal dependencies into account. This should fix bugs #5166, #5120, and #5150. * Also, the time source objec
* The static object construction and destruction is no longer random, but takes the internal dependencies into account. This should fix bugs #5166, #5120, and #5150. * Also, the time source object manager, as well as the dormant node manager are now recreated on media roster restart (when the media server is restarted).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34906 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
6cafce94 |
| 09-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved the port pool into the new request_data.cpp file; it's no longer accessible from the outside. * Instead, request_data now retrieves/releases a reply port on its own. * There were some more
* Moved the port pool into the new request_data.cpp file; it's no longer accessible from the outside. * Instead, request_data now retrieves/releases a reply port on its own. * There were some more places that still used write_port()/read_port() instead of QueryServer().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34597 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
5f207b83 |
| 09-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved all server interface definitions from DataExchange.h to ServerInterface.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34594 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9c3b4706 |
| 09-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Cleaned up the node manager, got rid of its use of Map, and List. * Fixed at least two reference counting problems, but nodes from killed teams still remain alive (will look into this at a later
* Cleaned up the node manager, got rid of its use of Map, and List. * Fixed at least two reference counting problems, but nodes from killed teams still remain alive (will look into this at a later point). * GetLiveNodes() is now using transfer_area() as well. * Made all sizes in the SendTo*() and Query*() functions size_t. * Replaced reinterpret_casts with static_casts when casting void pointers. * Ordered the request/reply structures by target. * Tried to consolidate the use of add_on vs. addon. * More cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34591 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
c28dd9fd |
| 08-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented getting/setting the audio gain of media files. * Renamed "remove_ref_for" command structures and constants to "invalidate_item".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@
* Implemented getting/setting the audio gain of media files. * Renamed "remove_ref_for" command structures and constants to "invalidate_item".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34565 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
7e5d04c5 |
| 08-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
Beware! The following commit will crash your system when open "Sounds"; I'll look into this now. * Renamed the MMediaFilesManager to MediaFilesManager. * Got rid of its Map usage, we're using std::ma
Beware! The following commit will crash your system when open "Sounds"; I'll look into this now. * Renamed the MMediaFilesManager to MediaFilesManager. * Got rid of its Map usage, we're using std::map now instead. * The media_server is using an unsafe method to transfer areas from the server to the client. I've changed this for the BMediaFiles API to use Haiku's new transfer_area() function. However, this seems to cause the above mentioned problems. * Improved naming and data exchange structures used for the BMediaFiles API. * Fixed BMediaFiles leaking its lists. * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34554 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
9dec2310 |
| 05-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
Sorry for this large commit in advance; it's not really possible to divide this into smaller parts:
media_addon_server: * Removed (broken) use of (broken and inefficient) home-brewn Map, and List
Sorry for this large commit in advance; it's not really possible to divide this into smaller parts:
media_addon_server: * Removed (broken) use of (broken and inefficient) home-brewn Map, and List classes. This also fixes a crash on shutdown when used with the malloc_debug implementation. It's using stl::vector, and stl::map now instead.
_shared_buffer_list: * Renamed _shared_buffer_list to SharedBufferList, and put it into the BPrivate namespace. Also, made a class out of it. * Separated shared buffer list creation from cloning. * Enlarged maximum number of buffers to something that is not that evil, but actually uses the space it has (ie. is a useful multiple of shared_buffer_info that fills a multiple of B_PAGE_SIZE as much as possible). * No longer drops into the debugger if the * The list that is currently used is very inefficient for the features it provides though (no change there).
_buffer_id_cache: * Renamed to BufferCache, and put it into the private namespace * It now deletes its buffers on deletion; since the BBufferConsumer will be gone, too, at this point, there is little chance that there are still buffers in use. * Also, it's now using std::map instead of the (see above) Map class.
BBuffer: * Got rid of the fBufferID member.
Misc.: * Got rid of the global "team" variable; the media kit is now using the private app kit's current_team() now. * Added a lot of missing error checks (mostly memory allocations). * Renamed fields like "flavorid" to flavor_id, renamed "dfi_*" fields to something more detailed. * Moved ServerInterface.h from src/servers/media/ to headers/private/media. * Notifications.h was not self contained. * Added missing licenses. * Lots of cleanups, and coding style fixes.
What this doesn't fix: * Bug #4954 which started all this (this comes next, though) * Deinitialization is broken, as the PortPool is uninitialized too early, and still used afterwards. * The strange add-on monitoring code in the media_addon_server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34500 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
2795d5dc |
| 22-Nov-2009 |
Jérôme Duval <korli@users.berlios.de> |
Play startup sound after the first defaults rescan is done. This fixed #1902.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34189 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8e4966eb |
| 11-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Applied patch by Adrian to fix the command structures used for the media server with GCC4 in a GCC2 system (and vice versa). See #4920 which this patch closes, too.
git-svn-id: file:///srv/sv
* Applied patch by Adrian to fix the command structures used for the media server with GCC4 in a GCC2 system (and vice versa). See #4920 which this patch closes, too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33997 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
6033e52a |
| 31-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Implemented support for get_next_encoder() variations from MediaFormats.h. The AddOnManager in the media_server registers one encoder entry per successful EncoderPlugin::RegisterNextEncoder(). This g
Implemented support for get_next_encoder() variations from MediaFormats.h. The AddOnManager in the media_server registers one encoder entry per successful EncoderPlugin::RegisterNextEncoder(). This gives us a first idea what media_format_family and input/output media_type is supported. The mechanism may have to be extended, or the Encoder needs an API to specialize a format further. In that case, the get_next_encoder() version that takes optional _acceptedInput/OutputFormat needs to instantiate the plugin and needs to ask the Encoder. But AFAIK, no app uses it like that anyway.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32005 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
7cd2513b |
| 30-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Changed the way Encoders are published by EncoderPlugins. Encoder retrieval in PluginManager is reenabled. We use the media_codec_info.id to reference a specific plugin, while the sub_id will be used
Changed the way Encoders are published by EncoderPlugins. Encoder retrieval in PluginManager is reenabled. We use the media_codec_info.id to reference a specific plugin, while the sub_id will be used to reference individual Encoders that the plugin supports. No idea if that's how it was intented, but some comments hint in this direction. I failed to mention this before, but comments are of course very welcome on any of these commits, as always.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31993 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
7c06546a |
| 29-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Implement the backend of get_next_file_format(). The AddOnManager maintains a list for known media_file_formats. The internal IDs map to plugins.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk
Implement the backend of get_next_file_format(). The AddOnManager maintains a list for known media_file_formats. The internal IDs map to plugins.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31950 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
c30ef79d |
| 29-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31934 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
57bb0b9f |
| 29-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Added DataExchange message constants and server communication structs for retrieving WriterPlugins and EncoderPlugins from the media_addon_server. * Enabled respective code in PluginManager (and
* Added DataExchange message constants and server communication structs for retrieving WriterPlugins and EncoderPlugins from the media_addon_server. * Enabled respective code in PluginManager (and fixed the copy&paste bugs), the server side is still missing, though...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31924 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
34c72144 |
| 08-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* BParameterWeb::StartWatching() now just calls BMediaRoster::StartWatching() as on Dano - since the functionality is already there, those two functions aren't really needed, though, so we could
* BParameterWeb::StartWatching() now just calls BMediaRoster::StartWatching() as on Dano - since the functionality is already there, those two functions aren't really needed, though, so we could remove them again. * Cleaned up DataExchange.h, and added basic reply/request structs for anything that needs an area. * BControllable now uses a helper class ReceiveTransfer to deal with requests with areas. * Major style cleanup of MediaRoster.cpp, though one could still bury some hours there...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30045 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
f4a2c0f9 |
| 31-Mar-2008 |
Maurice Kalinowski <mauricek@nowhere.fake> |
put enum to appropiate place as pointed out by marcus
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24707 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6938364b |
| 30-Mar-2008 |
Maurice Kalinowski <mauricek@nowhere.fake> |
* Implemented BMediaRoster hooks GetRefFor, SetRefFor, SniffRefFor to access BFileInterface related file functions. * Implemented BFileInterface class which was nearly empty so far. Added handling of
* Implemented BMediaRoster hooks GetRefFor, SetRefFor, SniffRefFor to access BFileInterface related file functions. * Implemented BFileInterface class which was nearly empty so far. Added handling of messages passed to BFileInterface class. * Added needed structs and message values to DataExchange. * This is needed to get for instance the reader.media_addon to work. Usually one calls above functions to set a file to be decoded by the node. If the target is a consumer, they are used for setting the target for encoding data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24671 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
999cd0ac |
| 29-Mar-2008 |
Maurice Kalinowski <mauricek@nowhere.fake> |
* implemented BMediaRoster::StartControlPanel(). It queries a BControllable node with CONTROLLABE_START_CONTROL_PANEL message and returns the result to the caller (thx for help/suggestions from Marcu
* implemented BMediaRoster::StartControlPanel(). It queries a BControllable node with CONTROLLABE_START_CONTROL_PANEL message and returns the result to the caller (thx for help/suggestions from Marcus here). Needed to add appropiate structs and message value to DataExchange.h * implemented BControllable::StartControlPanel(). The behaviour is supposed to be the one documented in the BeBook, meaning that it first checks if the BControllable node has been instantiated over an BMediaAddOn. If so, we investigate where the addon is located and try to launch it. Thus media_addons which have a control panel need to be compiled as an Application, not as an Addon. See r24664 as an example. * inside BControllable::HandleMessage() call StartControlPanel for the message. * MediaNodes having such a ControlPanel are rarely used as parameterwebs should provide you everything. But for instance the vst MediaAddOn uses it and some others do as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24665 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
31ebfe61 |
| 16-Apr-2007 |
Jérôme Duval <korli@users.berlios.de> |
added default sound events implemented system_beep() by sending an event to the media addon server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20728 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
33c487a4 |
| 15-Apr-2007 |
Jérôme Duval <korli@users.berlios.de> |
implemented add_system_beep_event()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20711 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
758b1d0e |
| 12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so. * Local variables shadowing parameters. * Default parameters in function definitions (as opposed to function declarations). * All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported explicitly from the std:: namespace now. * "new (sometype)[...]" must read "new sometype[...]", even if sometype is something like "const char *". * __FUNCTION__ is no longer a string literal (but a string expression), i.e. 'printf(__FUNCTION__ ": ...\n")' is invalid code. * A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes" is an invalid expression. * "friend class SomeClass" only works when SomeClass is known before. Otherwise the an inner class with that name is considered as friend. gcc 4 is much pickier about scopes. * gcc 4 is generally stricter with respect to type conversions in C.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
28a06094 |
| 15-Aug-2004 |
beveloper <beveloper@nowhere.fake> |
Modified media_server and media_addon_server cration/terminatio. Now uses application mime sig for start/stopping. Much better compatibility with libbe.so restarting functions.
git-svn-id: file:///
Modified media_server and media_addon_server cration/terminatio. Now uses application mime sig for start/stopping. Much better compatibility with libbe.so restarting functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8586 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
8f975d5e |
| 03-Feb-2004 |
shatty <shatty@nowhere.fake> |
axel points out that the message loop is already started by the time we get to ReadyToRun, so we can start our friends there
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6485 a95241bf-73f2
axel points out that the message loop is already started by the time we get to ReadyToRun, so we can start our friends there
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6485 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
fa8dbc01 |
| 02-Feb-2004 |
shatty <shatty@nowhere.fake> |
new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0
new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|