summaryrefslogtreecommitdiffstats
path: root/include/media/mediarecorder.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-06-25 17:06:47 -0700
committerJames Dong <jdong@google.com>2010-06-28 15:32:26 -0700
commit37047fceba836f341d0108beed0991b0f8dfc543 (patch)
tree6b60725c1d6af1ca91a46961bbecff9b996d07c2 /include/media/mediarecorder.h
parent93d6b102a13afa23bfa80d74c399d93d542e6ad6 (diff)
downloadframeworks_av-37047fceba836f341d0108beed0991b0f8dfc543.zip
frameworks_av-37047fceba836f341d0108beed0991b0f8dfc543.tar.gz
frameworks_av-37047fceba836f341d0108beed0991b0f8dfc543.tar.bz2
Separate MediaRecorderClient with MediaPlayerClient
- An alternative would be to define a common base class that both MediaRecorderClient and MediaPlayerClient can derive. But since the common code, onTransact() and notify() uses some Binder code, having a common base class may not gain us too much in terms of code reuse. Change-Id: Ibc06720278ad173fceacff3d267b7060856c6316
Diffstat (limited to 'include/media/mediarecorder.h')
-rw-r--r--include/media/mediarecorder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/mediarecorder.h b/include/media/mediarecorder.h
index 4f4ec43..b21bc4d 100644
--- a/include/media/mediarecorder.h
+++ b/include/media/mediarecorder.h
@@ -22,7 +22,7 @@
#include <utils/threads.h>
#include <utils/List.h>
#include <utils/Errors.h>
-#include <media/IMediaPlayerClient.h>
+#include <media/IMediaRecorderClient.h>
#include <media/IMediaDeathNotifier.h>
namespace android {
@@ -149,7 +149,7 @@ public:
virtual void notify(int msg, int ext1, int ext2) = 0;
};
-class MediaRecorder : public BnMediaPlayerClient,
+class MediaRecorder : public BnMediaRecorderClient,
public virtual IMediaDeathNotifier
{
public: