MediaClient: Add some padding and reserved functions

This commit is contained in:
Dario Casalinuovo 2016-11-26 17:30:49 +01:00
parent 05e29ea1ad
commit 209b520fa0
2 changed files with 52 additions and 0 deletions

View File

@ -176,6 +176,19 @@ protected:
private:
media_input MediaInput() const;
virtual void _ReservedMediaInput0();
virtual void _ReservedMediaInput1();
virtual void _ReservedMediaInput2();
virtual void _ReservedMediaInput3();
virtual void _ReservedMediaInput4();
virtual void _ReservedMediaInput5();
virtual void _ReservedMediaInput6();
virtual void _ReservedMediaInput7();
virtual void _ReservedMediaInput8();
virtual void _ReservedMediaInput9();
virtual void _ReservedMediaInput10();
uint32 fPadding[32];
friend class BMediaClientNode;
};
@ -206,6 +219,19 @@ private:
bool fOutputEnabled;
virtual void _ReservedMediaOutput0();
virtual void _ReservedMediaOutput1();
virtual void _ReservedMediaOutput2();
virtual void _ReservedMediaOutput3();
virtual void _ReservedMediaOutput4();
virtual void _ReservedMediaOutput5();
virtual void _ReservedMediaOutput6();
virtual void _ReservedMediaOutput7();
virtual void _ReservedMediaOutput8();
virtual void _ReservedMediaOutput9();
virtual void _ReservedMediaOutput10();
uint32 fPadding[32];
friend class BMediaClientNode;
};

View File

@ -287,6 +287,19 @@ BMediaInput::BufferReceived(BBuffer* buffer)
}
void BMediaInput::_ReservedMediaInput0() {}
void BMediaInput::_ReservedMediaInput1() {}
void BMediaInput::_ReservedMediaInput2() {}
void BMediaInput::_ReservedMediaInput3() {}
void BMediaInput::_ReservedMediaInput4() {}
void BMediaInput::_ReservedMediaInput5() {}
void BMediaInput::_ReservedMediaInput6() {}
void BMediaInput::_ReservedMediaInput7() {}
void BMediaInput::_ReservedMediaInput8() {}
void BMediaInput::_ReservedMediaInput9() {}
void BMediaInput::_ReservedMediaInput10() {}
BMediaOutput::BMediaOutput(BMediaClient* owner, media_connection_id id)
:
BMediaConnection(owner, B_MEDIA_OUTPUT, id)
@ -346,3 +359,16 @@ BMediaOutput::MediaOutput() const
{
return Connection().MediaOutput();
}
void BMediaOutput::_ReservedMediaOutput0() {}
void BMediaOutput::_ReservedMediaOutput1() {}
void BMediaOutput::_ReservedMediaOutput2() {}
void BMediaOutput::_ReservedMediaOutput3() {}
void BMediaOutput::_ReservedMediaOutput4() {}
void BMediaOutput::_ReservedMediaOutput5() {}
void BMediaOutput::_ReservedMediaOutput6() {}
void BMediaOutput::_ReservedMediaOutput7() {}
void BMediaOutput::_ReservedMediaOutput8() {}
void BMediaOutput::_ReservedMediaOutput9() {}
void BMediaOutput::_ReservedMediaOutput10() {}