Am 05.01.22 um 15:51 schrieb Marvin Scholz: > On 31 Dec 2021, at 18:42, Romain Beauxis wrote: > >> * Implement support for AudioConverter >> * Switch to AudioConverter's API to convert unsupported PCM >> formats (non-interleaved, non-packed) to supported formats >> * Minimize data copy. >> >> This fixes: https://trac.ffmpeg.org/ticket/9502 >> >> API ref: >> https://developer.apple.com/documentation/audiotoolbox/audio_converter_services >> >> Signed-off-by: Romain Beauxis <to...@rastageeks.org> >> — >> [Sorry for the noise but an issue came up with the previous set] >> >> This is the first patch of a series of 3 that fix, cleanup and enhance the >> avfoundation implementation for libavdevice. >> >> These patches come from an actual user-facing application relying on >> libavdevice’s implementation of avfoundation audio input. Without them, >> Avfoundation is practically unusable as it will: >> * Refuse to process certain specific audio input format that are actually >> returned by the OS for some users (packed PCM audio) >> * Drop audio frames, resulting in corrupted audio input. This might have been >> unnoticed with video frames but this makes avfoundation essentially unusable >> for audio. >> >> The patches are now being included in our production build so they are tested >> and usable in production. >> >> Changelog for this patch: >> * v2: None >> * v3: None >> * v4: None >> * v5: Fix indentation/wrapping >> * v6: None >> * v7: Removed use of kAudioConverterPropertyCalculateOutputBufferSize >> to calculate output buffer size. The calculation is trivial and this call >> was >> randomly failing for no reason >> * v8: None >> > > The patchset fails to apply for me: > > Applying: libavdevice/avfoundation.m: use AudioConvert, extend supported > formats > error: corrupt patch at line 191 > Patch failed at 0001 libavdevice/avfoundation.m: use AudioConvert, extend > supported formats
Same here. -Thilo _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".