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
func testConversionRoundTrip() {
let src = Bundle.main.url(forResource: "VoiceRecordingWeb", withExtension: "m4a")!
func testConversionRoundTrip() {
let src = Bundle.main.url(forResource: "audio", withExtension: "m4a")!
creashed
encoder = opus_encoder_create(opusRate, pcmChannels, application.rawValue, &status)
OGGEncoder.swift:80: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
AVAudioRecorder
[
AVFormatIDKey: NSNumber(value: kAudioFormatMPEG4AAC),
AVNumberOfChannelsKey: 1,
AVEncoderAudioQualityKey : AVAudioQuality.low.rawValue,
AVLinearPCMBitDepthKey : 16,
AVSampleRateKey : 44100.0
]
use this setting to create audio.m4a
文件地址 https://github.com/FSilver/Resource/blob/main/audio.m4a
The text was updated successfully, but these errors were encountered:
FSilver
changed the title
Crashes when I use my audio.m4a file replace VoiceRecordingWeb.m4a
Crashes when I use my audio.m4a file replace VoiceRecordingWeb.m4a https://github.com/FSilver/Resource/blob/main/audio.m4a
Oct 31, 2022
let src = Bundle.main.url(forResource: "VoiceRecordingWeb", withExtension: "m4a")!
func testConversionRoundTrip() {
let src = Bundle.main.url(forResource: "audio", withExtension: "m4a")!
creashed
encoder = opus_encoder_create(opusRate, pcmChannels, application.rawValue, &status)
OGGEncoder.swift:80: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
AVAudioRecorder
[
AVFormatIDKey: NSNumber(value: kAudioFormatMPEG4AAC),
AVNumberOfChannelsKey: 1,
AVEncoderAudioQualityKey : AVAudioQuality.low.rawValue,
AVLinearPCMBitDepthKey : 16,
AVSampleRateKey : 44100.0
]
use this setting to create audio.m4a
文件地址 https://github.com/FSilver/Resource/blob/main/audio.m4a
The text was updated successfully, but these errors were encountered: