audio - iOS 3D mixer works in iOS 5+ but not in iOS 4.3 -
i've set kaudiounitsubtype_au3dmixerembedded
part of functional augraph
. i've set output asbd of mixer following:
sample rate: 44100 format id: lpcm format flags: c // (kaudioformatflagissignedinteger | kaudioformatflagsnativeendian | kaudioformatflagispacked) frames per packet: 1 channels per frame: 2 bits per channel: 16 bytes per packet: 4 bytes per frame: 4
this audio graph works great when running on ios 5+, on ios 4.3, outputs weird distorted sounds sound nothing inputs. better understand this, used 1 mixer input , compared input bytes versus output bytes. on ios 5+, input , output bytes identical, expect. however, on ios 4.3, output bytes different. when i'm inputting in 0s mixer (0x0000, 0x0000, ...) , output bytes printing out stream of 0x8000 0x8000.
does have idea why 3d mixer behaves strangely on ios 4.3?
Comments
Post a Comment