A new build has been up-loaded that fixes the lack of audio via HDMI.
Piers, so does your HDMI output full screen on video? Which app are you using? so I can try mine again, cheers.
Johnny: i saw in logcat that the problem was due to a buffer into stagefright's ACodec.cpp, sometimes it tried to copy a buffer bigger then its capacity... since my programming skills are limited i've tried to do something like that (it should work if you suffer from the same problem... you'll see easily that in logcat)
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -1819,8 +1819,12 @@ void ACodec::BaseState::onInputBufferFilled(const sp<AMessage> &msg) {
mCodec->mComponentName.c_str());
}
- CHECK_LE(buffer->size(), info->mData->capacity());
- memcpy(info->mData->data(), buffer->data(), buffer->size());
+ //CHECK_LE(buffer->size(), info->mData->capacity());
+ //memcpy(info->mData->data(), buffer->data(), buffer->size());
+ if (buffer->size() > info->mData->capacity())
+ memcpy(info->mData->data(), buffer->data(), info->mData->capacity());
+ else
+ memcpy(info->mData->data(), buffer->data(), buffer->size());
}
if (flags & OMX_BUFFERFLAG_CODECCONFIG) {
Return to Scroll EXTREME - General Discussions
Users browsing this forum: No registered users and 2 guests