Bug Report Microphone Initializing Error

DavoTron

New Member
Hello. Looked through multiple threads relating to this issue, and found no suitable solutions that work for me.

What I did
* Selected my Microphone (plugged in through an Audio Interface)
* Tested Noise Gate

What I expected to happen
* I could test the Noise Gate function

What actually happened
* Received a lightbox error stating "An error occurred initializing microphone audio - it may not be plugged in, or another application could be using it in exclusive mode"

What I've tried
* Disabling Exclusive Mode
* Restarting the machine
* Ensuring Skype is not opening during start up
* Ensuring the microphone is plugged in (It is, and can record fine in Audacity)
* Ensured that the Audio interface is the default sound device at a Windows level, and restarted the machine
* Disabled other recording devices that are listed as 'Ready'

Really baffled by this one. Included the log in the next post below. Maybe OBS isn't a fan of Audio Interfaces?
 

DavoTron

New Member
Code:
22:34:10: Open Broadcaster Software v0.625b - 64bit ( ^ω^)
22:34:10: -------------------------------
22:34:10: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
22:34:10: CPU Speed: 3430MHz
22:34:10: Physical Memory:  8153MB Total, 6448MB Free
22:34:10: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
22:34:10: monitor 1: pos={0, 0}, size={1440, 900}
22:34:10: Windows Version: 6.2 Build 9200
22:34:10: Aero is Enabled
22:34:10: -------------------------------
22:34:10: OBS Modules:
22:34:10: Base Address     Module
22:34:10: 00000000219B0000 OBS.exe
22:34:10: 0000000033950000 OBSApi.dll
22:34:10: 0000000054890000 DShowPlugin.dll
22:34:10: 000000004E890000 GraphicsCapture.dll
22:34:10: 000000004DD50000 NoiseGate.dll
22:34:10: 000000004D9F0000 PSVPlugin.dll
22:34:10: ------------------------------------------
22:34:10: Adapter 1
22:34:10:   Video Adapter: AMD Radeon HD 7800 Series
22:34:10:   Video Adapter Dedicated Video Memory: 1054920704
22:34:10:   Video Adapter Shared System Memory: 4006529024
22:34:10:   Video Adapter Output 1: pos={0, 0}, size={1440, 900}, attached=true
22:34:10: =====Stream Start: 2014-08-02, 22:34:10===============================================
22:34:10:   Multithreaded optimizations: Off
22:34:10:   Base resolution: 1440x900
22:34:10:   Output resolution: 1440x900
22:34:10: ------------------------------------------
22:34:10: Loading up D3D10 on AMD Radeon HD 7800 Series (Adapter 1)...
22:34:10: ------------------------------------------
22:34:10: Audio Format: 44100 Hz
22:34:10: ------------------------------------------
22:34:10: Audio Channels: 2 Ch
22:34:10: Playback device Default
22:34:10: ------------------------------------------
22:34:10: Using desktop audio input: Line Out (3- Saffire 6 USB)
22:34:10: Global Audio time adjust: 0
22:34:10: ------------------------------------------
22:34:10: Using auxilary audio input: Line In (3- Saffire 6 USB)
Warning -- MMDeviceAudioSource::Initialize(1): Could not initialize audio client, result = 8889000A
22:34:11: ------------------------------------------
22:34:11: Audio Encoding: MP3
22:34:11:     bitrate: 128
22:34:11: Using graphics capture
22:34:11: Scene buffering time set to 700
22:34:11: ------------------------------------------
22:34:11: Video Encoding: x264
22:34:11:     fps: 30
22:34:11:     width: 1440, height: 900
22:34:11:     preset: veryfast
22:34:11:     profile: high
22:34:11:     keyint: 60
22:34:11:     CBR: yes
22:34:11:     CFR: yes
22:34:11:     max bitrate: 3500
22:34:11:     buffer size: 3500
22:34:11: ------------------------------------------
22:34:12: Total frames encoded: 14, total frames duplicated: 0 (0.00%)
22:34:12: Total frames rendered: 36, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
22:34:12:
22:34:12: Profiler time results:
22:34:12:
22:34:12: ==============================================================
22:34:12: video thread frame - [100%] [avg time: 1.22 ms] [children: 53.1%] [unaccounted: 46.9%]
22:34:12: | scene->Preprocess - [0.082%] [avg time: 0.001 ms]
22:34:12: | GPU download and conversion - [53%] [avg time: 0.647 ms] [children: 107%] [unaccounted: -54.2%]
22:34:12: | | flush - [17.2%] [avg time: 0.21 ms]
22:34:12: | | CopyResource - [0.328%] [avg time: 0.004 ms]
22:34:12: | | conversion to 4:2:0 - [89.7%] [avg time: 1.094 ms] [children: 88.7%] [unaccounted: 0.984%]
22:34:12: | | | Convert444toNV12 - [88.7%] [avg time: 1.082 ms]
22:34:12: encoder thread frame - [100%] [avg time: 2.697 ms] [children: 0.0742%] [unaccounted: 99.9%]
22:34:12: | sending stuff out - [0.0742%] [avg time: 0.002 ms]
22:34:12: ==============================================================
22:34:12:
22:34:12:
22:34:12: Profiler CPU results:
22:34:12:
22:34:12: ==============================================================
22:34:12: video thread frame - [cpu time: avg 0.868 ms, total 31.25 ms] [avg calls per frame: 1]
22:34:12: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:34:12: | GPU download and conversion - [cpu time: avg 0.434 ms, total 15.625 ms] [avg calls per frame: 1]
22:34:12: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:34:12: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
22:34:12: | | conversion to 4:2:0 - [cpu time: avg 1.116 ms, total 15.625 ms] [avg calls per frame: 0]
22:34:12: | | | Convert444toNV12 - [cpu time: avg 1.116 ms, total 15.625 ms] [avg calls per frame: 0]
22:34:12: encoder thread frame - [cpu time: avg 2.232 ms, total 31.25 ms] [avg calls per frame: 1]
22:34:12: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:34:12: ==============================================================
22:34:12:
22:34:12: =====Stream End: 2014-08-02, 22:34:12=================================================
22:34:14: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
22:34:14: Failed loading CUDA dll
22:34:41: =====Stream Start: 2014-08-02, 22:34:41===============================================
22:34:41:   Multithreaded optimizations: Off
22:34:41:   Base resolution: 1440x900
22:34:41:   Output resolution: 1440x900
22:34:41: ------------------------------------------
22:34:41: Loading up D3D10 on AMD Radeon HD 7800 Series (Adapter 1)...
22:34:41: ------------------------------------------
22:34:41: Audio Format: 44100 Hz
22:34:41: ------------------------------------------
22:34:41: Audio Channels: 2 Ch
22:34:41: Playback device {0.0.0.00000000}.{7fd9255d-760b-42e2-9762-57db55d61f65}
22:34:41: ------------------------------------------
22:34:41: Using desktop audio input: Line Out (3- Saffire 6 USB)
22:34:41: Global Audio time adjust: 0
22:34:41: ------------------------------------------
22:34:41: Using auxilary audio input: Line In (3- Saffire 6 USB)
Warning -- MMDeviceAudioSource::Initialize(1): Could not initialize audio client, result = 8889000A
22:34:43: ------------------------------------------
22:34:43: Audio Encoding: MP3
22:34:43:     bitrate: 128
22:34:43: Using graphics capture
22:34:43: Scene buffering time set to 700
22:34:43: ------------------------------------------
22:34:43: Video Encoding: x264
22:34:43:     fps: 30
22:34:43:     width: 1440, height: 900
22:34:43:     preset: veryfast
22:34:43:     profile: high
22:34:43:     keyint: 60
22:34:43:     CBR: yes
22:34:43:     CFR: yes
22:34:43:     max bitrate: 3500
22:34:43:     buffer size: 3500
22:34:43: ------------------------------------------
22:34:46: Total frames encoded: 67, total frames duplicated: 0 (0.00%)
22:34:46: Total frames rendered: 89, number of late frames: 1 (1.12%) (it's okay for some frames to be late)
22:34:46:
22:34:46: Profiler time results:
22:34:46:
22:34:46: ==============================================================
22:34:46: video thread frame - [100%] [avg time: 1.392 ms] [children: 62.7%] [unaccounted: 37.3%]
22:34:46: | scene->Preprocess - [0.0718%] [avg time: 0.001 ms]
22:34:46: | GPU download and conversion - [62.6%] [avg time: 0.872 ms] [children: 79.5%] [unaccounted: -16.9%]
22:34:46: | | flush - [10.5%] [avg time: 0.146 ms]
22:34:46: | | CopyResource - [0.216%] [avg time: 0.003 ms]
22:34:46: | | conversion to 4:2:0 - [68.8%] [avg time: 0.958 ms] [children: 68%] [unaccounted: 0.79%]
22:34:46: | | | Convert444toNV12 - [68%] [avg time: 0.947 ms]
22:34:46: encoder thread frame - [100%] [avg time: 1.9 ms] [children: 0.0526%] [unaccounted: 99.9%]
22:34:46: | sending stuff out - [0.0526%] [avg time: 0.001 ms]
22:34:46: ==============================================================
22:34:46:
22:34:46:
22:34:46: Profiler CPU results:
22:34:46:
22:34:46: ==============================================================
22:34:46: video thread frame - [cpu time: avg 0.702 ms, total 62.5 ms] [avg calls per frame: 1]
22:34:46: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:34:46: | GPU download and conversion - [cpu time: avg 0.702 ms, total 62.5 ms] [avg calls per frame: 1]
22:34:46: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:34:46: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:34:46: | | conversion to 4:2:0 - [cpu time: avg 0.946 ms, total 62.5 ms] [avg calls per frame: 1]
22:34:46: | | | Convert444toNV12 - [cpu time: avg 0.946 ms, total 62.5 ms] [avg calls per frame: 1]
22:34:46: encoder thread frame - [cpu time: avg 1.42 ms, total 93.75 ms] [avg calls per frame: 1]
22:34:46: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:34:46: ==============================================================
22:34:46:
22:34:46: =====Stream End: 2014-08-02, 22:34:46=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
This error is unusual. It says "the audio service is not running". This only happens with noise gate?
 

DavoTron

New Member
That's initially what I thought, but I just tried to use OBS to capture game footage, but got no sound. I tried testing again, and changed the 'Desktop Audio Device' to my built in audio device. When I selected 'Preview Stream', got the same message.

Just tried reinstalling, and the same thing happened! Real weird.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Not sure what's going on here at all. Something really strange is going on with your audio to get that sort of message -- almost as if audio is entirely turned off in windows or something.
 

DavoTron

New Member
That's rather troubling! I tried messing about some more, and think I managed to pinpoint the issue.

I can't have my audio interface plugged in while stream / record, which of course puts me in a predicament of streaming / recording both a game output and a microphone at the same time.

Heard much problems with Audio Interfaces before? I'm going to do some tests without the interface and see if I can get audio output from a game...

EDIT - Managed to record game audio without Audio Interface connected just fine.

Audio Interface I'm using is a Focusrite Saffire Pro 6 USB.
 
Last edited:

Lain

Forum Admin
Lain
Forum Moderator
Developer
Hm, I admit I'm new to these devices, seems to be used for music recording. I didn't realize that this is what you were using -- it could definitely explain why desktop audio recording is failing, though I still don't know why yet.
 

Aksen

New Member
Hey guys,

I was troubleshooting the same problem (I have a Focusrite Scarlett) and I fixed it by making sure everything was set to 48khz (because that's what my log said it tried to initialize at).

I had gone through most of the same troubleshooting steps as DavoTron. I notice his log states: "22:34:41: Audio Format: 44100 Hz". So I went into the Focusrite control panel, and set it to 48khz... then I set Windows Control Panel > Sound > Recording > Line In (Scarlett 18i8 USB) > Advanced > Default Format > "2 channel, 16 bit, 48000 Hz". It works with Exclusive mode checked or unchecked.
 
Top