Question / Help An error occurred initializing microphone audio

Stevenb

New Member
So I posted this before and got essentially no views, so I'm going to try again since it's already on the third page and might as well be lost at this point. If someone could even just explain what the error code means or point me to where I can look up the meaning of error codes that would be great. So here's the story. I just did a windows update today for windows 10. Everything worked fine before this. I'm using built in microphone on my laptop. It looks like during the update, it reinstalled my microphone for whatever reason. Now every time I try to run obs, it gives me the message "An error occurred initializing microphone audio - it may not be plugged in, or another application could be using it in exclusive mode". So I went into the setting and made it so that the microphone can't be used in exclusive mode by unchecking the check box and restarting my computer. Still nothing works. My audio can't be plugged in because it's built into the computer so... Now I'm lost. For a similar problem I heard of people trying to update their drivers and that worked for them, but when I try to update my drivers, windows is telling me that "The best drivers for your device are already installed". So I'm stuck now unless someone can help me try to update them manually if possible? Thanks!

11:11:23: Video Encoding: x264
11:11:23: fps: 30
11:11:23: width: 1364, height: 768
11:11:23: preset: veryfast
11:11:23: profile: high
11:11:23: keyint: 250
11:11:23: CBR: yes
11:11:23: CFR: yes
11:11:23: max bitrate: 30000
11:11:23: buffer size: 30000
11:11:23: ------------------------------------------
11:11:25: FlushBufferedVideo: Flushing 2 packets over 34 ms
11:11:25: Total frames encoded: 11, total frames duplicated: 0 (0.00%)
11:11:25: Total frames rendered: 37, number of late frames: 1 (2.70%) (it's okay for some frames to be late)
11:11:25:
11:11:25: Profiler time results:
11:11:25:
11:11:25: ==============================================================
11:11:25: video thread frame - [100%] [avg time: 3.003 ms] [children: 30.8%] [unaccounted: 69.2%]
11:11:25: | scene->Preprocess - [11.3%] [avg time: 0.339 ms]
11:11:25: | GPU download and conversion - [19.5%] [avg time: 0.587 ms] [children: 20.7%] [unaccounted: -1.13%]
11:11:25: | | flush - [13%] [avg time: 0.39 ms]
11:11:25: | | CopyResource - [7.13%] [avg time: 0.214 ms]
11:11:25: | | conversion to 4:2:0 - [0.566%] [avg time: 0.017 ms]
11:11:25: Convert444Thread - [100%] [avg time: 4.166 ms] [children: 99.4%] [unaccounted: 0.624%]
11:11:25: | Convert444toNV12 - [99.4%] [avg time: 4.14 ms]
11:11:25: encoder thread frame - [100%] [avg time: 1.683 ms] [children: 0.178%] [unaccounted: 99.8%]
11:11:25: | sending stuff out - [0.178%] [avg time: 0.003 ms]
11:11:25: ==============================================================
11:11:25:
11:11:25:
11:11:25: Profiler CPU results:
11:11:25:
11:11:25: ==============================================================
11:11:25: video thread frame - [cpu time: avg 2.111 ms, total 78.125 ms] [avg calls per frame: 1]
11:11:25: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
11:11:25: | GPU download and conversion - [cpu time: avg 0.422 ms, total 15.625 ms] [avg calls per frame: 1]
11:11:25: | | flush - [cpu time: avg 0.422 ms, total 15.625 ms] [avg calls per frame: 1]
11:11:25: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
11:11:25: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
11:11:25: Convert444Thread - [cpu time: avg 3.125 ms, total 31.25 ms] [avg calls per frame: 1]
11:11:25: | Convert444toNV12 - [cpu time: avg 3.125 ms, total 31.25 ms] [avg calls per frame: 1]
11:11:25: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
11:11:25: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
11:11:25: ==============================================================
11:11:25:
11:11:25: =====Stream End: 2018-06-01, 11:11:25=================================================
11:17:53: =====Stream Start: 2018-06-01, 11:17:53===============================================
11:17:53: Multithreaded optimizations: On
11:17:53: Base resolution: 1366x768
11:17:53: Output resolution: 1364x768
11:17:53: ------------------------------------------
11:17:53: Loading up D3D10 on Intel(R) HD Graphics 5500 (Adapter 1)...
11:17:53: ------------------------------------------
11:17:53: Audio Format: 48000 Hz
11:17:53: ------------------------------------------
11:17:53: Audio Channels: 2 Ch
11:17:53: Playback device Default
11:17:53: ------------------------------------------
11:17:53: Using desktop audio input: Speakers / Headphones (Realtek High Definition Audio)
11:17:53: Global Audio time adjust: 0
11:17:53: ------------------------------------------
11:17:53: Using auxilary audio input: Microphone (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::Initialize(1): Could not initialize audio client, result = 80070005
 

Stevenb

New Member
So I answered my own question. As usual, microsoft likes to fuck with your settings when you do updates because it's fun and obviously you wouldn't want your settings to be the same after the update right? Ranting aside, you need to change your settings.
1. Go to Start, then select Settings > Privacy > Microphone.
2. There's a setting called "Allow apps to access your microphone", if this is off, turn it on.
3. Done! You may also want to change which apps can access your microphone. Interestingly, OBS is not on the list of apps, but it seems to default to be on which is of course what you want anyway so it doesn't matter. But I recommend turning off anything you don't plan on using just in case.
 
Top