¡@

Home 

2014/10/16 ¤W¤È 08:25:08

android Programming Glossary: status_t

Anyone Have MediaPlayer Working with ParcelFileDescriptor and createPipe()?

http://stackoverflow.com/questions/12920429/anyone-have-mediaplayer-working-with-parcelfiledescriptor-and-createpipe

in AOSP where it does a fstat on the read side of the pipe status_t MediaPlayerService Client setDataSource int fd int64_t offset..

android code for streaming shoutcast stream breaks in 2.2

http://stackoverflow.com/questions/3834548/android-code-for-streaming-shoutcast-stream-breaks-in-2-2

At this point apparently the player argument is NULL status_t MediaPlayer setDataSource const sp IMediaPlayer player status_t.. MediaPlayer setDataSource const sp IMediaPlayer player status_t err UNKNOWN_ERROR sp IMediaPlayer p scope for the lock Mutex.. if p 0 p disconnect return err That came from the function status_t MediaPlayer setDataSource const char url const KeyedVector String8..

How does setMicrophoneMute() work?

http://stackoverflow.com/questions/6874881/how-does-setmicrophonemute-work

to the AudioFlinger service and the call to virtual status_t setMicMute bool state Parcel data reply data.writeInterfaceToken.. The receiving side of the Binder call looks like status_t BnAudioFlinger onTransact uint32_t code const Parcel data Parcel.. the AudioFlinger . Next step is to look at this function status_t AudioFlinger setMicMute bool state check calling permissions..

Android - Include native StageFright features in my own project

http://stackoverflow.com/questions/9832503/android-include-native-stagefright-features-in-my-own-project

width mHeight height mColorFormat colorFormat virtual status_t read MediaBuffer buffer const MediaSource ReadOptions options..

Anyone Have MediaPlayer Working with ParcelFileDescriptor and createPipe()?

http://stackoverflow.com/questions/12920429/anyone-have-mediaplayer-working-with-parcelfiledescriptor-and-createpipe

comes from the following lines in MediaPlayerService.cpp in AOSP where it does a fstat on the read side of the pipe status_t MediaPlayerService Client setDataSource int fd int64_t offset int64_t length struct stat sb int ret fstat fd sb .... if..

android code for streaming shoutcast stream breaks in 2.2

http://stackoverflow.com/questions/3834548/android-code-for-streaming-shoutcast-stream-breaks-in-2-2

media libmedia mediaplayer.cpp it comes down to this function. At this point apparently the player argument is NULL status_t MediaPlayer setDataSource const sp IMediaPlayer player status_t err UNKNOWN_ERROR sp IMediaPlayer p scope for the lock Mutex.. At this point apparently the player argument is NULL status_t MediaPlayer setDataSource const sp IMediaPlayer player status_t err UNKNOWN_ERROR sp IMediaPlayer p scope for the lock Mutex Autolock _l mLock if mCurrentState MEDIA_PLAYER_IDLE mCurrentState.. err NO_ERROR else LOGE Unable to to create media player if p 0 p disconnect return err That came from the function status_t MediaPlayer setDataSource const char url const KeyedVector String8 String8 headers from the same file where it was able..

How does setMicrophoneMute() work?

http://stackoverflow.com/questions/6874881/how-does-setmicrophonemute-work

to dig deeper into the source code. IAudioflinger is the interface to the AudioFlinger service and the call to virtual status_t setMicMute bool state Parcel data reply data.writeInterfaceToken IAudioFlinger getInterfaceDescriptor data.writeInt32 state.. is actually the Binder transaction to mute the microphone. The receiving side of the Binder call looks like status_t BnAudioFlinger onTransact uint32_t code const Parcel data Parcel reply uint32_t flags switch code ... case SET_MIC_MUTE.. ... and calls to the actual implementation of setMicMute in the AudioFlinger . Next step is to look at this function status_t AudioFlinger setMicMute bool state check calling permissions if settingsAllowed return PERMISSION_DENIED AutoMutex lock..

Android - Include native StageFright features in my own project

http://stackoverflow.com/questions/9832503/android-include-native-stagefright-features-in-my-own-project

ImageSource int width int height int colorFormat mWidth width mHeight height mColorFormat colorFormat virtual status_t read MediaBuffer buffer const MediaSource ReadOptions options here you can fill the buffer with your pixels ... int width..