Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Side by Side Diff: content/renderer/media/audio_decoder.h

Issue 17502007: Move webkit/renderer/media/android/ to content/renderer/media/android/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_DECODER_ANDROID_H_
qinmin 2013/06/21 04:37:05 s/CONTENT_RENDERER_MEDIA_AUDIO_DECODER_ANDROID_H_/
scherkus (not reviewing) 2013/06/21 21:37:59 Done.
6 #define CONTENT_RENDERER_MEDIA_AUDIO_DECODER_ANDROID_H_
7
8 #include "base/basictypes.h"
9
10 #if defined(OS_ANDROID)
11 #include "base/callback_forward.h"
12 #include "base/file_descriptor_posix.h"
13 #include "base/shared_memory.h"
14 #endif
15
16 namespace WebKit {
17 class WebAudioBus;
18 }
19
20 namespace content {
21
22 #if defined(OS_ANDROID)
qinmin 2013/06/21 04:37:05 this file is purely for android, i think it can b
scherkus (not reviewing) 2013/06/21 21:37:59 The other webkit/renderer/media/audio_decoder.h fi
23 typedef base::Callback<
24 void(base::SharedMemoryHandle, base::FileDescriptor, size_t)>
25 WebAudioMediaCodecRunner;
26
27 bool DecodeAudioFileData(WebKit::WebAudioBus* destination_bus,
28 const char* data,
29 size_t data_size,
30 double sample_rate,
31 const WebAudioMediaCodecRunner& runner);
32 #endif
33
34 } // namespace content
35
36 #endif // CONTENT_RENDERER_MEDIA_AUDIO_DECODER_H_
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698