Enabling WASAPI

This forum is about all development around libVLC.
Hanley
Blank Cone
Blank Cone
Posts: 22
Joined: 30 May 2013 04:56

Enabling WASAPI

Postby Hanley » 12 Jul 2013 18:03

How do I enable WASAPI? I used libvlc_audio_output_list_get to see all the available audio outputs and it showed:

waveout
aout_file
aout_directx
amem
adummy

I'm using vlc 2.1 on Windows 8

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Enabling WASAPI

Postby Rémi Denis-Courmont » 13 Jul 2013 10:11

If you mean to use WASAPI through Windows' Multimedia Device API and your VLC build includes it, the plugin name is mmdevice.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Hanley
Blank Cone
Blank Cone
Posts: 22
Joined: 30 May 2013 04:56

Re: Enabling WASAPI

Postby Hanley » 13 Jul 2013 13:46

Thnx.

pipppero
New Cone
New Cone
Posts: 6
Joined: 14 Apr 2013 20:27

Re: Enabling WASAPI

Postby pipppero » 22 Sep 2013 21:27

Sorry if I re-open this topic but I wonder how in VLC 2.0.8 64-bit with Windows 8, I can use WASABI as AUDIO OUTPUT.

I use it with Foobar2000 and I'd like to use it in VLC too.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Enabling WASAPI

Postby Rémi Denis-Courmont » 23 Sep 2013 19:07

You can't. Only VLC 2.1.0 and later support WASAPI.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pipppero
New Cone
New Cone
Posts: 6
Joined: 14 Apr 2013 20:27

Re: Enabling WASAPI

Postby pipppero » 23 Sep 2013 21:31

You can't. Only VLC 2.1.0 and later support WASAPI.
I really don't understand...

1) where I can get 2.1.0 and later version of VLC?

2) why to me the last is 2.0.8?

3) exist a 64bit version of 2.1.0 version?

I really need wasapi on my vlc because I watch to concerts movies mostly.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Enabling WASAPI

Postby Jean-Baptiste Kempf » 27 Sep 2013 01:20

1) videolan.org
2) see above
3) yes
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

selden
New Cone
New Cone
Posts: 4
Joined: 18 Oct 2013 14:17

Re: Enabling WASAPI

Postby selden » 18 Oct 2013 14:29

Sorry, but I really haven't understood the discussion above.

I'm running VLC 2.1.0 (Rincewind) under Windows 7 with a 7.1 channel HDMI output to an AVR.
What are the steps that I need to take to enable WASAPI in exclusive mode?

I would like stereo soundtracks to be sent to the receiver as 2.0 HDMI channels so that the receiver can process them with Dolby ProLogic or DTS Neo. Currently, VLC is playing stereo sound tracks in just the left and right front channels of the 7.1 HDMI output, with the other channels silent, which prevent the use of ProLogic or Neo. Presumably this is because VLC is using DirectSound instead of WASAPI exclusive.

Thanks for whatever help you can provide.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Enabling WASAPI

Postby Rémi Denis-Courmont » 22 Oct 2013 19:22

Exclusive mode is not implemented in the current WASAPI plugin, nor is codec pass-through as of VLC 2.1.x. For pass-through, you need to stick to DirectSound or WaveOut for now.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

wysiwyg
New Cone
New Cone
Posts: 5
Joined: 22 Feb 2014 00:40

Re: Enabling WASAPI

Postby wysiwyg » 22 Feb 2014 00:50

Correct me if I'm wrong, but as I see it, at the current implementation state of the WASAPI integration, the VLC media player is useless for real BluRay playback. Any container file with a FLAC/DTS-HD MA/TrueHD audio track is not correctly transmitted through HDMI to a compatible HDCP A/V receiver and the receiver gets 2CH instead of 6/8CH lossless?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Enabling WASAPI

Postby Jean-Baptiste Kempf » 22 Apr 2014 14:35

This is unrelated to WASAPI.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mikealeonetti
New Cone
New Cone
Posts: 6
Joined: 06 Mar 2019 17:08

Re: Enabling WASAPI

Postby mikealeonetti » 12 Mar 2019 20:28

Great that really helped! One last question. Should I ignore the "no audio output modules matched" error?

It seemed to fix the audio issues I was having anyways...

Code: Select all

2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [GUI Video] Audio output: adummy - Dummy audio output 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [GUI Video] Audio output: afile - File audio output 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [GUI Video] Audio output: amem - Audio memory output 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [GUI Video] Audio output: directsound - DirectX audio output 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [GUI Video] Audio output: mmdevice - Windows Multimedia Device output 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [GUI Video] Audio output: waveout - WaveOut audio output 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [MediaPlayer] Creating media player with instance 0x3f72950 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [VLC] creating audio output 2019-03-12, 15:25:21.350600: <debug> (0x000008d8) [VLC] looking for audio output module matching "any": 6 candidates 2019-03-12, 15:25:21.350600: <error> (0x000008d8) [VLC] cannot initialize COM (error 0x80010106) 2019-03-12, 15:25:21.368600: <debug> (0x000008d8) [VLC] found 2 devices 2019-03-12, 15:25:21.368600: <debug> (0x000008d8) [VLC] using audio output module "directsound" 2019-03-12, 15:25:21.368600: <debug> (0x000008d8) [VLC] keeping audio output 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Media player is created 0x400fc90 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Getting event manager. 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Hooking events 0x400fd48 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Hooking event 262 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Hooking event 260 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Hooking event 265 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Hooking event 266 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Hooking event 258 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Hooking event 261 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [MediaPlayer] Saving media player. 2019-03-12, 15:25:21.369600: <info> (0x000008d8) [GUI Video] Setting audio output to Windows Multimedia Device. 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [VLC] removing module "directsound" 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [VLC] creating audio output 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [VLC] looking for audio output module matching "mmdevice,none": 6 candidates 2019-03-12, 15:25:21.369600: <error> (0x000008d8) [VLC] cannot initialize COM (error 0x80010106) 2019-03-12, 15:25:21.369600: <debug> (0x000008d8) [VLC] no audio output modules matched 2019-03-12, 15:25:21.369600: <error> (0x000008d8) [VLC] no suitable audio output module

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Enabling WASAPI

Postby Jean-Baptiste Kempf » 13 Mar 2019 09:56

2019-03-12, 15:25:21.369600: <error> (0x000008d8) [VLC] cannot initialize COM (error 0x80010106)

You need to init COM before.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests