You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ,
I have issue in running this application on iphone device . It is working fine for iphone simulator but crashing on iphone 4.3 os .
I added flac file in application's resources and it is crashing at below code in AudioPlayer.cpp
/ Store the decoded audio
if(0 != framesDecoded) {
When I ran the app on my device in debug mode it crashed with EXC_BAD_ACCESS. Looking at the crash log on my device: EXC_ARM_DA_ALIGN got me thinking its memory alignment issue and it was at this line -> OSAtomicAdd64Barrier(framesDecoded, &mFramesDecoded); // mFramesDecoded is misaligned.
I had declared the alignment explicitly. In AudioPlayer.h:
Hello ,
I have issue in running this application on iphone device . It is working fine for iphone simulator but crashing on iphone 4.3 os .
I added flac file in application's resources and it is crashing at below code in AudioPlayer.cpp
/ Store the decoded audio
if(0 != framesDecoded) {
LOGGER_INFO("com.widevision.Test", "Frames->>>>" <<mFramesDecoded);
CARingBufferError result = mRingBuffer->Store(bufferList, framesDecoded, startingFrameNumber + startTime);
if(kCARingBufferError_OK != result)
LOGGER_ERR("com.wv.Test", "CARingBuffer::Store failed: " << result);
And Here is the crash log
Feb 6 14:54:39 iPhone SimplePlayer-iOS[1852] : OpenOutput
Feb 6 14:54:40 iPhone SimplePlayer-iOS[1852] : Resetting output
Feb 6 14:54:40 iPhone SimplePlayer-iOS[1852] : Enqueuing "file://localhost/var/mobile/Applications/DC638145-12AC-47CD-8727-BCDA8AA91086/SimplePlayer-iOS.app/Track.flac"
Feb 6 14:54:40 iPhone SimplePlayer-iOS[1852] : AudioUnitSetProperty (19, kAudioUnitScope_Input) failed: -10851
Feb 6 14:54:42 iPhone SimplePlayer-iOS[1852] : Decoding starting for "file://localhost/var/mobile/Applications/DC638145-12AC-47CD-8727-BCDA8AA91086/SimplePlayer-iOS.app/Track.flac"
Feb 6 14:54:42 iPhone SimplePlayer-iOS[1852] : Decoder format: 2 ch, 44100 Hz, 'lpcm' (0x0000002c) 16-bit little-endian signed integer, deinterleaved
Feb 6 14:54:42 iPhone SimplePlayer-iOS[1852] : Decoder channel layout: kAudioChannelLayoutTag_Stereo (0x00650002)
Feb 6 14:54:42 iPhone SimplePlayer-iOS[1852] : StartOutput
Feb 6 14:54:42 iPhone SimplePlayer-iOS[1852] : Frames->>>>0
Feb 6 14:54:42 iPhone SimplePlayer-iOS[1852] : Frames--------0
Printing Frames -- >> 0
Help Please !!!
The text was updated successfully, but these errors were encountered: