Error '!dat' trying to set the (null) audio devices' sample rate

后端 未结 3 470
梦如初夏
梦如初夏 2021-01-12 17:03

I am trying to play an audio clip (using AVAudioPlayer) and a video clip (using MPMoviePlayerController), both of which were working.

I then checked the files into S

相关标签:
3条回答
  • 2021-01-12 17:41

    I had the same problem. Here is what I did:

    • Close xcode and the iOS simulator
    • Unplug the headphone jack and any usb headphones you might have
    • Restart xcode and run your simulation (problem should be solved)
    • Plug back in any audio devices you want to use
    0 讨论(0)
  • 2021-01-12 17:43

    Did another reinstall and it finally worked. Still no idea what the problem was

    0 讨论(0)
  • 2021-01-12 17:58

    had the same problem for several days (extremely annoying). I managed to fix it by changing the input settings for audio under system preferences.

    System Preferences -> Sound -> Input

    0 讨论(0)
提交回复
热议问题