Make BMediaRecorder public

* Fills a functionality lack of the classic media_kit.
This commit is contained in:
Dario Casalinuovo 2017-01-10 20:51:08 +01:00
parent a325242d7f
commit 3ef4b20086
5 changed files with 10 additions and 15 deletions

View File

@ -15,6 +15,7 @@
#include <MediaFiles.h>
#include <MediaFormats.h>
#include <MediaNode.h>
#include <MediaRecorder.h>
#include <MediaRoster.h>
#include <MediaTheme.h>
#include <MediaTrack.h>

View File

@ -11,9 +11,10 @@
namespace BPrivate { namespace media {
class BMediaRecorderNode;
}
}
class BMediaRecorder {
public:
@ -105,18 +106,12 @@ private:
media_node fOutputNode;
media_source fOutputSource;
BMediaRecorderNode* fNode;
BPrivate::media::BMediaRecorderNode* fNode;
void* fBufferCookie;
uint32 fPadding[32];
friend class BMediaRecorderNode;
friend class BPrivate::media::BMediaRecorderNode;
};
}
}
using namespace BPrivate::media;
#endif // _MEDIA_RECORDER_H

View File

@ -10,12 +10,12 @@
#include <BufferConsumer.h>
#include <MediaEventLooper.h>
#include <MediaRecorder.h>
#include <String.h>
namespace BPrivate { namespace media {
class BMediaRecorder;
class BMediaRecorderNode : public BMediaEventLooper,
public BBufferConsumer {

View File

@ -13,8 +13,8 @@
#include <MediaRoster.h>
#include <TimeSource.h>
#include <MediaDebug.h>
#include <MediaRecorderNode.h>
#include "MediaDebug.h"
#include "MediaRecorderNode.h"
BMediaRecorder::BMediaRecorder(const char* name, media_type type)

View File

@ -15,8 +15,7 @@
#include <TimedEventQueue.h>
#include <TimeSource.h>
#include <MediaDebug.h>
#include <MediaRecorder.h>
#include "MediaDebug.h"
BMediaRecorderNode::BMediaRecorderNode(const char* name,