Home | History | Annotate | Download | only in android

Lines Matching defs:AudioSfDecoder

33 AudioSfDecoder::AudioSfDecoder(const AudioPlayback_Parameters* params) : GenericPlayer(params),
44 SL_LOGD("AudioSfDecoder::AudioSfDecoder()");
48 AudioSfDecoder::~AudioSfDecoder() {
49 SL_LOGD("AudioSfDecoder::~AudioSfDecoder()");
53 void AudioSfDecoder::preDestroy() {
55 SL_LOGD("AudioSfDecoder::preDestroy()");
73 void AudioSfDecoder::play() {
74 SL_LOGD("AudioSfDecoder::play");
81 void AudioSfDecoder::getPositionMsec(int* msec) {
92 uint32_t AudioSfDecoder::getPcmFormatKeyCount() const {
98 bool AudioSfDecoder::getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize) {
109 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) {
123 bool AudioSfDecoder::getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize) {
135 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) {
163 void AudioSfDecoder::onPrepare() {
164 SL_LOGD("AudioSfDecoder::onPrepare()");
187 SL_LOGE("AudioSfDecoder::onPrepare: no data locator set");
194 SL_LOGE("AudioSfDecoder::onPrepare(): Error opening %s", mDataLocator.uriRef);
229 SL_LOGE("AudioSfDecoder::onPrepare: Could not instantiate extractor.");
255 SL_LOGE("AudioSfDecoder::onPrepare: Could not find a supported audio track.");
305 SL_LOGE("AudioSfDecoder::onPrepare: Could not instantiate decoder.");
315 SL_LOGE("AudioSfDecoder::onPrepare: Failed to start source/decoder.");
340 SL_LOGV("AudioSfDecoder::onPrepare: no need to prefetch");
364 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags);
368 void AudioSfDecoder::onPause() {
369 SL_LOGV("AudioSfDecoder::onPause()");
375 void AudioSfDecoder::onPlay() {
376 SL_LOGV("AudioSfDecoder::onPlay()");
382 void AudioSfDecoder::onSeek(const sp<AMessage> &msg) {
383 SL_LOGV("AudioSfDecoder::onSeek");
398 void AudioSfDecoder::onLoop(const sp<AMessage> &msg) {
399 SL_LOGV("AudioSfDecoder::onLoop");
404 //SL_LOGV("AudioSfDecoder::onLoop start looping");
407 //SL_LOGV("AudioSfDecoder::onLoop stop looping");
416 void AudioSfDecoder::onCheckCache(const sp<AMessage> &msg) {
417 //SL_LOGV("AudioSfDecoder::onCheckCache");
428 SL_LOGV("AudioSfDecoder::onCheckCache: buffering done.");
431 //SL_LOGV("AudioSfDecoder::onCheckCache: preparation done.");
445 void AudioSfDecoder::onDecode() {
446 SL_LOGV("AudioSfDecoder::onDecode");
575 void AudioSfDecoder::onMessageReceived(const sp<AMessage> &msg) {
597 void AudioSfDecoder::notifyPrepared(status_t prepareRes) {
610 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags);
614 void AudioSfDecoder::onNotify(const sp<AMessage> &msg) {
648 bool AudioSfDecoder::wantPrefetch() {
656 SL_LOGV("AudioSfDecoder::wantPrefetch() tries to access NULL mDataSource");
662 int64_t AudioSfDecoder::getPositionUsec() {
672 CacheStatus_t AudioSfDecoder::getCacheRemaining(bool *eos) {
685 //SL_LOGV("AudioSfDecoder::getCacheRemaining: approx %.2f secs remaining (eos=%d)",
756 void AudioSfDecoder::hasNewDecodeParams() {
790 bool AudioSfDecoder::isSupportedCodec(const char* mime) {