summaryrefslogtreecommitdiffstats
path: root/include/media/IMediaPlayerService.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-10-15 13:46:54 -0700
committerAndreas Huber <andih@google.com>2009-10-16 11:22:43 -0700
commit784202ea115603004b067aacf6a57bf5d2a7d53b (patch)
tree0e32ad4b315f936a80ac1af63ae2e919e6ffe090 /include/media/IMediaPlayerService.h
parentd21b725627e68b8ffcae38729196e8c1bd5d0d15 (diff)
downloadframeworks_base-784202ea115603004b067aacf6a57bf5d2a7d53b.zip
frameworks_base-784202ea115603004b067aacf6a57bf5d2a7d53b.tar.gz
frameworks_base-784202ea115603004b067aacf6a57bf5d2a7d53b.tar.bz2
Reimplement the OMX backend for stagefright.
Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup. Changed APIs to conform to the rest of the system.
Diffstat (limited to 'include/media/IMediaPlayerService.h')
-rw-r--r--include/media/IMediaPlayerService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/IMediaPlayerService.h b/include/media/IMediaPlayerService.h
index 303444c..d5c1594 100644
--- a/include/media/IMediaPlayerService.h
+++ b/include/media/IMediaPlayerService.h
@@ -42,7 +42,7 @@ public:
virtual sp<IMediaPlayer> create(pid_t pid, const sp<IMediaPlayerClient>& client, int fd, int64_t offset, int64_t length) = 0;
virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, int* pFormat) = 0;
virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, int* pFormat) = 0;
- virtual sp<IOMX> createOMX() = 0;
+ virtual sp<IOMX> getOMX() = 0;
// Take a peek at currently playing audio, for visualization purposes.
// This returns a buffer of 16 bit mono PCM data, or NULL if no visualization buffer is currently available.