Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: com.apple.coreaudio.avfaudio #41

Open
priya-tyagi-falconeer opened this issue Feb 5, 2024 · 0 comments
Open

Fatal Exception: com.apple.coreaudio.avfaudio #41

priya-tyagi-falconeer opened this issue Feb 5, 2024 · 0 comments

Comments

@priya-tyagi-falconeer
Copy link

I am facing this issue on iOS 17. Any help to resolve this issue is appreciated.

Fatal Exception: com.apple.coreaudio.avfaudio
required condition is false: IsFormatSampleRateAndChannelCountValid(hwFormat)

Exception start from Line 106 of SpeechController
node.installTap(onBus: 0,
bufferSize: SpeechController.AUDIO_BUFFER_SIZE,
format: recordingFormat) { [weak self] (buffer, _) in
self?.speechRequest?.append(buffer)
}

stacktrace:
Fatal Exception: com.apple.coreaudio.avfaudio
0 CoreFoundation 0xf27f4 (Missing UUID 9f046e3672863a6ea280699d6e47cfaf)
1 libobjc.A.dylib 0x19eb4 (Missing UUID 49e2dcb3f0143fcf949bf5f57b3ef0a8)
2 CoreFoundation 0x1186f4 (Missing UUID 9f046e3672863a6ea280699d6e47cfaf)
3 AVFAudio 0x1724 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
4 AVFAudio 0xc5038 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
5 AVFAudio 0x234f4 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
6 AVFAudio 0xb8580 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
7 MyTestApp 0xd2750 SpeechController.record(textHandler:errorHandler:) + 106 (SpeechController.swift:106)
8 MyTestApp 0xd22d0 closure #1 in SpeechController.startRecording(textHandler:errorHandler:) + 82 (SpeechController.swift:82)
9 MyTestApp 0xd31ac partial apply for closure #1 in SpeechController.requestAuthorization(_:)
10 MyTestApp 0xd20a4 thunk for https://github.com/escaping @callee_guaranteed (https://github.com/unowned SFSpeechRecognizerAuthorizationStatus) -> () ()
11 libdispatch.dylib 0x1cb8 (Missing UUID dc1d018771493100bc63f633afebee6c)
12 libdispatch.dylib 0x3910 (Missing UUID dc1d018771493100bc63f633afebee6c)
13 libdispatch.dylib 0x6a5c (Missing UUID dc1d018771493100bc63f633afebee6c)
14 libdispatch.dylib 0x151f4 (Missing UUID dc1d018771493100bc63f633afebee6c)
15 libdispatch.dylib 0x15a04 (Missing UUID dc1d018771493100bc63f633afebee6c)
16 libsystem_pthread.dylib 0x30d8 (Missing UUID daf953735de639a1a6ced87f3f0629cc)
17 libsystem_pthread.dylib 0x1e30 (Missing UUID daf953735de639a1a6ced87f3f0629cc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant