[FFmpeg-trac] #9502(avdevice:open): Intermittent error when opening audio device with avfoundation (mac)

FFmpeg trac at avcodec.org
Wed Nov 10 01:26:42 EET 2021


#9502: Intermittent error when opening audio device with avfoundation (mac)
-------------------------------------+-------------------------------------
             Reporter:  toots        |                    Owner:  Thilo
                                     |  Borgmann
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avdevice
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by toots):

 Here are the relevant variables:

 basic_desc->mFormatI: 'lpcm',
 basic_desc->mChannelsPerFrame: 2,
 basic_desc->mBitsPerChannel: 24,
 basic_desc->mFormatFlags: 0x4 (kAudioFormatFlagIsSignedInteger)

 It looks like the issue here is that the kAudioFormatFlagIsPacked flag
 isn't set.

 Let us know if you have any suggestion, happy to hack/test further!
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9502#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list