Forum Discussion

thesonglessbird's avatar
9 years ago
Solved

Game wont launch - Couldn't Initialize Sound

When I try and run the game, it quits to the desktop almost immediately with a "Couldn't Initialize Sound" error:

Couldn't Initialize Sound.

Please make sure you have a sound playback device that is enabled and properly configured.

Failed in: MilesDriverCreate

Miles output follows:

Audio Hardware Error: Failed to initialize IAudioClient (shared, event mode, float, chans=2, rate=96000, HR=AUDCLNT_E_DEVICE_IN_USE)

Failed to initialized WASAPI audio hardware, trying XAudio.

Couldn't create XAudio2 master voice.

This is only a problem when using my primary audio device (Focusrite Scarlet 2i2). If I switch to onboard sound, things work fine. Unfortunately, this isn't ideal with my setup. I play a lot of games and have had no problems in the past. Specs as follows:

i7 6700k

2 x Nvidia GTX 1080

16gb DDR4

Focusrite Scarlet 2i2

DXDiag attached.

  • Hey I have had the same issue with the same sound card and I found a workaround.

    1) From the desktop right-click on the speaker icon in the bottom right and click on playback devices.

    2) Right-click on the Line Out scarlett 2i2 device and click properties.

    3) under the advanced tab drop the frequency setting to 2 channel, 16 bit 44100Hz and click apply.

    Now the game should launch fine. It doesn't seem to like that being set above 44100Hz.

30 Replies

  • YuGiO0oooo's avatar
    YuGiO0oooo
    5 years ago

    if you are using a controller unplug your headphones from the controller. plug your headphones into your computer then launch the game

  • I am also going to paste this answer here, for those that also have this problem

    ok so I found the extended fix for all those who are having this problem while running VB Voicemeeter Banana (VB).

    This is the usual error for this problem:

    ---------------------------
    Engine Error
    ---------------------------
    (7.896) Couldn't intialize sound.
    Please make sure you have a sound playback device that is enabled and properly configured.
    Failed in: MilesDriverCreate
    Miles output follows:
    Audio Hardware Error: Failed to initialize IAudioClient (shared, event mode, float, chans=2, rate=44100, HR=AUDCLNT_E_DEVICE_IN_USE)
    Failed to initialized WASAPI audio hardware, trying XAudio.
    Couldn't create XAudio2 master voice.

    So the problem that I found is that both apex and VB want to use your priority audio device exclusively, as such when both of those are the same device the one that is opened first will get the priority and the other one will crash/break. if you open vb first it will be fine and apex will crash. if you open apex first vb will break saying that another application has priority.

    BTW your priority device is the one in your sound settings at the top.

    So the fix for this is to have those on two separate devices. I use vb to split my audio from desktop and discord, so that i can stream and mute my disc friends who randomly curse while the audience can still listen to the in-game sound.

    FIX: your priority device in sound settings should not be your headphones/speakers/desktop screen. IT MUST be set to VoiceMeeter Input (VB-Audio VoiceMeeter VAIO). This will therefore set apex to run through VoiceMeeter, which then runs to your headphones.

    Now the reason this probably happened: most likely if you setup vb you would have already had this setup. However, when you close vb )stop streaming) you realise that you cant hear anything cause your priority device is still VoiceMeeter (however since VoiceMeeter is closed, that audio just goes dead).

    So in the peoples infinite wisdom they reset that priority device to their headphones (so they can hear sound without VoiceMeeter open), then completely forget that they have done that when they next try to stream and run apex. They open VB, open apex, and get the crash notification, cause they had effectively pre-broken it and then forgotten about it

    That is why it goes from working -> broken. instead of just always been broken when they setup VB the first time

  • Using a Onyx Mackie 2.2 and setting format to 24 bit // 44100 Hz was an immediate fix.

  • Lenog07's avatar
    Lenog07
    Seasoned Novice
    2 years ago

    I have a really similar issue where my game will not boot, but in my case the error message is slightly different, it goes as follows: 

    Couldn't initialize sound.
    Please make sure you have a sound playback device that is enabled and properly configured.
    Failed in: MilesBankGetStatus
    Miles output follows:
    Streaming source r2\sound\general_stream_patch_8.mstr is not a Miles Stream.

    I have tried many different fixes and none have worked so far, if anyone knows how to help please get back to me as soon as possible.

  • Lenog07's avatar
    Lenog07
    Seasoned Novice
    2 years ago

    yo bro I just uninstalled and re-installed and it worked

  • I deleted the origin folder but when i open the game it makes a new one and the games will not open

About Titanfall Franchise Discussion

Join the community forums and share your experience from the frontier in the Titanfall Games.9,453 PostsLatest Activity: 10 hours ago