OSDN Git Service

Use audio_stream_type_t consistently
authorGlenn Kasten <gkasten@google.com>
Mon, 9 Jan 2012 19:16:58 +0000 (11:16 -0800)
committerGlenn Kasten <gkasten@google.com>
Fri, 13 Jan 2012 00:52:52 +0000 (16:52 -0800)
Change-Id: I0b3ba8ab74f03433d1e64cb898fa62c02535a2f1

libvideoeditor/lvpp/VideoEditorPlayer.h

index 684a2e6..88a2aeb 100755 (executable)
@@ -59,7 +59,7 @@ class VideoEditorPlayer : public MediaPlayerInterface {
         virtual void            flush();
         virtual void            pause();
         virtual void            close();
-        void setAudioStreamType(int streamType) { mStreamType = streamType; }
+        void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; }
                 void            setVolume(float left, float right);
         virtual status_t        dump(int fd,const Vector<String16>& args) const;
 
@@ -73,7 +73,7 @@ class VideoEditorPlayer : public MediaPlayerInterface {
         AudioTrack*             mTrack;
         AudioCallback           mCallback;
         void *                  mCallbackCookie;
-        int                     mStreamType;
+        audio_stream_type_t     mStreamType;
         float                   mLeftVolume;
         float                   mRightVolume;
         float                   mMsecsPerFrame;