media_kit: General maintainance

* Move !missing_symbols.cpp in the legacy directory.
* Move useless methods in a Deprecated.cpp file.
* SetRealtimeFlags / GetRealtimeFlags are useless, they
don't make sense nowadays.
* The symbols are anyway preserved.
This commit is contained in:
Dario Casalinuovo
2015-12-05 18:59:38 +01:00
parent 5fb16fc743
commit 226be01113
4 changed files with 12 additions and 65 deletions
+11 -8
View File
@@ -320,9 +320,7 @@ public:
// _inOutCount defaults to 1
// if unspecified (NULL).
// General MediaKit configuration:
status_t SetRealtimeFlags(uint32 enabledFlags);
status_t GetRealtimeFlags(uint32* _enabledFlags);
// Returns the preferred audio buffer size
ssize_t AudioBufferSizeFor(int32 channelCount,
uint32 sampleFormat, float frameRate,
bus_type busType = B_UNKNOWN_BUS);
@@ -345,10 +343,6 @@ public:
virtual ~BMediaRoster();
private:
// This method is deprecated:
status_t SetOutputBuffersFor(const media_source& output,
BBufferGroup* group,
bool willReclaim = false);
// Reserving virtual function slots.
virtual status_t _Reserved_MediaRoster_0(void*);
@@ -367,13 +361,22 @@ private:
// Roster() or CurrentRoster().
BMediaRoster();
// TODO: Looks like these can be safely removed:
// Those methods are deprecated or considered useless
// NOTE: planned to be removed once we break the API.
status_t SetOutputBuffersFor(const media_source& output,
BBufferGroup* group,
bool willReclaim = false);
status_t SetRealtimeFlags(uint32 enabledFlags);
status_t GetRealtimeFlags(uint32* _enabledFlags);
static status_t ParseCommand(BMessage& reply);
status_t GetDefaultInfo(media_node_id forDefault,
BMessage& _config);
status_t SetRunningDefault(media_node_id forDefault,
const media_node& node);
// End of deprecated methods
private:
uint32 _reserved_media_roster_[67];