bastienFalcou / SoundWave

Illustrate your sound waves on the fly 🚀
MIT License
611 stars 94 forks source link

iOS Crash: CrashIfClientProvidedBogusAudioBufferList when record #58

Closed phuongwd closed 3 years ago

phuongwd commented 4 years ago

Source code: SoundWave > Example

2020-09-18 11:10:14.462710+0700 SoundWave_Example[10288:210560] PropertyID=1667788144 is NULL 2020-09-18 11:10:14.528267+0700 SoundWave_Example[10288:210901] HALB_IOBufferManager_Client::GetIOBuffer: the stream index is out of range 2020-09-18 11:10:14.528370+0700 SoundWave_Example[10288:210901] HALB_IOBufferManager_Client::GetIOBuffer: the stream index is out of range 2020-09-18 11:10:14.570488+0700 SoundWave_Example[10288:210901] [aqme] AQME.h:254:IOProcFailure: AQDefaultDevice (1): output stream 0: null buffer 2020-09-18 11:10:14.570693+0700 SoundWave_Example[10288:210901] [aqme] AQMEIO_HAL.cpp:1774:IOProc: EXCEPTION thrown (-50): error != 0 2020-09-18 11:10:29.464374+0700 SoundWave_Example[10288:210776] [aqme] AQMEIO.cpp:179:AwaitIOCycle: timed out after 15.000s (0 1); suspension count=0 (IOSuspensions: ) 2020-09-18 11:10:29.464608+0700 SoundWave_Example[10288:210776] CA_UISoundClient.cpp:241:StartPlaying_block_invoke: CA_UISoundClientBase::StartPlaying: AddRunningClient failed (status = -66681). 2020-09-18 11:10:29.539397+0700 SoundWave_Example[10288:211142] HALB_IOBufferManager_Client::GetIOBuffer: the stream index is out of range 2020-09-18 11:10:29.539517+0700 SoundWave_Example[10288:211142] HALB_IOBufferManager_Client::GetIOBuffer: the stream index is out of range 2020-09-18 11:10:29.582672+0700 SoundWave_Example[10288:211142] [aqme] AQME.h:254:IOProcFailure: AQDefaultDevice (1): input stream 0: null buffer (lldb)

image

IrelDev commented 3 years ago

You can't run this example on a simulator, you need a real device

phuongwd commented 3 years ago

@IrelDev thank you