mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 15:28:58 +01:00
Make BMediaRecorder public
* Fills a functionality lack of the classic media_kit.
This commit is contained in:
parent
a325242d7f
commit
3ef4b20086
@ -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>
|
||||
|
@ -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
|
@ -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 {
|
||||
|
@ -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)
|
||||
|
@ -15,8 +15,7 @@
|
||||
#include <TimedEventQueue.h>
|
||||
#include <TimeSource.h>
|
||||
|
||||
#include <MediaDebug.h>
|
||||
#include <MediaRecorder.h>
|
||||
#include "MediaDebug.h"
|
||||
|
||||
|
||||
BMediaRecorderNode::BMediaRecorderNode(const char* name,
|
||||
|
Loading…
Reference in New Issue
Block a user