Home getting fatal exception when trying to play decoded audio using audioTrack
Reply: 0

getting fatal exception when trying to play decoded audio using audioTrack

user762
1#
user762 Published in April 23, 2018, 9:40 am

I'm using MediaCodec for video decoding and playing it on surface texture. It all works fine, but when I am decoding audio, it's getting decoded successfully, but when I am trying to play it using AudioTrack I am getting following error:

com.**** I/OMXClient: Using client-side OMX mux.

com.**** I/OMXClient: Using client-side OMX mux.

com.**** E/ACodec: [OMX.Intel.VideoDecoder.AVC] storeMetaDataInBuffers failed w/ err -2147483648

com.**** A/libc: Fatal signal 11 (SIGSEGV) at 0x0029004c (code=1), thread 23469 (Audio Thread)

I am getting the error at this line:

audioTrack.write(byteArr, 0, byteArr.length); 

Thanks in advance

@isabsent

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.463951 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO