Lines Matching defs:AudioSfDecoder

34 AudioSfDecoder::AudioSfDecoder(const AudioPlayback_Parameters* params) : GenericPlayer(params),
45 SL_LOGD("AudioSfDecoder::AudioSfDecoder()");
49 AudioSfDecoder::~AudioSfDecoder() {
50 SL_LOGD("AudioSfDecoder::~AudioSfDecoder()");
54 void AudioSfDecoder::preDestroy() {
56 SL_LOGD("AudioSfDecoder::preDestroy()");
74 void AudioSfDecoder::play() {
75 SL_LOGD("AudioSfDecoder::play");
82 void AudioSfDecoder::getPositionMsec(int* msec) {
93 uint32_t AudioSfDecoder::getPcmFormatKeyCount() const {
99 bool AudioSfDecoder::getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize) {
110 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) {
124 bool AudioSfDecoder::getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize) {
136 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) {
164 void AudioSfDecoder::onPrepare() {
165 SL_LOGD("AudioSfDecoder::onPrepare()");
188 SL_LOGE("AudioSfDecoder::onPrepare: no data locator set");
196 SL_LOGE("AudioSfDecoder::onPrepare(): Error opening %s", mDataLocator.uriRef);
231 SL_LOGE("AudioSfDecoder::onPrepare: Could not instantiate extractor.");
257 SL_LOGE("AudioSfDecoder::onPrepare: Could not find a supported audio track.");
307 SL_LOGE("AudioSfDecoder::onPrepare: Could not instantiate decoder.");
317 SL_LOGE("AudioSfDecoder::onPrepare: Failed to start source/decoder.");
342 SL_LOGV("AudioSfDecoder::onPrepare: no need to prefetch");
366 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags);
370 void AudioSfDecoder::onPause() {
371 SL_LOGV("AudioSfDecoder::onPause()");
377 void AudioSfDecoder::onPlay() {
378 SL_LOGV("AudioSfDecoder::onPlay()");
384 void AudioSfDecoder::onSeek(const sp<AMessage> &msg) {
385 SL_LOGV("AudioSfDecoder::onSeek");
400 void AudioSfDecoder::onLoop(const sp<AMessage> &msg) {
401 SL_LOGV("AudioSfDecoder::onLoop");
406 //SL_LOGV("AudioSfDecoder::onLoop start looping");
409 //SL_LOGV("AudioSfDecoder::onLoop stop looping");
418 void AudioSfDecoder::onCheckCache(const sp<AMessage> &msg) {
419 //SL_LOGV("AudioSfDecoder::onCheckCache");
430 SL_LOGV("AudioSfDecoder::onCheckCache: buffering done.");
433 //SL_LOGV("AudioSfDecoder::onCheckCache: preparation done.");
447 void AudioSfDecoder::onDecode() {
448 SL_LOGV("AudioSfDecoder::onDecode");
577 void AudioSfDecoder::onMessageReceived(const sp<AMessage> &msg) {
599 void AudioSfDecoder::notifyPrepared(status_t prepareRes) {
612 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags);
616 void AudioSfDecoder::onNotify(const sp<AMessage> &msg) {
650 bool AudioSfDecoder::wantPrefetch() {
658 SL_LOGV("AudioSfDecoder::wantPrefetch() tries to access NULL mDataSource");
664 int64_t AudioSfDecoder::getPositionUsec() {
674 CacheStatus_t AudioSfDecoder::getCacheRemaining(bool *eos) {
687 //SL_LOGV("AudioSfDecoder::getCacheRemaining: approx %.2f secs remaining (eos=%d)",
758 void AudioSfDecoder::hasNewDecodeParams() {
792 bool AudioSfDecoder::isSupportedCodec(const char* mime) {