Lines Matching refs:AudioSfDecoder
32 AudioSfDecoder::AudioSfDecoder(const AudioPlayback_Parameters* params) : GenericPlayer(params),
43 SL_LOGD("AudioSfDecoder::AudioSfDecoder()");
47 AudioSfDecoder::~AudioSfDecoder() {
48 SL_LOGD("AudioSfDecoder::~AudioSfDecoder()");
52 void AudioSfDecoder::preDestroy() {
54 SL_LOGD("AudioSfDecoder::preDestroy()");
72 void AudioSfDecoder::play() {
73 SL_LOGD("AudioSfDecoder::play");
80 void AudioSfDecoder::getPositionMsec(int* msec) {
91 uint32_t AudioSfDecoder::getPcmFormatKeyCount() const {
97 bool AudioSfDecoder::getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize) {
108 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) {
122 bool AudioSfDecoder::getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize) {
134 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) {
162 void AudioSfDecoder::onPrepare() {
163 SL_LOGD("AudioSfDecoder::onPrepare()");
186 SL_LOGE("AudioSfDecoder::onPrepare: no data locator set");
193 SL_LOGE("AudioSfDecoder::onPrepare(): Error opening %s", mDataLocator.uriRef);
226 SL_LOGE("AudioSfDecoder::onPrepare: Could not instantiate extractor.");
252 SL_LOGE("AudioSfDecoder::onPrepare: Could not find a supported audio track.");
294 SL_LOGE("AudioSfDecoder::onPrepare: Could not instantiate decoder.");
304 SL_LOGE("AudioSfDecoder::onPrepare: Failed to start source/decoder.");
329 SL_LOGV("AudioSfDecoder::onPrepare: no need to prefetch");
353 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags);
357 void AudioSfDecoder::onPause() {
358 SL_LOGV("AudioSfDecoder::onPause()");
364 void AudioSfDecoder::onPlay() {
365 SL_LOGV("AudioSfDecoder::onPlay()");
371 void AudioSfDecoder::onSeek(const sp<AMessage> &msg) {
372 SL_LOGV("AudioSfDecoder::onSeek");
387 void AudioSfDecoder::onLoop(const sp<AMessage> &msg) {
388 SL_LOGV("AudioSfDecoder::onLoop");
393 //SL_LOGV("AudioSfDecoder::onLoop start looping");
396 //SL_LOGV("AudioSfDecoder::onLoop stop looping");
405 void AudioSfDecoder::onCheckCache(const sp<AMessage> &msg) {
406 //SL_LOGV("AudioSfDecoder::onCheckCache");
417 SL_LOGV("AudioSfDecoder::onCheckCache: buffering done.");
420 //SL_LOGV("AudioSfDecoder::onCheckCache: preparation done.");
434 void AudioSfDecoder::onDecode() {
435 SL_LOGV("AudioSfDecoder::onDecode");
562 void AudioSfDecoder::onMessageReceived(const sp<AMessage> &msg) {
584 void AudioSfDecoder::notifyPrepared(status_t prepareRes) {
597 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags);
601 void AudioSfDecoder::onNotify(const sp<AMessage> &msg) {
635 bool AudioSfDecoder::wantPrefetch() {
643 SL_LOGV("AudioSfDecoder::wantPrefetch() tries to access NULL mDataSource");
649 int64_t AudioSfDecoder::getPositionUsec() {
659 CacheStatus_t AudioSfDecoder::getCacheRemaining(bool *eos) {
672 //SL_LOGV("AudioSfDecoder::getCacheRemaining: approx %.2f secs remaining (eos=%d)",
743 void AudioSfDecoder::hasNewDecodeParams() {
775 bool AudioSfDecoder::isSupportedCodec(const char* mime) {