INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: AoXoMoXoA on October 15, 2014, 11:10:26 am

Title: WDM Problems
Post by: AoXoMoXoA on October 15, 2014, 11:10:26 am
[Split from WDM Feature (http://yabb.jriver.com/interact/index.php?topic=92593.0) thread.  Please see that thread for instructions.

Please use this thread for problems: http://yabb.jriver.com/interact/index.php?topic=93720.msg646166#msg646166 ]


excitement, but no joy!

It does not work . . .  set MC driver as default sound device, ran through Windows sound test and it worked.
Next tried to play music in Foobar through MC's driver and got only silence although Foobar shows it is playing.

Went back into Windows sound settings and tried to test the MC sound device and got nothing.

Tried playing music in MC but still nothing, even after reboot.

After re-setting my audio to the regular device sound was returned, but when I tried to set a zone in MC to use the MC driver I still had no audio even thought MC appeared to be playing . . . . then it crashed Windows forcing a restart.


Windows 8.1 / MC 20.0.25
Title: WDM Problems
Post by: Mitchco on October 15, 2014, 11:12:33 am
Just a note that this is a holy grail of audio.  I so wanted a way to route audio through MC, and now it's here.  It's a really elegant solution.  Thanks to everyone that helped. 

For so long, I said "Hey, driver programmer wanted" because I was afraid of drivers.  I hoped, hoped, hoped, but finally bit the bullet and learned myself.

Matt, you are the king man!  Developing a WDM audio driver on the Windows platform is about the hardest thing to program - source: I work at Microsoft as a programmer.

Kudos!

Best regards, Mitch
Title: WDM Problems
Post by: Claude Lapalme on October 15, 2014, 11:38:53 am
Impressive work.

While I have no trouble with crashing, I do have audio/video sync problems. The audio is delayed by roughly 300 ms (personal estimate).
Am I the only one experiencing this?
Title: WDM Problems
Post by: Matt on October 15, 2014, 11:40:20 am
Impressive work.

While I have no trouble with crashing, I do have audio/video sync problems. The audio is delayed by roughly 300 ms (personal estimate).
Am I the only one experiencing this?

Set the buffering in Options > Audio > Device settings lower.  Pick a really tight value.

Also, Options > Audio > Advanced > Live playback latency.  Turn that down.
Title: WDM Problems
Post by: mwillems on October 15, 2014, 11:46:34 am
Tried playing music in MC but still nothing, even after reboot.

After re-setting my audio to the regular device sound was returned, but when I tried to set a zone in MC to use the MC driver I still had no audio even thought MC appeared to be playing . . . . then it crashed Windows forcing a restart.

It sounds like you're trying to select the JRiver driver as an output in JRiver?  If that's what you're doing, that won't work (and might cause an infinite loop). JRiver needs to be set to output to your normal soundcard, with the JRiver driver set as system default.  
Title: WDM Problems
Post by: Claude Lapalme on October 15, 2014, 11:53:08 am
That works!

Didn't before somehow. But I retried it with success.
Title: WDM Problems
Post by: retro on October 15, 2014, 11:59:19 am
Fantastic! And it's not even christmas yet.. :)

It just works! I love it.. ;D

Thanks Matt!
Title: WDM Problems
Post by: AoXoMoXoA on October 15, 2014, 12:15:40 pm
It sounds like you're trying to select the JRiver driver as an output in JRiver?  If that's what you're doing, that won't work (and might cause an infinite loop). JRiver needs to be set to output to your normal soundcard, with the JRiver driver set as system default.  

OK, tried it again after reading your post and that was my error . . . MC was set to output to the Default Device, which once set to JRiver Driver caused said loop.

Works now. Thanks
Title: WDM Problems
Post by: Zero_G on October 15, 2014, 12:27:15 pm
I can't wait to try this out later!  Excellent news!!!   :)
Title: WDM Problems
Post by: mattkhan on October 15, 2014, 12:40:44 pm
Good to see this out so early in the r20 cycle. Couple of questions;

Do you know what latency this adds in itself or is it specific to the PC it runs on?
Is it possible to zone switch on activation of the wdm input?

Title: WDM Problems
Post by: mwillems on October 15, 2014, 12:44:22 pm
Do you know what latency this adds in itself or is it specific to the PC it runs on?

The added latency is configurable based on the "live playback latency" setting; the actual total tip-to-tip software latency is pretty close to the sum of the live playback latency setting and the audio output device buffer setting (based on my measurements).  It may be adding a handful of additional ms, but definitely in the single digits (I was seeing mostly onesies or twosies) on top of the configured latency.  

The "minimums" will depend on what buffering settings your devices/computer will tolerate. On all the PCs I tested, I could achieve a configuration that was good enough for lipsync without convolution (although on one machine it was verging on unacceptable).  By contrast with convolution some of my machines were still solid, but some were definitely not.

Quote
Is it possible to zone switch on activation of the wdm input?

Yes, the rule that will choose the WDM input is
Code: [Select]
[Name]="IPC"
I personally recommend setting up a separate zone to receive WDM playback as that will make certain activities much easier/more seamless (e.g. running netflix in theater view).
Title: WDM Problems
Post by: Bccc1 on October 15, 2014, 01:33:13 pm
Finally! Thank you very much!
This and some improvements to the DSP Section and the audiopart is perfect (for me). If this was the only improvement in v20 I'd still pay the full upgrade price.

Also thanks to mwillems for the zone-switch tip.
Title: WDM Problems
Post by: Zero_G on October 15, 2014, 01:53:06 pm
Gave it a quick try at lunch time using Spotify.  Works great!   
Title: WDM Problems
Post by: pahunt on October 15, 2014, 02:29:22 pm
This thread makes me happy for so many reasons :)

Thanks for all of your hard work.
Title: WDM Problems
Post by: jmone on October 15, 2014, 03:17:07 pm
Here is a simple YouTube Clip (https://www.youtube.com/watch?v=r2GcmELJZKw) to test your AV Sync and it seems spot on for me with low latency settings for my DAC.
- Tools-> Options-> Audio-> Audio Device -> Device Settings -> Buffering = "Minimum hardware size"
- Tools-> Options-> Audio-> Advanced-> Live playback latency = "Minimum"

Note:  You may have issues with "Minimum hardware size" pending your HW and connection methods.  eg I found with my o2 DAC it works best on the USB3 port with these low latency settings.



Thanks
Nathan
Title: WDM Problems
Post by: )p( on October 15, 2014, 03:32:40 pm
Thanks. Works perfectly with both airserver and shairport4w to AirPlay to mc.
Title: WDM Problems
Post by: mattkhan on October 15, 2014, 03:47:33 pm
thanks @mwillems for the speedy reply

another question, what do these sliders do in the properties dialog for the device? max value says it is a signed 32 bit int value but what it's for is the question :)
Title: WDM Problems
Post by: SpeedD408 on October 15, 2014, 04:42:01 pm
HAPPY! HAPPY! JOY! JOY!!!

Thank you!!  Thank you!! Thank you!!
Title: WDM Problems
Post by: vortecjr on October 15, 2014, 05:23:08 pm
Matt, nice feature! I have YouTube playing through "Player" with a locally connected USB device. Can you look into supporting this feature with DLNA renderers? When I try a DLNA renderer I get an error regardless of the specified output format (PCM, MP3) selected.

Jesus R  
Title: WDM Problems
Post by: Acrobat1977 on October 15, 2014, 05:55:48 pm
@MC team, nice work! What "interfaces" does the driver support (MME, DirectSound, WASAPI, ASIO, KS)? Also, is the installation of the WDM driver optional or standard/mandatory?
Title: WDM Problems
Post by: Matt on October 15, 2014, 06:46:56 pm
@MC team, nice work! What "interfaces" does the driver support (MME, DirectSound, WASAPI, ASIO, KS)? Also, is the installation of the WDM driver optional or standard/mandatory?

The driver install is standard.

For what interfaces are supported, it's any interface that talks to a WDM driver.  That's WASAPI, KS, DirectSound, etc.
Title: WDM Problems
Post by: RoderickGI on October 15, 2014, 07:08:07 pm
Here is a simple YouTube Clip (https://www.youtube.com/watch?v=r2GcmELJZKw) to test your AV Sync and it seems spot on for me with low latency settings for my DAC.

I get a bit of drift on that YouTube version as the video progresses, and I don't think it is my hardware. The YouTube version is just a bit of a poor copy.

Try downloading the "BBC-Audio-Sync-Test" from http://clip.dj/bbc-hd-audio-sync-test-download-mp3-mp4-bCPEidaVzQU

That was the best version on the page I found.

I also found these clips useful:
Audio-Video-Sync-Test-Calibration-23.976fps
Audio-Video-Sync-Test-Calibration-29.97fps
BBC-Test-cards-on-BBC-HD-Shutdown-26th-March-2013

Especially the last clip. Just don't get caught up in the popup surveys and rubbish on that page.

Thanks for putting me on the path to find those jmone.
Title: WDM Problems
Post by: dgm1960 on October 15, 2014, 07:52:04 pm
This is amazing! Thank you very much.
Title: WDM Problems
Post by: jmone on October 15, 2014, 09:13:53 pm
Yeah it was the BBC test clip I was looking for but in my haste got the other one.   ;D
Title: WDM Problems
Post by: lmf22 on October 15, 2014, 10:00:34 pm
Works great on my Windows 7 Professional desktop computer! This is a great feature.

What should the sample rate in the WDM drivers be set to? The sample rate of the source material? For example, for Spotify, set to 24-bit, 44100 Hz? For YouTube videos, set to 48000 Hz?
Title: WDM Problems
Post by: stewart_pk on October 15, 2014, 11:57:34 pm
Thanks so much JRiver, I can't wait to try this!
Title: WDM Problems
Post by: damhooligan on October 16, 2014, 02:39:07 am
Is this driver available for previous versions of jriver?
Or do i have to upgrade to jriver 20 to get this driver?
Title: WDM Problems
Post by: Hendrik on October 16, 2014, 02:40:41 am
Its a new feature in MC20, its not available for previous versions, sorry.
Title: WDM Problems
Post by: AndyU on October 16, 2014, 03:00:49 am
Works fine for me, except when I select my Squeezebox Touch as a zone.

When I was fiddling with this, MC hung, was unkillable, I rebooted which happened to pick up a windows update, during which I got a  "DRIVER_POWER_STATE_FAILURE" message which may or may not be relevant. Eventually re-reboot worked, and all is fine.
Title: WDM Problems
Post by: Eric05 on October 16, 2014, 04:01:37 am
Well, I'm not sure to understand everything (I'm french and my english is not so good). I've selected JRiver MC 20 as default sound device but it works only if the J River MC 20 software remains open, is it the standard behavior ?

Thank you for you rhelp.
Title: WDM Problems
Post by: Eric05 on October 16, 2014, 04:08:49 am
And what about using a DAC ? Maybe this is a stupid question, but I have a USB DAC plugged and I used to set it as default in windows sound options. Is it better to use JRiver by default, the DAC ?
Title: WDM Problems
Post by: )p( on October 16, 2014, 04:28:07 am
Well, I'm not sure to understand everything (I'm french and my english is not so good). I've selected JRiver MC 20 as default sound device but it works only if the J River MC 20 software remains open, is it the standard behavior ?

Thank you for you rhelp.

Yes. When you set the jrmc wdm driver as the default audio device all audio played on the pc will be routed to the jrmc app. I has to be open to receive the audio.
Then in jrmc you can send the received audio to your dacs sound device.
Title: WDM Problems
Post by: Tristar71 on October 16, 2014, 04:33:03 am
I can't seem to get this to work - followed instructions as per the thread but I just get no sound... think it has to do with the Tools>Options>audio device - in JRiver....

could somebody please give a detailed instruction on what that setting should be...
Title: WDM Problems
Post by: packux on October 16, 2014, 05:07:16 am
Just installed the latest version, using it with GeekOut ASIO.

Installation went fine, however during testing it seems I can only hear left channel. I tried

- changing speaker configuration to 5.1 and reverted back to stereo
- uninstalling the driver and deleting its files. Had to re-install MC20 to get back the WDM

OS is Windows 7 x64 Pro, using WindowBlinds 8 and Fences.

Any ideas?
Title: WDM Problems
Post by: Scolex on October 16, 2014, 05:17:44 am
I can't seem to get this to work - followed instructions as per the thread but I just get no sound... think it has to do with the Tools>Options>audio device - in JRiver....

could somebody please give a detailed instruction on what that setting should be...

It should be set to whatever your speakers are actually attached to. For example mine is set to Sound Blaster Zx [WASAPI]
Device settings set the buffering to Minimum Hardware Size if that gives you any problems (clicks, stuttering, etc) raise it incrementally until it plays properly.
Also set Advanced/Live playback latency to minimum.

Right click the volume icon in MC select system volume and make sure it is not all the way down. The normal "System volume" (windows volume) no longer has any influence because you are bypassing the windows mixer. I was a bit puzzled at first because my volume keys on my keyboard and mouse were not lowering the volume and then the light in my head went off and I realized I had to use the application volume (youtube) and/or MC.
Title: WDM Problems
Post by: Scolex on October 16, 2014, 05:29:20 am
Just installed the latest version, using it with GeekOut ASIO.

Installation went fine, however during testing it seems I can only hear left channel. I tried

- changing speaker configuration to 5.1 and reverted back to stereo
- uninstalling the driver and deleting its files. Had to re-install MC20 to get back the WDM

OS is Windows 7 x64 Pro, using WindowBlinds 8 and Fences.

Any ideas?

What are you using for hardware? (DAC, onboard audio, sound blaster, etc)
I am not familiar with GeekOut ASIO have you tried any other options.

I am using Win 7 x64 Home Premium and Creative Sound Blaster Zx [WASAPI] with out any issues
Title: WDM Problems
Post by: packux on October 16, 2014, 05:38:39 am
What are you using for hardware? (DAC, onboard audio, sound blaster, etc)
I am not familiar with GeekOut ASIO have you tried any other options.

I am using Win 7 x64 Home Premium and Creative Sound Blaster Zx [WASAPI] with out any issues

Hi there,

I am using an external USB DAC (this http://lhlabs.com/marketplace/geek-out/overview.html). The DAC provider offers both ASIO and WDM drivers and I am using the former in JRiver for audio playback.
Title: WDM Problems
Post by: AndrewFG on October 16, 2014, 06:56:37 am

The Windows / Control Panel / Sound / Driver / Configure / Test function does not really work if you select 5.1 output; from some channels you hear the test beep and for some not; I suppose it is something to do with latency..
Title: WDM Problems
Post by: Matt on October 16, 2014, 06:59:22 am
Well, I'm not sure to understand everything (I'm french and my english is not so good). I've selected JRiver MC 20 as default sound device but it works only if the J River MC 20 software remains open, is it the standard behavior ?

Thank you for you rhelp.

Yes.  MC needs to be open to capture anything.
Title: WDM Problems
Post by: AndrewFG on October 16, 2014, 07:12:53 am
MC needs to be open to capture anything.

It would be a nice feature if the driver could start MC.exe if a sound comes in and if MC is not already running.

However I don't know if a driver (in the OS kernel layer) is actually permitted to start an application (in the OS user layer) (??)
Title: WDM Problems
Post by: Hendrik on October 16, 2014, 07:20:25 am
That would be extremely problematic.
Title: WDM Problems
Post by: Eric05 on October 16, 2014, 07:21:29 am
Yes. When you set the jrmc wdm driver as the default audio device all audio played on the pc will be routed to the jrmc app. I has to be open to receive the audio.
Then in jrmc you can send the received audio to your dacs sound device.

Thank you !
Title: WDM Problems
Post by: mwillems on October 16, 2014, 07:28:58 am
It would be a nice feature if the driver could start MC.exe if a sound comes in and if MC is not already running.

However I don't know if a driver (in the OS kernel layer) is actually permitted to start an application (in the OS user layer) (??)


I can't confirm this right now because I'm not in front of a box, but I think running the MC server widget in the tray will do this; my recollection is that it will spawn a JRiver window on incoming system sound if no JRiver window is open (I can't test right now, but that's my recollection of how it worked).

The Windows / Control Panel / Sound / Driver / Configure / Test function does not really work if you select 5.1 output; from some channels you hear the test beep and for some not; I suppose it is something to do with latency..

Very short sounds don't always come through, or come through truncated; a better test is to play known 5.1 content and selectively mute channels in JRiver.

Title: WDM Problems
Post by: mutato on October 16, 2014, 07:36:25 am
Holy grail, indeed! I honestly didn't expect you'd pull through when I renewed my license. This opens up so many possibilities. Forget "please integrate music service X in jriver", now you get nearly all the benefits of service integration without it being actually integrated!
Title: WDM Problems
Post by: Trumpetguy on October 16, 2014, 08:44:11 am
Fantastic!!!!  Thanks a bunch!

Used it with Wimp streaming service today, works almost perfect. It seems to stutter just a bit every now and then. May not be the WDM driver's fault for all I know, though.

In Wimp, and contrary to Spotify, the user can choose audio output device. So there is no need to use default device (which would mess up my IP telephony setup at work).  Combined with new 24bit rips and lossless flac streaming, this is a killer combo.

Looking forward to test it with video streaming services.
Title: WDM Problems
Post by: Castius on October 16, 2014, 09:51:55 am
Thank you very much. This is a really great new feature.

It was little interesting to get setup. Because you can't choose direct sound in JRiver. As it's now referring to itself. ;D
This may be useful to show in JRiver that you are using JRiver in the os setting.

I had to lower the latency to play video games but it seemed to work well after that.

The only real problem i had was linked zones did not work well.
I was trying to play to the sound card and my wireless headphones at the same time.

Has anyone else try this?

If JRiver is shut down can it tell windows it it disconnected?
So it can fall back to the other audio sources.
Title: WDM Problems
Post by: Krunchy on October 16, 2014, 09:55:07 am
Sorry to ask this. I would like to be sure to understand the benefit of this nex feature.

How this wdm driver solution is better than for example than the quobuz player or any player?
In my system, and for many of us, the usb dac makes any sound going out better (to say short).
If someone can explain me why it is so nice ;)

Thanks
Title: WDM Problems
Post by: )p( on October 16, 2014, 10:06:04 am
Sorry to ask this. I would like to be sure to understand the benefit of this nex feature.

How this wdm driver solution is better than for example than the quobuz player or any player?
In my system, and for many of us, the usb dac makes any sound going out better (to say short).
If someone can explain me why it is so nice ;)

Thanks

For example I prefer to use Spotify with the iPad app. Now I have a very stable solution to AirPlay from the app to Jrmc and take advantage of its dsp. In my case to apply a convolver for room correction. Also because the ability to setup zones and automatically switch between them, I can switch between this and playing my own jrmc library with jremote with ease. So in short anything that I play can take advantage of jrmc dsp/audio path.
Title: WDM Problems
Post by: Matt on October 16, 2014, 10:23:40 am
How this wdm driver solution is better than for example than the quobuz player or any player?
In my system, and for many of us, the usb dac makes any sound going out better (to say short).
If someone can explain me why it is so nice ;)

Media Center has the best audiophile playback chain available.  It offers perfect modes like ASIO and WASAPI, it offers full control over sample rates and sets hardware sample rates, it offers a comprehensive set of DSP, etc.  You can leverage that same chain from other players by using the WDM driver.
Title: WDM Problems
Post by: mrfx on October 16, 2014, 11:55:38 am
Amazing feature! Does it work for remote zones too? I mean is it  possible now to route sound from notebook's web browser window to htpc hdmi out?
Title: WDM Problems
Post by: Wull on October 16, 2014, 12:00:54 pm
I can't seem to get this to work - followed instructions as per the thread but I just get no sound... think it has to do with the Tools>Options>audio device - in JRiver....

could somebody please give a detailed instruction on what that setting should be...


Did you manage to get it to work because I can't either??

In JR/Audio device set to my SC. In Windows sound devices set JRiver media center.

I'm running W7 64bit

I can see sound playing in the spectrum analayzer, but I'm getting no sound..  ?

When I 'Test' the JRiver media center in Windows sound devices 'Ipc opening' is displayed at the top of the screen.



Title: WDM Problems
Post by: millst on October 16, 2014, 12:07:26 pm
The only real problem i had was linked zones did not work well.
I was trying to play to the sound card and my wireless headphones at the same time.

Has anyone else try this?

I doubt it's going to work with linked zones. I asked a similar question in regard to the ASIO input a while back. Basically, that doesn't work and would require a major redesign. I'd guess the same architecture issues apply here.

-tm
Title: WDM Problems
Post by: JimH on October 16, 2014, 12:07:52 pm
I've got Spotify working with it now.  Great!
Title: WDM Problems
Post by: rudyrednose on October 16, 2014, 12:15:25 pm
Great news, thank you team !

Just in time as I was about to start digging info on the older audio loopback feature.  I guess my job is now much simpler :-)
Title: WDM Problems
Post by: kstuart on October 16, 2014, 12:52:23 pm
Just installed the latest version, using it with [USB external DAC] ASIO.

Installation went fine, however during testing it seems I can only hear left channel.
Confirmed (using a different DAC than his), so it's a bug.

Do you want WDM bugs listed here or in the usual build bug thread ?

Details:  If you click "Test" it lights up the left speaker icon and you hear the test tone, it then lights up the right speaker icon and you hear nothing.   If you click on the right speaker icon, you hear the test tone, oddly enough.
Title: WDM Problems
Post by: JimH on October 16, 2014, 01:38:09 pm
Split WDM Fine Points (http://yabb.jriver.com/interact/index.php?topic=92620.0)
Title: WDM Problems
Post by: 6233638 on October 16, 2014, 02:46:49 pm
Nice job. While this has actually made me realize that I'm already playing almost everything inside Media Center now, it seems to be working well and there are definitely some good uses for it.
It's certainly going to make things easier for people who were using Loopback a lot, or people with power amplifiers who need volume protection enabled for everything running on the PC.
 
Yes, the rule that will choose the WDM input is
Code: [Select]
[Name]="IPC"I personally recommend setting up a separate zone to receive WDM playback as that will make certain activities much easier/more seamless (e.g. running netflix in theater view).
As a tip for anyone else trying to get this working, I recommend that you move this rule to the very top of your Zone Switch list.
It did not seem to be working for me until I made that change.
 
Rather than switching based on the name containing "IPC" I prefer to use:
Code: [Select]
[Filename]=[live:////ipc"
While it is unlikely, this will guarantee that there won't be any false positives.
 
For example I prefer to use Spotify with the iPad app. Now I have a very stable solution to AirPlay from the app to Jrmc and take advantage of its dsp. In my case to apply a convolver for room correction. Also because the ability to setup zones and automatically switch between them, I can switch between this and playing my own jrmc library with JRemote with ease. So in short anything that I play can take advantage of jrmc dsp/audio path.
AirPlay → Airfoil Speakers → JRiver WDM seems to work rather well.
As a free alternative, there is Shairport4w (http://sourceforge.net/projects/shairport4w/), though this didn't seem to play nicely with the hardware AirPort devices on my network and was preventing them from being listed on iOS devices. (Airfoil Speakers (http://www.rogueamoeba.com/airfoil/windows/) has no such issues)
 
This means that any app on iOS can now send audio into Media Center for processing and output (e.g. convolution/room correction, EQ, declipping, or anything else you want to do) so guests can now play music that is stored on their device or via apps like Spotify directly to Media Center with zero configuration.

The only real problem i had was linked zones did not work well.
I was trying to play to the sound card and my wireless headphones at the same time.
You're correct that it doesn't seem to work in linked zones.
However, once you have playback going into Media Center via the WDM driver to a single zone, you can route that to other zones which are linked together by using Loopback.
 
What you may want to do is route audio from the WDM driver into a new zone (using the Zone Switch rule listed above) which uses the Null Output device.
Then link your other zones together and enable Loopback.
 
Tip: If you start Loopback (File → Open Live → WASAPI Loopback) you can press and hold on one of the "car radio" buttons (1-12 in Playing Now) to create a button which immediately starts Loopback.
Title: WDM Problems
Post by: mwillems on October 16, 2014, 02:52:24 pm
As a tip for anyone else trying to get this working, I recommend that you move this rule to the very top of your Zone Switch list.
It did not seem to be working for me until I made that change.

You're right, I can confirm it does need to be at the top; it's because the IPC/WDM feed registers as audio content and so will get picked up by rules that play audio.  Another (failsafe) way to do it that doesn't rely on placement of the rule is to affirmatively exclude IPC from other zones (which I did as a precaution).

Quote
[Filename]=[live:////ipc"

I haven't tried using the filename, but shouldn't the unclosed bracket above be a quotation mark (bolded for emphasis)?
Title: WDM Problems
Post by: 6233638 on October 16, 2014, 02:54:28 pm
You're right, I can confirm it does need to be at the top, unless you affirmatively exclude it from other zones that play audio (which I also did as a precaution).  It's because the IPC registers as audio content and so will get picked up by rules that play audio.
I haven't tried using the filename, but shouldn't the unclosed bracket above be a quotation mark (bolded for emphasis)?
No, the rule is "starts with" live://ipc
Title: WDM Problems
Post by: mwillems on October 16, 2014, 02:55:17 pm
No, the rule is "starts with" file://ipc

Got it, the closing quote was what was throwing me; had to brush up on my "search language"
Title: WDM Problems
Post by: mutato on October 16, 2014, 03:10:44 pm
Used it with Wimp streaming service today, works almost perfect. It seems to stutter just a bit every now and then. May not be the WDM driver's fault for all I know, though.

I'm using WDM driver with Deezer and am noticing frequent crackling sounds, as often as once every 10-20 seconds. From what I can tell it's happening at random (replaying portions of a song that made crackling sounds may not result in crackling sounds at the same exact point). Maybe some buffers are set too low? I'm using it with a DAC.
Title: WDM Problems
Post by: Matt on October 16, 2014, 03:13:42 pm
I'm using WDM driver with Deezer and am noticing frequent crackling sounds, as often as once every 10-20 seconds. From what I can tell it's happening at random (replaying portions of a song that made crackling sounds may not result in crackling sounds at the same exact point). Maybe some buffers are set too low? I'm using it with a DAC.

Increase buffering with Options > Audio > Advanced > Live playback latency.  See if that squares you up.
Title: WDM Problems
Post by: mutato on October 16, 2014, 03:25:09 pm
I've set both buffers to 250 ms and the crackling sounds remain frequent.
Title: WDM Problems
Post by: Matt on October 16, 2014, 03:25:52 pm
I've set both buffers to 250 ms and the crackling sounds remain frequent.

Well just try a bigger value as a test.
Title: WDM Problems
Post by: mutato on October 16, 2014, 03:30:59 pm
Well just try a bigger value as a test.

500 ms, still crackles.
Title: WDM Problems
Post by: Matt on October 16, 2014, 03:32:15 pm
500 ms, still crackles.

What happens if you increase the buffering in Options > Audio > Device settings?
Title: WDM Problems
Post by: mutato on October 16, 2014, 03:36:13 pm
What happens if you increase the buffering in Options > Audio > Device settings?

It's already at 500 ms. No difference  :'(
Title: WDM Problems
Post by: 6233638 on October 16, 2014, 04:56:24 pm
It does seem to be quite sensitive to interruption at times.
I assumed it was because I have a handful of VST plug-ins running for declipping, dithering, and headphone listening - I don't normally use the declipping, but it helps with streaming services.

I've not run into those problems when playing content inside Media Center directly, rather than an external app via the WDM driver though.
Title: WDM Problems
Post by: mojave on October 16, 2014, 05:10:47 pm
I can't seem to get my WDM zone to automatically become the active zone. It will switch to it just fine using either the [Name] or [Filename] rule regardless of the order of the ZoneSwitch rule. However, the last zone active stays as the visible zone. This means that I have to manually click on the WDM zone in order for its volume control to work.
Title: WDM Problems
Post by: mwillems on October 16, 2014, 05:31:04 pm
I can't seem to get my WDM zone to automatically become the active zone. It will switch to it just fine using either the [Name] or [Filename] rule regardless of the order of the ZoneSwitch rule. However, the last zone active stays as the visible zone. This means that I have to manually click on the WDM zone in order for its volume control to work.

I get the same behavior, but from my perspective it's a feature; otherwise the integrated netflix would never work at all.  With the two zone system, when netflix starts in a regular playback zone, the audio gets re-routed to the WDM zone.  If the WDM zone stole focus the playing video would vanish, and I'd need to manually switch back to the main playback zone (and netflix may well have stopped playing by then because it tends to stop when it's not in focus).  

I assumed that the WDM didn't steal focus on purpose for exactly that reason, and I much prefer the current functionality to the alternative which would break any kind of use of the internal browser for streaming video.  It makes volume control a bit of a pain, but there are workarounds (gizmo, etc.).

It's already at 500 ms. No difference  :'(

What happens if you try a very low number?  I couldn't get good playback with one system until I lowered the buffer to 20ms.
Title: WDM Problems
Post by: 6233638 on October 16, 2014, 05:40:38 pm
I can't seem to get my WDM zone to automatically become the active zone. It will switch to it just fine using either the [Name] or [Filename] rule regardless of the order of the ZoneSwitch rule. However, the last zone active stays as the visible zone. This means that I have to manually click on the WDM zone in order for its volume control to work.
That's how Zone Switch has always worked.
Title: WDM Problems
Post by: mutato on October 16, 2014, 05:52:26 pm
What happens if you try a very low number?  I couldn't get good playback with one system until I lowered the buffer to 20ms.

I think you may be on to something. I changed all the buffers back to the recommended values and then sorta forgot about it until I suddenly noticed: a significant decrease in crackling. I don't dare change the settings any further, seeing as it's working pretty much okay now.
Title: WDM Problems
Post by: hoyt on October 16, 2014, 07:13:59 pm
Right click the volume icon in MC select system volume and make sure it is not all the way down. The normal "System volume" (windows volume) no longer has any influence because you are bypassing the windows mixer. I was a bit puzzled at first because my volume keys on my keyboard and mouse were not lowering the volume and then the light in my head went off and I realized I had to use the application volume (youtube) and/or MC.

Any chance this might change?  I use a bluetooth remote (it's far more responsive than bothering with an app like Gizmo) and it changes the system volume.  This seems nice, but there's no way I'd use it as it stands because my DAC doesn't have a remote and the preamp I route my audio through has a remote that eats AAA batteries like no tomorrow.

Thanks,

--Ryan
Title: WDM Problems
Post by: kstuart on October 16, 2014, 08:42:27 pm
I can't seem to get my WDM zone to automatically become the active zone. It will switch to it just fine using either the [Name] or [Filename] rule regardless of the order of the ZoneSwitch rule. However, the last zone active stays as the visible zone. This means that I have to manually click on the WDM zone in order for its volume control to work.

What would help several different problems, would be:

* Another Selector in Zoneswitch - just exactly like the "stop zone" selector - but instead a "Switch Active Zone to this Zone When the Zone is Started".

Thanks !
Title: WDM Problems
Post by: kensn on October 16, 2014, 08:44:13 pm
Matt.. Well done. What a milestone!!
Title: WDM Problems
Post by: Tristar71 on October 16, 2014, 09:23:05 pm
It should be set to whatever your speakers are actually attached to. For example mine is set to Sound Blaster Zx [WASAPI]
Device settings set the buffering to Minimum Hardware Size if that gives you any problems (clicks, stuttering, etc) raise it incrementally until it plays properly.
Also set Advanced/Live playback latency to minimum.

Right click the volume icon in MC select system volume and make sure it is not all the way down. The normal "System volume" (windows volume) no longer has any influence because you are bypassing the windows mixer. I was a bit puzzled at first because my volume keys on my keyboard and mouse were not lowering the volume and then the light in my head went off and I realized I had to use the application volume (youtube) and/or MC.

THank you for your reply - but still can't get anything out of any option....I'm using JBL Pebbles and that is a USB connection to the back of the PC... the soundcard outputs seem to be my optical and digital outs. still no sound with any of the options presented(http://)
Title: WDM Problems
Post by: RoderickGI on October 16, 2014, 10:19:32 pm
The Windows / Control Panel / Sound / Driver / Configure / Test function does not really work if you select 5.1 output; from some channels you hear the test beep and for some not; I suppose it is something to do with latency..

Very short sounds don't always come through, or come through truncated; a better test is to play known 5.1 content and selectively mute channels in JRiver.

I tested this thoroughly with my setup, as below in my signature, and using the motherboard audio S/PDIF optical out, sending DD AC-3.

The speaker test function only works for the Left, Center, and Side Left when using 5.1 channels, when I press the "test" button. Windows always delays the output in these tests, so it is necessary to run them at least twice to get sound output on all speakers, but running them multiple times still only plays those three speakers.

However, when I click on the individual speaker images, test sounds are played from all speakers. The response is quite slow though, and if I click the speaker more than once, even with a reasonable gap between clicks, I only get one sound output. This is the Windows delay being introduced perhaps, or the receiver taking some time to respond. I can clearly see MC play each sound in the Action Window, and until that window clears, and for a little while after, a new click won't produce a sound. I observed that this sometimes meant I missed Windows Event sounds, if two or more events followed in quick succession.

This is true on my main PC/client system which only has stereo speakers as well. Only the Left speaker plays on clicking the "test" button, but both play on clicking the speaker images. I do get clipping or broken sound output for the test sounds on this PC as well, but not on the HTPC.

However 5.1 media plays normally on the HTPC system, and stereo plays normally on my main PC/client. While the "test button" feature does appear to be broken, this certainly isn't a critical issue.

One other feature doesn't quite match my system requirements. I have Bose satellites for my front Left and Right speakers, and Bose monitor speakers for my Side Left and Side Right. The satellite work best when they are not set as full range, or at least I think they do, and I'd like to try them that way. The Side monitor speaker are full range, so should be set that way. However I can't set them this way. If I select the fronts as full range, I can set the sides as full range. If I deselect the fronts as full range, the sides are automatically deselected and can't be manually selected as full range. Again, not a big issue, but a little strange. I can leave my fronts set at full range for now though.

Finally, on the HTPC I was able to reduce the Buffering setting to "Minimum Hardware Size", but I couldn't reduce the Live Playback Latency to anything less than the default "50 Milliseconds (recommended)" setting, or I would get clipping or similar effects.

Oh, also Windows also reported that the 20.0.25.0 driver was not digitally signed.

None of this outweighs the brilliance of having a WDM sound driver for any and all Windows applications to use on the HTPC.
Title: WDM Problems
Post by: Castius on October 16, 2014, 11:04:10 pm
I am testing using this on a JRiver in client mode. It's a bit add to always have JRiver open/minimized.

Is there anything we can do to deal with that?
Title: WDM Problems
Post by: )p( on October 17, 2014, 12:47:16 am
I am testing using this on a JRiver in client mode. It's a bit add to always have JRiver open/minimized.

Is there anything we can do to deal with that?

If you run mc as a server then when you close the app it will still receive the wdm routed sound and play it without a window open or minimized.
Title: WDM Problems
Post by: Castius on October 17, 2014, 01:03:02 am
Yes but at work I run it as a client.
Title: WDM Problems
Post by: )p( on October 17, 2014, 01:21:07 am
Yes but at work I run it as a client.

just disable the library and Dlna servers in options > media network. It will then act like a windowless client in the background when used with the wdm driver to play sound trough it.
Title: WDM Problems
Post by: Trumpetguy on October 17, 2014, 03:23:32 am
Used it with Wimp streaming service today, works almost perfect. It seems to stutter just a bit every now and then. May not be the WDM driver's fault for all I know, though.

Options > Audio > Advanced > Live playback latency = 50ms: Some skipes and stutters
Options > Audio > Advanced > Live playback latency = 500ms: static noise comes and goes in right channel
Options > Audio > Advanced > Live playback latency = 250ms: All good (streaming from Wimp)!

With Live playback latency = 50ms, ASIO buffer sizes of 50 or 500ms did not make any difference.

EDIT: Only DSP in MC is "Headphones".
Title: WDM Problems
Post by: mwillems on October 17, 2014, 07:11:30 am
Yes but at work I run it as a client.

He's talking about running the server widget, not the media server options (they're separate).  The media server widget is just a stripped down MC instance that lives in the tray; it doesn't necessarily have to serve anything.
Title: WDM Problems
Post by: csimon on October 17, 2014, 08:33:08 am
Quote
I can't seem to get my WDM zone to automatically become the active zone. It will switch to it just fine using either the [Name] or [Filename] rule regardless of the order of the ZoneSwitch rule. However, the last zone active stays as the visible zone. This means that I have to manually click on the WDM zone in order for its volume control to work.

What would help several different problems, would be:

* Another Selector in Zoneswitch - just exactly like the "stop zone" selector - but instead a "Switch Active Zone to this Zone When the Zone is Started".

Thanks !

Requested in MC20 Feature Requests here! http://yabb.jriver.com/interact/index.php?topic=90662.msg634413;topicseen#msg634413 (http://yabb.jriver.com/interact/index.php?topic=90662.msg634413;topicseen#msg634413)
Title: WDM Problems
Post by: mwillems on October 17, 2014, 08:43:12 am
 
What would help several different problems, would be:

* Another Selector in Zoneswitch - just exactly like the "stop zone" selector - but instead a "Switch Active Zone to this Zone When the Zone is Started".

Thanks !

As long as it's an option and/or configurable I'm on board (+1).  I just don't want to lose the ability to not switch to the active zone for reasons described above.
Title: WDM Problems
Post by: Groundhog on October 17, 2014, 10:45:26 am
Does MC20 and the WDM driver support relaying a web audio stream to another device?

I have a Windows PC running MC 20.0.25 with the Windows sound set to JRMC20 using the WDM driver. I can open a web browser and play music from the web through MC20 – it works just fine. Let’s call this machine PC1.

I also have a dedicated music server running Windows and MC 20.0.25. Let’s call this machine PC2. I can open a browser on PC2 and stream music from the web through MC20 using the WDM driver.

On PC1 in MC20, I can select PC2 as a zone and play music from my library on PC2. That works fine.

What doesn’t work for me is this scenario:
PC1: Windows sound is set to MC20 using WDM driver. MC20 current zone is set to PC2.
PC2: Current zone is set to Player.
On PC1, I stream music from the web.
On PC2, I see the Ipc file in the Player Playing Now content pane.
However, no audio is output from PC2.

Have I missed something in my setup? Or is this not supported?

Thanks,
-Brent
Title: WDM Problems
Post by: Hendrik on October 17, 2014, 10:48:12 am
Forwarding the audio over the network is not supported. Although that might be an interesting idea...
Title: WDM Problems
Post by: adlelare on October 17, 2014, 12:21:55 pm
I noticed a quick update that got rid of some redundancy, but in the device options is "exclusive access" also redundant (or should i still use it) or have i missed something as it seems to me setting this up this way makes MC 100% exclusive but muchly improved as i don't have problems elsewhere.  TIA.
Title: WDM Problems
Post by: mojave on October 17, 2014, 04:33:01 pm
That's how Zone Switch has always worked.
Zone Switch always switches to the active zone for me except for the WDM zone. I tried to figure out what kstuart's issue was in this thread (http://yabb.jriver.com/interact/index.php?topic=90242.msg624285#msg624285) with no success.
Title: WDM Problems
Post by: mwillems on October 17, 2014, 05:09:45 pm
Zone Switch always switches to the active zone for me except for the WDM zone. I tried to figure out what kstuart's issue was in this thread (http://yabb.jriver.com/interact/index.php?topic=90242.msg624285#msg624285) with no success.

As noted above (http://yabb.jriver.com/interact/index.php?topic=92593.msg637763#msg637763) I think it's by design, otherwise it would be very hard to effectively use the WDM for audio from video streaming through the integrated browser/netflix.
Title: WDM Problems
Post by: Castius on October 17, 2014, 06:05:09 pm
)p( thanks

I didn't think it would be a good idea to run server and client pointing to another server on the same system.
But you're right it works.

I wonder if we can add zones to the tray icons for media center and media server.
So we can switch input without opening media center.

It also takes a long time to switch from media center client to the server playing the audio.
Not long be enough time to wonder if it's going to work.
Title: WDM Problems
Post by: ronkupper on October 17, 2014, 06:34:35 pm
Great feature!

Another bonus -
Just tested and it enables measurements using REW through JRiver and Dirac Live!
Finally a simple way to validate Dirac's results and correct XO settings.
Title: WDM Problems
Post by: sjhilton on October 17, 2014, 09:43:56 pm
Hi Matt - I just wanted to say thank you for all your work on this. This feature has been worth the wait (and the price of the upgrade this year). It works perfectly on my system so far (using both Netflix and Spotify).

cheers,

Stuart
Title: WDM Problems
Post by: Wull on October 18, 2014, 02:12:49 am
Did you manage to get it to work because I can't either??

In JR/Audio device set to my SC. In Windows sound devices set JRiver media center.

I'm running W7 64bit

I can see sound playing in the spectrum analayzer, but I'm getting no sound..  ?

When I 'Test' the JRiver media center in Windows sound devices 'Ipc opening' is displayed at the top of the screen.

Got it working. I had to enable just about all my sound devices in Windows playback devices before I could set jriver media center to the default device..
Title: WDM Problems
Post by: rael71 on October 18, 2014, 05:28:44 am
When I enable WDM JRiver in windows control panel I obtain a distorted sound, the same that I obtain when I enable PCM to DSD conversion as I explain this thread http://yabb.jriver.com/interact/index.php?topic=91987.msg633009#msg633009; I have already played with buffer size but nothing changed.
Title: WDM Problems
Post by: Trumpetguy on October 18, 2014, 12:47:55 pm
This new feature brings on a whole new world of applications. I was hoping, just hoping, that it would work flawlessly with multichannel audio convolution (I use a 15 path 64k taps Audiolense filter). The old loopback was limited to fewer (two) channels, multichannel long filters caused stutter.

IT WORKS!!!!

Thanks again to the JRiver team, maybe Matt in particular for learning how to code drivers.
Title: WDM Problems
Post by: 6233638 on October 18, 2014, 04:27:44 pm
I'm finding that the default ~5 seconds of silence before stopping playback is too short. Increasing this to at least a minute would be preferable.
An option to simply enter how many seconds we want the connection to remain open would be good.
 
Since I'm routing the sound to separate devices, and Loopback seems to work well, I might even prefer that Media Center always keep the connection open.
 
 
I'm also finding that no matter how long I set the "play silence before for hardware synchronization" option, I'm still getting glitches for the first couple of seconds of playback.
Title: WDM Problems
Post by: mwillems on October 18, 2014, 06:01:07 pm
I'm finding that the default ~5 seconds of silence before stopping playback is too short. Increasing this to at least a minute would be preferable.
An option to simply enter how many seconds we want the connection to remain open would be good.
 
Since I'm routing the sound to separate devices, and Loopback seems to work well, I might even prefer that Media Center always keep the connection open.

I actually like the 5 second behavior quite a bit, and would prefer it, if anything, to be slightly shorter; but I definitely would support a configurable solution.  

My audio device will sometimes error if I try to playback something else while the WDM input is open in another zone (even with appropriate zoneswitch stop playback rules). As is, it's easy for me to just wait a couple seconds for it to "latch off" rather than having to manually stop it every time.  If the default were a minute, I would constantly be forgetting that it's still on, and throwing errors which disrupt theater view, etc.
 
Quote
I'm also finding that no matter how long I set the "play silence before for hardware synchronization" option, I'm still getting glitches for the first couple of seconds of playback.

I can confirm that I'm seeing the same thing, the first few seconds are always kind of odd. I think the driver ignores that setting entirely.

I think it does that to maintain AV sync:  when I start a Netflix movie using WDM, the video starts, but it takes a few beats for the driver to start playback in JRiver, so the audio starts up a little late and lags for a second or so, but then it suddenly "catches up" to the video and after that the sync is fine.  

So in order to avoid that glitch, the driver would either need to start faster (which it probably will in time) or the "catch up" would need to be more gradual (which would mean poor sync for longer, which wouldn't be ideal).
Title: WDM Problems
Post by: 6233638 on October 18, 2014, 06:08:34 pm
I actually like the 5 second behavior quite a bit, and would prefer it, if anything, to be slightly shorter; but I definitely would support a configurable solution.
What I'm finding is that if I'm watching a YouTube video and then it has to buffer for a few seconds before the next video in the playlist starts, or listening to a song which has silence at the end, the connection is dropped and restarts, which at best means a couple of seconds of audio glitching, and at worst I get the ASIO "format not supported error" and have to completely restart MC.

I think it does that to maintain AV sync:  when I start a Netflix movie using WDM, the video starts, but it takes a few beats for the driver to start playback in JRiver, so the audio starts up a little late and lags for a second or so, but then it suddenly "catches up" to the video and after that the sync is fine.

So in order to avoid that glitch, the driver would either need to start faster (which it probably will in time) or the "catch up" would need to be more gradual (which would mean poor sync for longer, which wouldn't be ideal).
You could be right. I think it might be better to simply mute the first couple of seconds to hide that glitch though.
Title: WDM Problems
Post by: mwillems on October 18, 2014, 06:13:44 pm
What I'm finding is that if I'm watching a YouTube video and then it has to buffer for a few seconds before the next video in the playlist starts, or listening to a song which has silence at the end, the connection is dropped and restarts, which at best means a couple of seconds of audio glitching, and at worst I get the ASIO "format not supported error" and have to completely restart MC.

I can see why you would find that irritating; a configurable "latch off" may be the best answer.

Quote
You could be right. I think it might be better to simply mute the first couple of seconds to hide that glitch though.

Yeah although that would basically bork system sounds or any other quick sounds that only last for a second or so.  I'm sure some folks wouldn't be sad to see system sounds go entirely, but that's another conversation...
Title: WDM Problems
Post by: natehansen66 on October 18, 2014, 08:47:28 pm
KILLER! Thanks guys.

I don't have much more to ask for  ;)
Title: WDM Problems
Post by: sirkus on October 19, 2014, 03:17:34 am
Who is doing the sample rate conversion that can be set in Windows sound card settings? MC or Windows?
Title: WDM Problems
Post by: Hendrik on October 19, 2014, 03:47:57 am
Who is doing the sample rate conversion that can be set in Windows sound card settings? MC or Windows?

Windows.
Title: WDM Problems
Post by: sirkus on October 19, 2014, 09:09:06 am
OK, thanks.
When I select JRiver WDM in WASAPI exclusive (from Qobuz player) I have clicks&pops. But, in non-exclusive mode it works without problems. I have tried the maximum buffer in MC, without success. I have tried to play with clocks frequency, too.
Title: WDM Problems
Post by: JimH on October 19, 2014, 09:17:48 am
Try a smaller buffer.
Title: WDM Problems
Post by: aproc on October 19, 2014, 09:41:06 am
What is this setting, in the screenshot below, for? When should this option be selected?
Title: WDM Problems
Post by: sirkus on October 19, 2014, 09:59:09 am
Quote
Try a smaller buffer.

The problem is the same with each buffer value (in MC, Audio, Advanced).
Title: WDM Problems
Post by: JimH on October 19, 2014, 10:10:45 am
Adjust the buffer size down in Options > Audio > Device settings.  I use 10ms.
Title: WDM Problems
Post by: sirkus on October 19, 2014, 10:34:08 am
Unfortunately, this doesn't solve the problem.
Title: WDM Problems
Post by: Arindelle on October 19, 2014, 12:45:14 pm
What is this setting, in the screenshot below, for? When should this option be selected?
Don't mess with that  ;)
Title: WDM Problems
Post by: Arindelle on October 19, 2014, 02:04:34 pm
OK, thanks.
When I select JRiver WDM in WASAPI exclusive (from Qobuz player) I have clicks&pops. But, in non-exclusive mode it works without problems. I have tried the maximum buffer in MC, without success. I have tried to play with clocks frequency, too.
Unfortunately, this doesn't solve the problem.

I got Qobuz streaming in Flac pretty well --

this is what I recommend you do in this order (note every set-up is going to be different) -- even though we are talking about audio, I would get this to work for video streaming then you know the final adjustment will be in Qobuz -- get that BBC synchro video posted earlier in the thread. This is based on having set the JR driver in windows as default beforehand. Then launching JRiver (or closing and restarting it including the server if you are using it)



That should do the trick provided you have a half way decent internet connection. Hope that helps some

Title: WDM Problems
Post by: mattkhan on October 19, 2014, 03:26:01 pm
The "minimums" will depend on what buffering settings your devices/computer will tolerate. On all the PCs I tested, I could achieve a configuration that was good enough for lipsync without convolution (although on one machine it was verging on unacceptable).  By contrast with convolution some of my machines were still solid, but some were definitely not.
I had a quick play with this earlier and it was definitely a fail with convolution on (using a minimum phase version of my usual filters) but seemed ok with convolution off. Do you have a good way to measure the actual latency in the chain?
Title: WDM Problems
Post by: Matt on October 19, 2014, 03:26:54 pm
I had a quick play with this earlier and it was definitely a fail with convolution on (using a minimum phase version of my usual filters) but seemed ok with convolution off. Do you have a good way to measure the actual latency in the chain?

Try increasing the buffering in Options > Audio > Advanced > Live playback letency
Title: WDM Problems
Post by: sirkus on October 19, 2014, 04:47:03 pm
Quote
That should do the trick provided you have a half way decent internet connection. Hope that helps some

Merci, but no luck :(

Quote
I got Qobuz streaming in Flac pretty well --

Do you use WASAPI exclusive? I can't even use JRiver ASIO, because it seems there is an old bug in Qobuz player that force to use the first driver available in the list (and JRiver isn't the first ASIO).

I'm still in trial period with Qobuz, but I'm starting to have doubts with the player... shame for such interesting catalog
Title: WDM Problems
Post by: Arindelle on October 19, 2014, 05:30:45 pm
Do you use WASAPI exclusive? I can't even use JRiver ASIO, because it seems there is an old bug in Qobuz player that force to use the first driver available in the list (and JRiver isn't the first ASIO).

I'm still in trial period with Qobuz, but I'm starting to have doubts with the player... shame for such interesting catalog
Yes, I use WASAPI exclusive for my Audio device in JRiver. NOT in Qobuz

In the Qobuz preferences, you choose the the default driver (WDM) you set in windows, which should read Default: Speakers (JRiver Media Center 20) . Don't use Wasapi exclusive that happens to come up under their menu way down the list . That shouldn't be an option even, thats not the WDM driver.

Maybe you are confusing the audio device that JRiver is using and the driver that external programs/apps would use? Haven't tried this yet with the new driver, but if you want to use ASIO, you should be able to but set from within JRiver not Qobuz.

Title: WDM Problems
Post by: sirkus on October 20, 2014, 12:59:41 pm
Quote
Yes, I use WASAPI exclusive for my Audio device in JRiver. NOT in Qobuz

Maybe, I'm missing something, here is my understanding:

1. We have one virtual sound card (JRiver) with two drivers. One is WDM (including WASAPI) and the other is ASIO.
2. And I have one physical soundcard (RME HDSP AES) with two drivers, one is WDM (including WASAPI) and the other is ASIO.

The external application sends audio to 1. (which is MC and its DSP).
And MC sends audio to 2. (which is the physical sound card).

Quote
Maybe you are confusing the audio device that JRiver is using and the driver that external programs/apps would use? Haven't tried this yet with the new driver, but if you want to use ASIO, you should be able to but set from within JRiver not Qobuz.

No single soudcard from above is addressed at the same time (or at any time) by both applications.

Quote
In the Qobuz preferences, you choose the the default driver (WDM) you set in windows, which should read Default: Speakers (JRiver Media Center 20) . Don't use Wasapi exclusive that happens to come up under their menu way down the list . That shouldn't be an option even, thats not the WDM driver.

WASAPI non-exclusive works. The advantage of ASIO and WASAPI exclusive is that it bypasses Windows mixer (re-sampling, etc...).
Here is what Matt says (http://yabb.jriver.com/interact/index.php?topic=92593.msg637547#msg637547)
Quote
For what interfaces are supported, it's any interface that talks to a WDM driver.  That's WASAPI, KS, DirectSound, etc.

From what I hear, it's like a sync issue between cards (virtual and physical). For example, I had this problem in ASIO4ALL when aggregating multiple soundcards. So, anyone can confirm that WASAPI exclusive is supported through MC? Or in others words, is it possible to go bit perfect from application via MC to physical sound card?

Title: WDM Problems
Post by: Matt on October 20, 2014, 03:41:00 pm
Next build:
Changed: The WDM driver enters silence mode after 10 seconds of silence instead of 5 seconds.
Title: WDM Problems
Post by: JimH on October 21, 2014, 10:14:00 am
Split: Measuring Latency of JRiver WDM (http://yabb.jriver.com/interact/index.php?topic=92734.0)
Title: WDM Problems
Post by: SpaceLaser on October 21, 2014, 09:57:49 pm
I've been getting some odd freezes when I try to change audio tracks sometimes. I have one zone dedicated to my desktop application audio, then another for my main JRiver audio play back. Sometimes if I stop a track in my JRiver zone, Media Center hangs and I have to restart the program.

I'm using WASAPI non-exclusive mode so I can hear music and whatever application I'm using in normal use.
Title: WDM Problems
Post by: glynor on October 22, 2014, 01:58:44 am
A few questions about this.  I'm just now playing with it a bit.

* Does it handle multichannel audio?

Does it make sense to run through the Windows Sound Control Panel's Configuration speaker test thing?  I can tell you that it isn't working well for me on my server box (using just Realtek onboard audio in WASAPI mode, generally well behaved with MC).

When running the test: In the Stereo mode, the Left channels play, but the right ones are silent.  In the other various modes I can get the rear left speakers to play as well, but none of them on the right do at all.  Plus, my Left main speaker also plays (in addition to when Left main is supposed to play) when the Center is supposed to be, and the same happens for one of my rear surrounds.

So, I don't know if that works at all, or is supposed to... But, even if the speaker test in Windows doesn't work, does it take multichannel surround (like from Games, and other things like that that do provide stereo sources) but then automatically JRSS up to surround for actual stereo sources?  Do I need to set Windows to the proper number of channels, or keep it on stereo?

Because that's awesome if I can set Windows to the "right number" and have Stereo sources still upmixed by JRSS.  Right now, I have to keep Windows set at two channel, which lets my Receiver upmix those sounds, but then that breaks it when an application can actually play multichannel output (like games, or whatever).

* It has to be running, but, can you confirm that it works in Library Server mode, and not just full GUI mode?  I seemed to have different results from the Windows configuration speaker test when MC was in Library Server mode, but it was acting so weird it is hard to tell.  EDIT: I think this part seems to work fine in Library Server mode.

* Also, should we alter the Default Format setting in Windows for the MC WDM Driver?  Does it make sense to just crank this up?  Or maybe it is best to assume most other audio will be natively in some crap mode, so why have Windows resample it first?  Not sure there.
Title: WDM Problems
Post by: Hendrik on October 22, 2014, 02:02:20 am
* Does it handle multichannel audio?

Yes it does. Like with any other WDM/DirectSound audio device, you will need to set the number of channels though. Only if you set it to 5.1 in the Windows options, it'll actually receive 5.1 - and it will always receive 5.1 then.
MC will then apply JRSS and any other processing.

Thats just how the whole Windows sound architecture works, unless you use WASAPI exclusive mode, Windows will always mix to whatever format is configured here before the driver sees it.

* Also, should we alter the Default Format setting in Windows for the MC WDM Driver?  Does it make sense to just crank this up?  Or maybe it is best to assume most other audio will be natively in some crap mode, so why have Windows resample it first?  Not sure there.

If you listen to a lot of online music, 44.1k/24 is probably the best choice, or if its more gaming and general purpose audio, 48/24, unless you know that your audio is primarily of another sample rate. You would want to avoid too much resampling in Windows (even if their resampler isn't the worst in the world anymore).
Title: WDM Problems
Post by: aproc on October 22, 2014, 02:42:26 am
I want to play videos in MPC-HC and get the audio processed via JRiver MC (the primary reason being the absence of Pan & Scan controls in MC). So I have selected JRiver MC as the output device (Wasapi exclusive mode) in Reclock's settings. Now all I hear in MC is the static. Sometimes after seeking multiple times, I can hear the audio though but with lipsync issues. What settings should I change to get it working properly?

Also, MC's WDM driver doesn't accept greater than 24 bit audio. It would be ideal if it could accept 32 bit integer (or maybe floating point if possible) audio in Wasapi exclusive mode. 
Title: WDM Problems
Post by: Hendrik on October 22, 2014, 05:58:55 am
It should never set itself as the default device, never has done so for me.
it will also only ask the first time you install it, once you give permission it only needs to update the driver and not install a new device
Title: WDM Problems
Post by: Arindelle on October 22, 2014, 06:49:39 am
It should never set itself as the default device, never has done so for me.
it will also only ask the first time you install it, once you give permission it only needs to update the driver and not install a new device
It "unset" the driver as my default device though? Is that normal?

And, unless there are changes to the driver is it necessary to have it reinstalled each time there is an update?
Title: WDM Problems
Post by: mwillems on October 22, 2014, 07:28:28 am
It "unset" the driver as my default device though? Is that normal?

Same here, everytime I update it seems to un-default the driver.
Title: WDM Problems
Post by: Schmidter on October 22, 2014, 01:00:30 pm

From what I hear, it's like a sync issue between cards (virtual and physical). For example, I had this problem in ASIO4ALL when aggregating multiple soundcards. So, anyone can confirm that WASAPI exclusive is supported through MC? Or in others words, is it possible to go bit perfect from application via MC to physical sound card?



Also interested in this.  Thanks for any input!
Title: WDM Problems
Post by: Matt on October 22, 2014, 01:09:29 pm
From what I hear, it's like a sync issue between cards (virtual and physical). For example, I had this problem in ASIO4ALL when aggregating multiple soundcards. So, anyone can confirm that WASAPI exclusive is supported through MC? Or in others words, is it possible to go bit perfect from application via MC to physical sound card?

WASAPI exclusive works fine.  I just tested MC19 in exclusive mode playing to MC20 in the driver.  It works without hiccups.
Title: WDM Problems
Post by: Schmidter on October 22, 2014, 01:21:46 pm
For all your fine work (and the post), thanks, again!
Title: WDM Problems
Post by: glynor on October 22, 2014, 03:32:47 pm
Only if you set it to 5.1 in the Windows options, it'll actually receive 5.1 - and it will always receive 5.1 then.
MC will then apply JRSS and any other processing.

Any way you can "detect" empty channels?

Because that would be a killer feature.  The way Windows does it is super-annoying now.
Title: WDM Problems
Post by: sirkus on October 23, 2014, 12:51:41 pm
Quote
WASAPI exclusive works fine.  I just tested MC19 in exclusive mode playing to MC20 in the driver.  It works without hiccups.

Great! You are right. I'm testing it with foobar WASAPI plugin (push style, because event style gives BSOD) and the sound is perfect.
If anyone can test JRiver WDM WASAPI exclusive in Qobuz player, I will be interested to know if it's only me who has a problem.
Title: WDM Problems
Post by: N2audio on October 24, 2014, 08:56:15 am
Is this driver compatible with XP?  I just updated and received a warning at the point of the driver install....out of caution, I opted to not install the driver.

Thanks...
Title: WDM Problems
Post by: Hendrik on October 24, 2014, 12:47:02 pm
The driver will not work on XP, sorry.
Title: WDM Problems
Post by: aproc on October 24, 2014, 01:47:20 pm
I want to play videos in MPC-HC and get the audio processed via JRiver MC (the primary reason being the absence of Pan & Scan controls in MC). So I have selected JRiver MC as the output device (Wasapi exclusive mode) in Reclock's settings. Now all I hear in MC is the static. Sometimes after seeking multiple times, I can hear the audio though but with lipsync issues. What settings should I change to get it working properly?

Also, MC's WDM driver doesn't accept greater than 24 bit audio. It would be ideal if it could accept 32 bit integer (or maybe floating point if possible) audio in Wasapi exclusive mode. 

Can anyone please tell me the settings to fix the static (distortion/ noise) that I get on my laptop or is that a bug?
Title: WDM Problems
Post by: 6233638 on October 24, 2014, 01:54:06 pm
Can anyone please tell me the settings to fix the static (distortion/ noise) that I get on my laptop or is that a bug?
Increase the buffer size/latency.
Title: WDM Problems
Post by: aproc on October 24, 2014, 02:19:48 pm
After increasing the buffer size and live latency, the audio breaks and still distortion comes intermittently. The audio breaks for direct sound too. I have tried many combinations of buffer size and latency, none of the combinations play smooth audio.
Title: WDM Problems
Post by: JimH on October 24, 2014, 02:31:22 pm
Try decreasing the size.
Title: WDM Problems
Post by: prerich on October 24, 2014, 02:55:26 pm
 :D ;D :D Matt, you guys keep doing things like this - you've got me for life!!!!!! Good work, Matt!!!!!!! Bless you!!!!!
Title: WDM Problems
Post by: aproc on October 25, 2014, 12:34:34 am
Try decreasing the size.

Already tried that. It doesn't help. Also tried on an old desktop system with Pentium D, the audio breaks, skips and distortion comes on that system too. In both these systems, before this WDM driver came, I was using wasapi loopback and it worked perfectly except for the lipsync issue which was really terrible.
Title: WDM Problems
Post by: Arindelle on October 25, 2014, 06:27:05 am
Can anyone please tell me the settings to fix the static (distortion/ noise) that I get on my laptop or is that a bug?
what are you streaming from?  Is it Qobuz or another app that gives you output choices??

If so make sure you choose the driver that is set in default in windows -- > Default : (Speakers) JRiver media Center 20

don't choose the WASAPI Exclusive or the ASIO mode or whatever else they offer - this will cause static as the renderer, JRiver, is already running in WASAPI exclusive or ASIO or whatever. This will not detract from "bit perfectness", depending of course on the input received.

(devs please correct me if I'm wrong about this, but I'm pretty sure the default driver must be used and it shunts the signal to the proper output driver (or device rather), either I'm misunderstanding or others are)
Title: WDM Problems
Post by: skibum on October 25, 2014, 06:55:50 am
I use JREMOTE to conrol JRiver on my headless computer. 

Up to now I have not done any streaming of Spotify, Wimp, etc.  I have just played music that is stored on my computer.

With the WDM driver can I set up JRiver so that I can easily switch back and forth, using JREMOTE, between SPOTIFY and music stored on my computer?

Thanks!
Title: WDM Problems
Post by: 6233638 on October 25, 2014, 12:15:32 pm
I use JREMOTE to conrol JRiver on my headless computer.

Up to now I have not done any streaming of Spotify, Wimp, etc.  I have just played music that is stored on my computer.

With the WDM driver can I set up JRiver so that I can easily switch back and forth, using JREMOTE, between SPOTIFY and music stored on my computer?
Install Airfoil (http://www.rogueamoeba.com/airfoil/windows/) ($25) and run the "Airfoil Speakers" app.
Or Shairport4w (http://sourceforge.net/projects/shairport4w/). (free, but may be less reliable)
 
Configure it to play to the JRiver audio device.
 
Now you will be able to use the Spotify app on your phone/tablet to send audio to the Airfoil/Shairport audio device, which then plays through Media Center.
Title: WDM Problems
Post by: skibum on October 25, 2014, 12:27:58 pm
Install Airfoil (http://www.rogueamoeba.com/airfoil/windows/) ($25) and run the "Airfoil Speakers" app.
Or Shairport4w (http://sourceforge.net/projects/shairport4w/). (free, but may be less reliable)
 
Configure it to play to the JRiver audio device.
 
Now you will be able to use the Spotify app on your phone/tablet to send audio to the Airfoil/Shairport audio device, which then plays through Media Center.

Thanks, but I do not think that is what I want.  I do not want to use any wifi for steaming music between my devices.

I want to install Spotify on my headless computer.  I want to be able to "remote" control spotify using my iPad.  Can I configure JRiver using the new WDM Driver so that Spotify output goes through JRiver? 

I want to be able to go back and forth between Spotify to playing music that is on my computer hard drive using just an iPad. 

Title: WDM Problems
Post by: )p( on October 25, 2014, 12:40:59 pm
Thanks, but I do not think that is what I want.  I do not want to use any wifi for steaming music between my devices.

I want to install Spotify on my headless computer.  I want to be able to "remote" control spotify using my iPad.  Can I configure JRiver using the new WDM Driver so that Spotify output goes through JRiver?  

I want to be able to go back and forth between Spotify to playing music that is on my computer hard drive using just an iPad.  



You need the latest version of the spotify desktop app. It now supports being controlled by the spotify app on your ipad.
Set the jriver wdm driver as your default audio device and your set. For convenience assign a specific zone to the wdm driver. Use "[Name]="IPC"" to setup the zone.

Personally I prefer airplay because I can control spotify from the lock screen and control center on the ipad. This does not work when you control the desktop app from the spotify app on the ipad.
Title: WDM Problems
Post by: thediscman on October 26, 2014, 04:49:05 am
Congrats to the team for this accomplishment!!

In the opening post of this thread (http://yabb.jriver.com/interact/index.php?topic=92593.0), it says, "It gets you everything MC can do with the sound.  DSP, zones, volume leveling..."

I have grown very attached to volume leveling, but I thought that it only worked by using volume information stored in the tags of the files you're playing.

Is it possible to use volume leveling on audio from streamed sources like Spotify & YouTube?!
Title: WDM Problems
Post by: 6233638 on October 26, 2014, 07:16:47 am
Is it possible to use volume leveling on audio from streamed sources like Spotify & YouTube?!
No. You could use adaptive volume to compress everything to a "normalized" level, but it wouldn't sound very good.
Volume leveling needs pre-analysis to work correctly. Real-time analysis is not going to give good results.
Title: WDM Problems
Post by: aproc on October 26, 2014, 12:51:31 pm
what are you streaming from?  Is it Qobuz or another app that gives you output choices??

If so make sure you choose the driver that is set in default in windows -- > Default : (Speakers) JRiver media Center 20

don't choose the WASAPI Exclusive or the ASIO mode or whatever else they offer - this will cause static as the renderer, JRiver, is already running in WASAPI exclusive or ASIO or whatever. This will not detract from "bit perfectness", depending of course on the input received.

(devs please correct me if I'm wrong about this, but I'm pretty sure the default driver must be used and it shunts the signal to the proper output driver (or device rather), either I'm misunderstanding or others are)

I am not using Qobuz and not any streaming services either. The output choices are offered by Reclock renderer used in MPC-HC.

Yes, JRiver Media Center 20 has been selected as the default device in Windows.

Matt has posted earlier in this thread that he was able to output audio from MC 19 in Wasapi exclusive mode to MC 20 via WDM driver. So it works in his setup and probably in the setups of other users too. In both my systems, audio breaks, skips and distorts even for Direct Sound when using this WDM driver. Besides this, I have never had such audio problems on my systems.
Title: WDM Problems
Post by: JimH on October 26, 2014, 01:05:03 pm
Adjust the buffer size.  Smaller may be better.
Title: WDM Problems
Post by: Arindelle on October 26, 2014, 02:12:48 pm
I am not using Qobuz and not any streaming services either. The output choices are offered by Reclock renderer used in MPC-HC.

Yes, JRiver Media Center 20 has been selected as the default device in Windows.

Matt has posted earlier in this thread that he was able to output audio from MC 19 in Wasapi exclusive mode to MC 20 via WDM driver. So it works in his setup and probably in the setups of other users too. In both my systems, audio breaks, skips and distorts even for Direct Sound when using this WDM driver. Besides this, I have never had such audio problems on my systems.

Thats why I asked confirmation of that! (Unless he was playing to JR 20 like a DLNA device which I don't know how to do). I cannot get MC 19 to play through JR WASAPI, or JR ASIO without clicks and basic crap sound. It will work with  JR20 (Direct Sound) which is not "direct sound"  I think it is their WDM driver -- and that plays back fine.  So if Matt could confirm ......

I think the driver, if set to default correctly,  shunts over the input without going through the windows mixer ... I'm showing even though it says JRiver Media Center 20 [Direct Sound] as the output device in JR 19, it is a direct connection (bit-perfect) to  the playback (rendering) handled by JR 20 using the WASAPI exclusive output (or ASIO or whatever). It is not using Window's direct sound.

Simply, I think that the external source must be "played" or outputted using the WDM driver (if there is a choice) and not another output option =>by passing the window mixer using a direct connection audio path,  then it gets rendered in JR 20.

when loading the Noire skin I even get the blue button showing.

If I am wrong, then I don't know how Matt set the output on JR 19 to WASAPI or  ASIO and didn't get noise over the IPC input to JR 20.

Someone could confirm this? If I'm wrong I'd like to know. If I'm right maybe instead of saying JRiver Direct Sound maybe it should say JRiver direct input or something to that effect?

PS @Aproc -- I'm not familiar with Reclock and MPC-HC. But if you are using JR's driver and JRiver as a render why use another renderer in the chain? thanks
Title: WDM Problems
Post by: stewart_pk on October 26, 2014, 08:30:16 pm
Sorry to be negative but I'm very disappointed in this and I've disabled the JRiver WDM device.
On my HTPC I currently use the system volume control for WMC, Cyberlink PDVD and Netflix through a browser. When using JRiver I use it's Internal Volume.
I was hoping to use the new WDM driver with WMC, PDVD, Netlfix (web browser) but how am I suppose to control volume (with an IR remote) and why does the open JRiver application take focus after I start playing something from another application?
Title: WDM Problems
Post by: mutato on October 27, 2014, 03:53:39 am
I have an update regarding crackling sounds with WDM enabled and playing music through browser. It seems no matter what latency settings I use, I will experience crackling sounds if I have other programs open (like ms word, adobe reader, task manager) besides chrome and jriver MC.

If any one else experience crackling sounds, try shutting down all other programs and see if this improves the situation.
Title: WDM Problems
Post by: 6233638 on October 27, 2014, 04:31:40 am
Processing sound on the CPU like this can result in crackling audio if the CPU is either not fast enough, or too busy.
 
Increased buffer sizes (which result in increased latency) usually help to avoid this.
 
However some systems just won't be fast enough, or have other issues like high DPC latency causing interruptions in playback. (crackling)
Title: WDM Problems
Post by: mutato on October 27, 2014, 05:13:28 am
Processing sound on the CPU like this can result in crackling audio if the CPU is either not fast enough, or too busy.
 
Increased buffer sizes (which result in increased latency) usually help to avoid this.
 
However some systems just won't be fast enough, or have other issues like high DPC latency causing interruptions in playback. (crackling)

If the cpu is not fast enough or the system is having problems with DPC latency, shouldn't this likely produce crackling sounds when playing audio only through MC (not WDM)?
Title: WDM Problems
Post by: 6233638 on October 27, 2014, 05:54:45 am
If the cpu is not fast enough or the system is having problems with DPC latency, shouldn't this likely produce crackling sounds when playing audio only through MC (not WDM)?
Playing directly to a hardware device is going to be far more reliable than playing to virtual sound device, being processed by playback software, and then played through a hardware device.
Title: WDM Problems
Post by: strend on October 27, 2014, 09:48:52 am
No crackling issues or the like - but this is unfortunately unusable.  No matter the buffer selections, there is a huge (.25 second or more) delay.  Hope these issues get sorted out.....this was the feature that made me hit the 'buy' button.

If it matters:

Windows 8.1 Pro x64
2600K
MSI P67A-G45
ASUS STRIX GTX 970
Asus Xonar DX

Didn't test the soundcard as output device though, only HDMI to a reciever.

Title: WDM Problems
Post by: JimH on October 27, 2014, 10:56:24 am
Please read the instructions at the top again.  You may be adjusting the wrong buffer.
Title: WDM Problems
Post by: aproc on October 27, 2014, 01:07:37 pm
Adjust the buffer size.  Smaller may be better.

5 ms buffer size fixed the audio problems in Direct Sound mode.  :)  It didn't fix the problems in Wasapi exclusive mode though. Any suggestion for that?
Title: WDM Problems
Post by: aproc on October 27, 2014, 01:14:11 pm
I'm not familiar with Reclock and MPC-HC. But if you are using JR's driver and JRiver as a render why use another renderer in the chain?
When using Reclock in MPC-HC, I use JRiver for its DSP only. There are some videos that I have which have shifted frames and/ or screwed up aspect ratio. I can fix them in MPC-HC by using the Pan & Scan controls which are not available in JRiver.
Title: WDM Problems
Post by: mantis07 on October 29, 2014, 10:52:03 am
I have tried everything suggested and still have no sound using the Tidal service. I set my default device in Control Panel-Sound to Speakers - JRiver Media Center 20 - I can click on the left/right speakers and get sound. In MC I set up a new zone - set options - audio device to Default Audio Device [Direct Sound] and nothing plays - I'm using the recommended latency etc. In Control Panel-sound I can see that music is playing but no sound. I do have the volume turned up. I'm using MC 20.0.27 and Win 7 64. Any ideas?

thanks
tony
Title: WDM Problems
Post by: Arindelle on October 29, 2014, 11:29:04 am
In MC I set up a new zone - set options - audio device to Default Audio Device [Direct Sound] and nothing plays - I'm using the recommended latency etc.
thanks
tony
that's your problem -- everything pushed to the windows driver (direct sound) is being shunted to the WDM (IPC) INPUT tha you set as default. You should not be using direct sound as an output (which no longer will work because the new driver has taken over as default) Use your normal output device .. then you will get sound. If it was WASAPI or ASIO exclusive use that or a special output for your DAC, but not Direct Sound. Note that you should have jriver running before launching an external program (or at least media server20.exe)

Title: WDM Problems
Post by: mwillems on October 29, 2014, 11:30:34 am
In MC I set up a new zone - set options - audio device to Default Audio Device [Direct Sound] and nothing plays - I'm using the recommended latency etc.

The above quoted issue is the problem; set your audio output device in JRiver to target your actual physical soundcard, not the default device.  JRiver's WDM driver is the default device, so by trying to output to in JRiver you're just creating a closed loop.

EDIT: whoops ninja'd by Arindelle  ;D
Title: WDM Problems
Post by: mantis07 on October 29, 2014, 11:38:40 am
AHA! That worked - thanks very much  :)

t
Title: WDM Problems
Post by: NiToNi on October 29, 2014, 11:48:12 am
Blemming brilliant this - thank you  :)

Incremental value could be added by allowing multiple instances of this WDM driver, e.g. (1+2), (3+4), (5+6) etc.

This way it would be possible to run multiple instance of Shairport4w each outputting audio to a different zone in MC, which would be way cool!

At the moment, I can only do this to two zones:

(1) Shairport4w => JRiver WDM => MC zone A
(2) Shairport4q => ASIOBridge => JRiver ASIO => MC zone B  
Title: WDM Problems
Post by: BryanC on October 29, 2014, 12:33:12 pm
Quick question: Is the output bitdepth/sample rate dependent on the Windows settings in the Advanced settings in playback devices, or is it dependent on the settings in MC's DSP? Also, do we need to configure the multichannel output in Windows or is this also handled by the MC DSP?
Title: WDM Problems
Post by: beats_works on October 29, 2014, 12:58:33 pm
Any chance of getting MC "line out" to appear under Windows Recording Tab?  Would be ideal for standalone applications that accept "What U Hear"/"Stereo Mix" as input i.e. Standalone visualizer. 

Alternatively is there a way in MC to bridge output to the "Microphone - Jriver20" which does appear under Recording tab?
Title: WDM Problems
Post by: beats_works on October 29, 2014, 02:57:28 pm
Any chance of getting MC "line out" to appear under Windows Recording Tab?  Would be ideal for standalone applications that accept "What U Hear"/"Stereo Mix" as input i.e. Standalone visualizer. 

Alternatively is there a way in MC to bridge output to the "Microphone - Jriver20" which does appear under Recording tab?

Halfway to answering my own question with Hi-Fi CABLE & ASIO Bridge. :-)

http://vb-audio.pagesperso-orange.fr/Cable/index.htm
Title: WDM Problems
Post by: 6233638 on October 29, 2014, 05:53:19 pm
Quick question: Is the output bitdepth/sample rate dependent on the Windows settings in the Advanced settings in playback devices, or is it dependent on the settings in MC's DSP? Also, do we need to configure the multichannel output in Windows or is this also handled by the MC DSP?
Yes it will be.
Everything in WDM is resampled unless the application is using WASAPI Exclusive Mode.
I don't know whether the MC driver supports WASAPI Exclusive or if it will switch though.
Title: WDM Problems
Post by: Matt on October 29, 2014, 06:13:42 pm
I don't know whether the MC driver supports WASAPI Exclusive or if it will switch though.

Yes it does.  As a test, I played in MC19 exclusive to MC20's driver.  It worked fine.
Title: WDM Problems
Post by: 6233638 on October 29, 2014, 06:55:10 pm
Yes it does.  As a test, I played in MC19 exclusive to MC20's driver.  It worked fine.
Excellent. I assumed it would work since Media Center handles all sorts of input & output configurations, but I didn't have the time to test it.
 
What I would say is that this update has reset all the device properties which isn't great.
I was using a custom name ("JRiver Media Center" instead of "Speakers") and icon (the app icon) with the device configured as a full-range 24/44.1 output, all of which was reset.
A number of other programs that I run use the device name to select the default audio device and had to be reconfigured as a result.
Title: WDM Problems
Post by: RoderickGI on October 29, 2014, 08:52:29 pm
Yes it will be.
Everything in WDM is resampled unless the application is using WASAPI Exclusive Mode.
I don't know whether the MC driver supports WASAPI Exclusive or if it will switch though.

I love the idea of the WDM driver, and I'm using it. But this extra resampling concerns me, and I'm not sure how it fits into the audio data flow when using this new driver.

I know that all Windows applications now send audio data to the MC WDM driver. I know that the MC WDM driver sends the audio data to MC. Then of course MC processes the data according to settings and sends it out to the real audio out device.

But when in the data flow does Windows resample the audio?

I'm also hearing a much larger delay before sound is played when using the WDM driver, which is of some concern, especially with short Windows event sounds. Is or can the WDM audio driver be optimised to improve response, or is this just a fact of life with Windows sound? I'm guessing that if the WDM driver was capable of WASAPI exclusive mode, thereby avoiding resampling (?), the delayed response would be reduced.
Title: WDM Problems
Post by: 6233638 on October 29, 2014, 09:25:13 pm
I love the idea of the WDM driver, and I'm using it. But this extra resampling concerns me, and I'm not sure how it fits into the audio data flow when using this new driver.
Windows does high quality resampling if you're using a patched-up Windows 7, or Windows 8/8.1
Set it to 44.1kHz (or whatever your source uses) to avoid it.

But when in the data flow does Windows resample the audio?
Before it gets to MC.
As long as you aren't resampling it a second time (Windows, then MC) you probably don't have to be concerned about it.

I'm also hearing a much larger delay before sound is played when using the WDM driver, which is of some concern, especially with short Windows event sounds. Is or can the WDM audio driver be optimised to improve response, or is this just a fact of life with Windows sound? I'm guessing that if the WDM driver was capable of WASAPI exclusive mode, thereby avoiding resampling (?), the delayed response would be reduced.
The delay is because you're now playing through the driver & MC's buffer, and your sound device's buffer, instead of just the sound device.
Title: WDM Problems
Post by: appdevman on October 29, 2014, 09:59:03 pm
This rules now I can stream di.fm and use MilkDrop2 along with the rest of the MC20 awesomeness!!
Thanks for this.
Title: WDM Problems
Post by: RoderickGI on October 29, 2014, 11:59:38 pm
As long as you aren't resampling it a second time (Windows, then MC) you probably don't have to be concerned about it.

That's the problem. There is no setting in Windows to say "Do not resample". As I have multiple sources with different sample rates, and the WDM driver/Windows only allows me to set one sample rate, it is going to resample some sources. Also, as my receiver has limited capability, and I am resampling to the best it can do in many cases, I am likely to resample some audio twice.

I'm no audiophile, so it isn't killing me. But it is of concern. I would like to be able to tell Windows just to send the audio to MC, just as it receives it. No changes.
Title: WDM Problems
Post by: 6233638 on October 30, 2014, 12:03:29 am
That's the problem. There is no setting in Windows to say "Do not resample".
WASAPI Exclusive mode allows the application to do this, but the source application has to support it.

As I have multiple sources with different sample rates, and the WDM driver/Windows only allows me to set one sample rate, it is going to resample some sources. Also, as my receiver has limited capability, and I am resampling to the best it can do in many cases, I am likely to resample some audio twice.
Use the highest sample rate that your receiver supports for everything then. That is likely to be the least destructive option.
Title: WDM Problems
Post by: aproc on October 30, 2014, 01:02:31 am
It would be really great if JRiver's WDM driver can accept 32 bit integer (or floating point audio if possible) in Wasapi exclusive mode. Presently, it accepts up to 24 bit audio only.
Title: WDM Problems
Post by: RoderickGI on October 30, 2014, 03:42:28 am
WASAPI Exclusive mode allows the application to do this, but the source application has to support it.

Okay. I didn't think I could combine WASAPI Exclusive mode with the MC WDM driver. I will look into that.

Unfortunately for things like Vimeo, movie trailer sites that don't use YouTube (I can run YouTube from within MC) and so on, that use a browser, the browser just plays to the default Windows audio device, so there is no opportunity to use WASAPI. I'll have to look into some of the other apps I use.


Use the highest sample rate that your receiver supports for everything then. That is likely to be the least destructive option.

That's what I am doing now. I guess I made the right choice.
Title: WDM Problems
Post by: ray77 on October 30, 2014, 10:44:25 am
This feature alone is worth the upgrade price! Getting Internet radio stations thru the MC Audio/Connected Media menu was always hit and miss -sometimes the audio would play on the computer speakers, other times thru my DAC and hi-fi speakers. By setting up a new zone and designating MC Speakers as the default instead of my DAC device everything goes thru the DAC and hi-fi system. Is there any difference in performance when I am playing music stored on my computer or should I switch back to my original zone?
Title: WDM Problems
Post by: 6233638 on October 30, 2014, 08:48:43 pm
I don't know what changed in 20.0.30 but I'm now getting stuttering every time the track changes in the Tidal app.
I think someone else mentioned similar things happening with system sounds. (I have them disabled)
 
I'm not sure if it's due to the connection being dropped after 10s of silence or something else like the Tidal app stopping and starting playback on track changes.
 
Edit: I'm also having this problem in the middle of tracks when there is a long silence. Please make the IPC cut-off a user preference rather than fixed at 5/10s.
Title: WDM Problems
Post by: MonarchX on November 01, 2014, 09:20:49 am
Could you provide an option NOT to install it during JRiver Media Center installation/update process? I do not use 99% of JRiver's functions, which is awesome because JRiver allows its users to disable almost all of them through its options. It would be a great idea if this driver could also be prevented from installation. I end up removing it from Device Manager, which is fine, but doing after each update is just extra clicking that doesn't have to be...
Title: WDM Problems
Post by: Matt on November 01, 2014, 10:09:49 am
Could you provide an option NOT to install it during JRiver Media Center installation/update process? I do not use 99% of JRiver's functions, which is awesome because JRiver allows its users to disable almost all of them through its options. It would be a great idea if this driver could also be prevented from installation. I end up removing it from Device Manager, which is fine, but doing after each update is just extra clicking that doesn't have to be...

It's harmless to just leave it.
Title: WDM Problems
Post by: stewart_pk on November 02, 2014, 11:06:02 pm
No it's not, I have a script that specifically picks the audio device called "Speakers". Of course JRiver also decided to install a device called "Speakers" and now my script picks the JRiver one instead of the other real first one that I wanted. I had to rename the JRiver "Speakers" to "JRiver Speakers" but of course a JRiver update re-installed a new version of the driver renaming it back.
Title: WDM Problems
Post by: 6233638 on November 03, 2014, 04:38:32 am
No it's not, I have a script that specifically picks the audio device called "Speakers". Of course JRiver also decided to install a device called "Speakers" and now my script picks the JRiver one instead of the other real first one that I wanted. I had to rename the JRiver "Speakers" to "JRiver Speakers" but of course a JRiver update re-installed a new version of the driver renaming it back.
I had a similar issue.
 
It would be nice if it could be named something like "JRiver Virtual Audio Device" by default, rather than "Speakers".
 
I didn't check last time, but it should also not configure itself as the default sound device when installed - which I believe is up to the driver, since some USB devices take over the default sound device when connected and others do not, for example.
Title: WDM Problems
Post by: Hendrik on November 03, 2014, 04:48:19 am
I didn't check last time, but it should also not configure itself as the default sound device when installed - which I believe is up to the driver, since some USB devices take over the default sound device when connected and others do not, for example.

It is not. Windows doesn't allow the driver to control this. It has its own logic to just randomly do this when it feels like it.
Title: WDM Problems
Post by: clipper on November 03, 2014, 03:15:11 pm
I don't know what changed in 20.0.30 but I'm now getting stuttering every time the track changes in the Tidal app.


I'm having the same issues with the WDM driver and Tidal. 

If someone figures this out I'd be appreciative.
Title: WDM Problems
Post by: JimH on November 04, 2014, 01:01:52 am
I'm having the same issues with the WDM driver and Tidal.  

If someone figures this out I'd be appreciative.
Please read the first post in this thread (http://yabb.jriver.com/interact/index.php?topic=92593.0).
Title: WDM Problems
Post by: clipper on November 04, 2014, 04:06:06 pm
I had already tried everything suggested in the first post (selection in sound control panel, new zone, various buffer settings).

Changing the audio device buffer settings got rid of the same type of stuttering and skips with music streamed from Spotify.  

But it didn't help with music streamed from Tidal.

Title: WDM Problems
Post by: natehansen66 on November 04, 2014, 06:10:12 pm
Could we get the option to set how long it takes to drop the stream? I know this was talked about earlier. I build speakers, and in process of doing so I take measurements......lots and lots of measurements. I use MC for eq/xo so it needs to be in the loop. It's a pain having the signal drop after 5 seconds. Then I have to take a "junk" measurement or run a tone generator to pick it back up. When I take a measurement then change eq I've lost the stream. Or if I hesitate a bit too long when taking polar data I lose it then too.
Title: WDM Problems
Post by: RoderickGI on November 04, 2014, 07:54:55 pm
I made an unconfirmed as yet observation about using the WDM driver, which may assist others in solving stuttering problems.

I wanted to use Airplay to mirror an iPad onto my HTPC and use MC's WDM and DSP including Room Correction to play the audio. So I installed "Air Server" on the HTPC to enable it as an Airplay receiver. The iPad was being used to play Plants vs Zombies 2, so the stream had lots of sound effects rather than a continuous stream like music.

The audio worked, but it was stuttering, or maybe "broken up" is a more correct description. Anyway, after lots of fiddling around, changing back and forth between the real device driver and the JRiver WDM I discovered that if I set Air Server to output to the "Speakers, JRiver Media Centre 20" I got bad audio, but if I set Air Server to output to the Default Windows audio driver the audio was fine. No issues at all. Of course the MC WDM was set as the default audio driver in Windows.

So for those having trouble with the WDM driver, if you are selecting it in your application, try setting the WDM Driver as the Windows default (as advised above) and selecting the Windows Default device in your application instead, if possible. This worked for me.
Title: WDM Problems
Post by: clipper on November 04, 2014, 10:50:46 pm
So for those having trouble with the WDM driver, if you are selecting it in your application, try setting the WDM Driver as the Windows default (as advised above) and selecting the Windows Default device in your application instead, if possible. This worked for me.

Thanks Roderick.

I wish that were possible to do in the Tidal app, but it's not (at least for me). 

My sound output choices (in the Tidal app) don't include a Windows default device.

Title: WDM Problems
Post by: JimH on November 05, 2014, 12:06:49 am
Changing the audio device buffer settings got rid of the same type of stuttering and skips with music streamed from Spotify. 

But it didn't help with music streamed from Tidal.
Tidal requires more bandwidth..
Title: WDM Problems
Post by: jodokus on November 05, 2014, 01:04:59 am
Fantastic guys, great option. I was waiting for this for a long time (used AsioLink until now)! Great!! For the people with latency problems, turn off UAC (really off) in Windows. This solved it for me. One question: is it possible to autostart MC with Windows minimized? 
Title: WDM Problems
Post by: 6233638 on November 05, 2014, 04:02:14 am
Tidal requires more bandwidth..
It's nothing to do with bandwidth. If I play directly to any of the other sound devices on my PC (including virtual ones) it sounds fine.
Going through the JRiver WDM driver results in this skipping/stuttering for the first few seconds of every track.
Title: WDM Problems
Post by: JimH on November 05, 2014, 04:12:36 am
Confirm that you have set the WDM driver as the default in Windows.
Title: WDM Problems
Post by: Matt on November 05, 2014, 09:27:28 am
Could we get the option to set how long it takes to drop the stream? I know this was talked about earlier. I build speakers, and in process of doing so I take measurements......lots and lots of measurements. I use MC for eq/xo so it needs to be in the loop. It's a pain having the signal drop after 5 seconds. Then I have to take a "junk" measurement or run a tone generator to pick it back up. When I take a measurement then change eq I've lost the stream. Or if I hesitate a bit too long when taking polar data I lose it then too.

We changed to 10 seconds of silence instead of 5 seconds.
Title: WDM Problems
Post by: lello on November 06, 2014, 01:09:25 am
Sorry, but it will be for my lack of knowledge of English, and Google does not translate well from English to Italian, but I did not understand one thing: how do I tell the WDM to use a separate sound card? By default it uses the integrated card.

I guess you have to create a new zone, but that rule must be set?

thanks
Title: WDM Problems
Post by: natehansen66 on November 06, 2014, 04:23:59 am
We changed to 10 seconds of silence instead of 5 seconds.

Ahh, cool. Any reason not to let the user define the value in the advanced options?
Title: WDM Problems
Post by: Matt on November 06, 2014, 10:28:32 am
Sorry, but it will be for my lack of knowledge of English, and Google does not translate well from English to Italian, but I did not understand one thing: how do I tell the WDM to use a separate sound card? By default it uses the integrated card.

I guess you have to create a new zone, but that rule must be set?

thanks

It uses whatever soundcard MC is configured to use.  You can configure MC in Options > Audio.
Title: WDM Problems
Post by: stewart_pk on November 06, 2014, 06:16:59 pm
Well I finally gave up and renamed my actual speakers from "Speakers" to something else because the WDM driver kept taking it's place, thanks JRiver  ;D
Title: WDM Problems
Post by: lello on November 07, 2014, 12:07:28 pm
It uses whatever soundcard MC is configured to use.  You can configure MC in Options > Audio.

I know, the problem is that if I go to Options> Audio and choose the driver JRiver media center 20, the sound will come out from the jack on the motherboard while I would like to come out from the sound card Asus Essence.

If I go to Window in the properties of the playback device, it says clearly that it is connected to the motherboard, how do I change this link?
Title: WDM Problems
Post by: mwillems on November 07, 2014, 12:11:13 pm
I know, the problem is that if I go to Options> Audio and choose the driver JRiver media center 20, the sound will come out from the jack on the motherboard while I would like to come out from the sound card Asus Essence.

If I go to Window in the properties of the playback device, it says clearly that it is connected to the motherboard, how do I change this link?

You have it backwards; you want the windows sound device to be the JRiver media center 20 device; in JRiver's Options > Audio you want to select the Asus Essence
Title: WDM Problems
Post by: gswaul on November 08, 2014, 03:51:08 pm
This is a great addition to MC and it works perfectly for me in 3 of 4 scenarios.

MC to Devialet via Ethernet, works.
Spotify to MC to Devialet via Ethernet, works.
MC to ADL Esprit via USB, works.
Spotify to MC to ADL Esprit, fails.

When I try to play Spotify to MC to ADL Esprit, I get constant stutters/dropouts.  I have tried changing buffer values and latency with no change at higher or lower values.  If I change the default playback device from JR to the ADL Esprit, the problem goes away.  It would be nice if all 4 options worked the same for me.  Any suggestions?

Thanks!
Title: WDM Problems
Post by: RoderickGI on November 08, 2014, 11:38:14 pm
Any suggestions?

If you are currently pointing Spotify to the MC WDM driver, try pointing it to the Default Windows sound driver instead. Of course, have the Default Windows sound driver set to the MC WDM driver.

So;
Spotify to Windows Default audio driver = MC WDM driver to ADL Esprit

instead of;
Spotify to MC WDM driver to ADL Esprit


This simple change, which should make no difference at all, worked for me in one scenario I have.
Title: WDM Problems
Post by: gswaul on November 09, 2014, 06:26:36 pm
How do I point Spotify to anything other than the default Windows driver?  I cannot find any option within Spotify to make your suggested change.  Can you expand on your details?

Thanks,
Title: WDM Problems
Post by: JimH on November 09, 2014, 06:28:23 pm
Please read the first post in this thread (http://yabb.jriver.com/interact/index.php?topic=92593.0).

You need the latest version of MC20 (build 41 or greater).  You then set Windows to use its new WDM driver.
Title: WDM Problems
Post by: RoderickGI on November 09, 2014, 09:46:15 pm
How do I point Spotify to anything other than the default Windows driver?  I cannot find any option within Spotify to make your suggested change.  Can you expand on your details?

Thanks,
Sorry I'm not a Spotify user, so I can't help with settings and so on. However, if there is no setting in Spotify for the audio output device, then it must be pointing to the Default Windows sound device anyway, so my suggestion wouldn't change anything.

I suspect that you have already read the first post as Jim suggested. If you wish to find out if Spotify always points to the Default Windows sound device or can be pointed directly to another sound device, you will need to contact Spotify support.

This may not be the cause of your stuttering though, so keep asking here for more Spotify user to chime in. Perhaps start a specific thread on the topic.

BTW, I assume you are using the Windows version of Spotify, and not running it on a iDevice and sending it to your HTPC?
Title: WDM Problems
Post by: gswaul on November 09, 2014, 10:19:37 pm
Read all the posts in this thread including the first.  Everything appears to be correct and is completely operational with this exception.  Spotify is coming through the WDM-USB connection with poor results.  Since it works for all other connections without any problem, I keep thinking that it is a setting somewhere???  I'll keep trying but can always change the default player when I am listening to Spotify at my desk.

Thanks for your help!  Maybe someone will have had this issue before and I just need to wait until they get back.
Title: WDM Problems
Post by: SpaceLaser on November 10, 2014, 08:39:25 am
I've been having some issues, where if I leave my PC idle (like leaving my work PC idle over the weekend), the JRiver audio device in Windows seems to disappear. The only way I can get it to come back appears to be restarting my PC. Is there any other workaround to get the device to reappear (manually reinstalling/loading the driver)?
Title: WDM Problems
Post by: Trumpetguy on November 10, 2014, 09:32:50 am
How do I point Spotify to anything other than the default Windows driver? 

You can't.
Title: WDM Problems
Post by: djwobbrock on November 11, 2014, 02:27:37 am
I have been running Tidal for the last 5 days, and I was getting stuttering using WDM driver through MC20.27.  The stuttering was in the first 5 seconds of every song.  I increased buffer size incrementally to test, from 100, to 250 and eventually 500, this lost the stuttering in the first 5 seconds, but I still had random blips throughout the track.  I had Tidal set to the MC20 WDM driver.  When I set Tidal to use the IFI HD USB ASIO driver, the playback is smooth throughout the track.  I have experimented with the for the last two days, and have resigned myself to using Tidal without any of the sound improvements that may be offered using MC20 w/WDM drivers.  Problem seems to have something to do with buffering through MC20.  
Title: WDM Problems
Post by: Fabith on November 11, 2014, 03:59:40 am
This is a great addition to MC and it works perfectly for me in 3 of 4 scenarios.

MC to Devialet via Ethernet, works.
Spotify to MC to Devialet via Ethernet, works.
MC to ADL Esprit via USB, works.
Spotify to MC to ADL Esprit, fails.

When I try to play Spotify to MC to ADL Esprit, I get constant stutters/dropouts.  I have tried changing buffer values and latency with no change at higher or lower values.  If I change the default playback device from JR to the ADL Esprit, the problem goes away.  It would be nice if all 4 options worked the same for me.  Any suggestions?

Thanks!
Try "Fidelizer"
Title: WDM Problems
Post by: JimH on November 11, 2014, 06:02:22 am
I have been running Tidal for the last 5 days, and I was getting stuttering using WDM driver through MC20.27.  The stuttering was in the first 5 seconds of every song.  I increased buffer size incrementally to test, from 100, to 250 and eventually 500, this lost the stuttering in the first 5 seconds, but I still had random blips throughout the track.  I had Tidal set to the MC20 WDM driver.  When I set Tidal to use the IFI HD USB ASIO driver, the playback is smooth throughout the track.  I have experimented with the for the last two days, and have resigned myself to using Tidal without any of the sound improvements that may be offered using MC20 w/WDM drivers.  Problem seems to have something to do with buffering through MC20.  
Did you try a very small buffer?

From the first post:
Quote
You may need to adjust the buffer size down in Options > Audio > Device settings.  I used 10ms.
Title: WDM Problems
Post by: Arindelle on November 11, 2014, 06:28:30 am
I mentioned on the Tidal thread I can't test it where I am, but Qobuz which I believe to be similiar (lossless streaming) has in its config panel  a buffer (tampon memoire if any frenchies are reading this). I have set this to a very low setting (64kb). If Tidal has the same setting try setting it to the lowest possible buffer if your internet connection can handle it.

Otherwise, what Jim is saying is what you want to do, even if it seems like you should go the other way around. I have set up three machines on one

All but one machine has both the audio device settings buffer and (under advanced) the latency are set below 50 milliseconds. I'd avoid the minimum hardware setting though. Remember to juggle both.

First I create a zone, call it streaming or whatever. Then I start first to set the device setting at 50 milliseconds and move the latency setting down gradually starting at 50ms. If it gets to 10, go to the buffer setting and decrease that gradually. Then do an audio/video sync to fine tune between the two parameters.

Also uncheck memory playback option in JRiver (can't help, could hurt) as these streams are stored in a cache anyways

If you are using multiple machines, remember that each macine will be different

EDIT -- hmm, maybe this is not the only problem ... see this post http://yabb.jriver.com/interact/index.php?topic=92913.0 (http://yabb.jriver.com/interact/index.php?topic=92913.0)
Title: WDM Problems
Post by: adlelare on November 11, 2014, 07:08:00 am
given this WDM disaster i strongly recommend that JRiver staff take the time and properly rewrite the correct instructions on how to use this thing.  after a lot of frustratingly wasted time i did the smart thing and keep the thing disabled.
Title: WDM Problems
Post by: djwobbrock on November 11, 2014, 07:31:51 am
Did you try a very small buffer?

From the first post:

I tried that the last couple of days, 50, 25 and 10, that causes stuttering/dropouts in the first 10 seconds of every track.  Then I started going the other way, 100. 250 and 500, but then I got stuttering/dropouts randomly throughout the track, this is with the MC20 WDM driver.  If I use the IFI HD Audio driver, I get smooth play, no stuttering/dropouts, so it looks like I can't use the MC20 WDM driver combination.  I've been all over the settings, restarting Tidal and MC20 each time settings were changed, to no avail.
Title: WDM Problems
Post by: 6233638 on November 11, 2014, 07:50:32 am
given this WDM disaster i strongly recommend that JRiver staff take the time and properly rewrite the correct instructions on how to use this thing.  after a lot of frustratingly wasted time i did the smart thing and keep the thing disabled.
I certainly wouldn't call it a disaster.

I would say that it has the same problem as most new features which is that they are not fully documented when released, may not be in a "final release" state on their initial release (though I'm not sure if it's on the "stable" branch yet?) and the program itself doesn't explain anything about them - it seems to be assumed that you're following the forums.
Title: WDM Problems
Post by: gswaul on November 11, 2014, 09:20:42 am
Sorry, I misspoke.  I just toggled the "disable event style" setting as you recommended and had those results.  So it seems there are a lot of us that are having similar problems with the WDM when using a streaming service to a local USB device?  I have gone up and down the buffer/latency scale with no improvement.  For now, I will just disable the WMD to listen to Spotify.  Maybe this problem will resolve itself with time and updates.  Three out of four isn't bad . . . .
Title: WDM Problems
Post by: JimH on November 11, 2014, 01:24:44 pm
Works with Amazon Prime Music (http://yabb.jriver.com/interact/index.php?topic=93279.0).
Title: WDM Problems
Post by: JimH on November 11, 2014, 02:01:30 pm
Build 37 may fix the problem with the driver being set to default by Windows.
http://yabb.jriver.com/interact/index.php?topic=93304.0
Title: WDM Problems
Post by: Paul W on November 11, 2014, 02:03:09 pm
Could we get the option to set how long it takes to drop the stream? I know this was talked about earlier. I build speakers, and in process of doing so I take measurements......lots and lots of measurements. I use MC for eq/xo so it needs to be in the loop. It's a pain having the signal drop after 5 seconds. Then I have to take a "junk" measurement or run a tone generator to pick it back up. When I take a measurement then change eq I've lost the stream. Or if I hesitate a bit too long when taking polar data I lose it then too.
I second this request for exactly the same reasons.  Either adjustable, or a check-box to turn it on and off would be dandy.
Title: WDM Problems
Post by: Matt on November 11, 2014, 02:18:47 pm
I second this request for exactly the same reasons.  Either adjustable, or a check-box to turn it on and off would be dandy.

Just in case you missed it earlier:
We changed to 10 seconds of silence instead of 5 seconds.

It's a little better for you, I hope.
Title: WDM Problems
Post by: Paul W on November 11, 2014, 02:46:33 pm
Yes, I did see that.  Adjustable or a switch would even better.  (don't want to fight my tools)
Title: WDM Problems
Post by: natehansen66 on November 12, 2014, 03:33:37 am
10 seconds still isn't enough for speaker design and many measurements. I tried it again last night and after dropping the stream many times switched back to HiFi Cable.
Title: WDM Problems
Post by: 6233638 on November 12, 2014, 05:26:09 am
+1 for making it a preference. Since it stutters every time it initializes, I'd want it to remain open for several minutes.
Title: WDM Problems
Post by: kalston on November 14, 2014, 06:31:54 am
+1 for making it a preference. Since it stutters every time it initializes, I'd want it to remain open for several minutes.

Same here! Would be really nice.
Title: WDM Problems
Post by: DoubtingThomas on November 15, 2014, 03:59:45 pm
I have no plans on using the WMD driver.  Is there any harm in letting it install anyway?  Is there a way to turn off the install?

The sound card I use for MC is not my default card and I don't want windows noises to ever come out of my audio system speakers.
Title: WDM Problems
Post by: JimH on November 15, 2014, 04:10:12 pm
I have no plans on using the WMD driver.  Is there any harm in letting it install anyway?  Is there a way to turn off the install?

The sound card I use for MC is not my default card and I don't want windows noises to ever come out of my audio system speakers.
From build 29:

The installer can be run from the command line with the /NoDriver switch to skip the driver install, but it does no harm to have it installed.
Title: WDM Problems
Post by: JimH on November 15, 2014, 04:17:29 pm
Split WASAPI Modes (http://yabb.jriver.com/interact/index.php?topic=93400.msg642730#msg642730)
Title: WDM Problems
Post by: berstuck on November 15, 2014, 04:52:59 pm
Not sure why you split my posts into the other thread.  The issue I have is unrelated to wasapi event style.  Toggling wasapi event style on and off has no affect on my problem.  The wdm driver works great when inputting directsound.  It crackles when inputting wasapi.  Not on all sources however.  Local files play fine.  Some streaming files crackle.  It is hit and miss what works and what doesn't.  Most files I've played from soundcloud crackle.  About half the youtube videos I've watched do not.  I'm done posting on the issue however.  If Matt eventually figures it out great, if not directsound works fine and is a good enough solution.
Title: WDM Problems
Post by: JimH on November 15, 2014, 05:17:11 pm
In audio options, did you try small buffer sizes?  10, 50, 100, for example.
Title: WDM Problems
Post by: berstuck on November 15, 2014, 05:25:52 pm
If you reread my posts I've tried every combination of buffer size.  Nothing changes the crackle problem with wasapi input into jriver.  Again I can use directsound.  If I feel the resampling is an issue for my local audio files I'll set jriver up as my audio player again.  Just trying to avoid it, as the biggest bonuses to this for me would be eq without windows resampling (can already use equalizer apo with directsound out)  and of course convolution, all while using xbmc.
Title: WDM Problems
Post by: JimH on November 15, 2014, 05:28:18 pm
If you reread my posts I've tried every combination of buffer size.
I'm sorry, but I don't re-read every post before I offer a suggestion.  I hope you understand why.

I can't imagine why you would get crackling on WASAPI but not DirectSound.

The most common reason for any sound problem with WASAPI is having the "Event Style" setting wrong for the DAC.

I don't think you're seeing a JRiver bug.
Title: WDM Problems
Post by: berstuck on November 15, 2014, 08:11:35 pm
I'm sorry, but I don't re-read every post before I offer a suggestion.  I hope you understand why.

I can't imagine why you would get crackling on WASAPI but not DirectSound.

The most common reason for any sound problem with WASAPI is having the "Event Style" setting wrong for the DAC.

I don't think you're seeing a JRiver bug.

What I'm seeing is 100% a bug with the JRiver audio driver.  I installed the new JRiver on my media server in the bedroom, and installed the latest version of Kodi.  Same exact issue with completely different hardware, only much worse.  Using wasapi in to JRiver caused my computer to blue screen.  For what it's worth, changing the latency and buffer settings to hardware minimum caused my other pc to blue screen even when using directsound in to JRiver.  This is a great feature, but it's essential in beta right now.
Title: WDM Problems
Post by: njoak on November 16, 2014, 05:37:10 am
I don't have any help to lend but, for what it's worth, berstuck is not alone in having trouble inputting WASAPI to the WDM driver. I posted a thread about noise and blue screen issues here: http://yabb.jriver.com/interact/index.php?topic=93044.0  

A couple people chimed in with similar issues in that thread, and I have seen comments about it in other threads as well.
Title: WDM Problems
Post by: JimH on November 16, 2014, 06:40:00 am
Are you using 20.0.37?
Title: WDM Problems
Post by: njoak on November 16, 2014, 07:13:42 am
No, 20.0.27. I'm on the stable update path.
Title: WDM Problems
Post by: mutato on November 16, 2014, 07:17:55 am
Like berstuck, I suffer from crackling sounds no matter what buffer size I set or whether event style is disabled or not. Using 20.0.37.
Title: WDM Problems
Post by: JimH on November 16, 2014, 09:28:29 am
No, 20.0.27. I'm on the stable update path.
Try the build from the top of this board.
Title: WDM Problems
Post by: njoak on November 16, 2014, 11:37:39 am
Try the build from the top of this board.

Jim,

I tried 20.0.37 now but I'm afraid the problems with white noise and BSOD when inputting WASAPI into the WDM driver are exactly the same. I can replicate the problems 100% of the time.

On a separate but also unfortunate note, I cannot configure the .37 WDM driver to more than 2 channels (the configure option is greyed out in the settings for playback devices), so I guess I have to revert to .27... The icon for the JRiver playback device is now two RCA plugs instead of a speaker, if it helps.
Title: WDM Problems
Post by: JimH on November 16, 2014, 12:20:59 pm
I tried 20.0.37 now but I'm afraid the problems with white noise and BSOD when inputting WASAPI into the WDM driver are exactly the same.
Please explain exactly what you mean by "inputting WASAPI...".
Title: WDM Problems
Post by: njoak on November 16, 2014, 12:30:41 pm
Please explain exactly what you mean by "inputting WASAPI...".

I mean playing media in some Windows application (other than JRiver), using WASAPI as opposed to Directsound for the audio, and using the new JRiver WDM driver as the audio device in Windows system (or the media application) settings.

I got the impression in some threads that the issue is confused with routing audio FROM JRiver to a sound card or DAC using WASAPI, which is not the case.



Title: WDM Problems
Post by: AoXoMoXoA on November 17, 2014, 07:32:38 pm
MC did it again . .  . WDM set itself as default driver upon install of the update in spite of it having been set as DISABLED in my system.
Title: WDM Problems
Post by: Awesome Donkey on November 17, 2014, 08:11:17 pm
The installer can be run from the command line with the /NoDriver switch to skip the driver install, but it does no harm to have it installed.

When you do this, do you have to use /NoDriver every time you update MC20? Or does it remember that the driver was not installed and thus won't attempt installing it when updating?
Title: WDM Problems
Post by: SpaceLaser on November 19, 2014, 06:29:07 pm
Had some really weird behavior today. Was in the middle of playing a game using the WDM driver, but then my IPC auido completely died and deafening static starting going full blast. I redirected my Windows audio output directly to my soundcard instead of JRiver, and audio was fine. Any idea what nuked the WDM driver here?
Title: WDM Problems
Post by: natehansen66 on November 20, 2014, 08:26:21 am
Had some really weird behavior today. Was in the middle of playing a game using the WDM driver, but then my IPC auido completely died and deafening static starting going full blast. I redirected my Windows audio output directly to my soundcard instead of JRiver, and audio was fine. Any idea what nuked the WDM driver here?

That happened to me once a couple builds ago.
Title: WDM Problems
Post by: SpaceLaser on November 20, 2014, 03:04:16 pm
That happened to me once a couple builds ago.

I ended up rebooting and it seems to work now. I'm on the Latest branch if that helps.
Title: WDM Problems
Post by: natehansen66 on November 20, 2014, 04:08:52 pm
Ahh, cool. Any reason not to let the user define the value in the advanced options?

Any thoughts from the MC team on this, wrt keeping the wdm stream open?
Title: WDM Problems
Post by: ldoodle on November 21, 2014, 02:22:47 am
Is this restricted to 2 channel stereo?  Just installed the latest version of MC 20 to play with this and watching LEGO Marvel Super Heroes on Amazon Instant my AVR is showing Stereo.

But that might be because the stream from Amazon only contains 2 channel stereo.  Will try a film and see what's what.

Just tried Riddick as well and that's showing Stereo too...
Title: WDM Problems
Post by: ldoodle on November 21, 2014, 03:21:43 am
Hmmm. Watching Brave DVD which I know is 5.1 but it's showing as Stereo.....

EDIT: Ha ha, what an idiot. Brave default soundtrack is 2.0!!
Title: WDM Problems
Post by: 6233638 on November 21, 2014, 11:25:18 am
It changed a few versions ago. The driver is stereo-only right now.
Title: Re: WDM Problems
Post by: ldoodle on November 21, 2014, 03:14:29 pm
Ah OK. That's cool, just wanted to make sure it wasn't something wrong my end.
Title: Re: WDM Problems
Post by: Stevr on November 22, 2014, 04:05:54 pm
The new driver does not work on my system. No sound whatsoever unless I disable the driver and go back to original Realtek drivers.
Title: Re: WDM Problems
Post by: JimH on November 22, 2014, 05:52:58 pm
The new driver does not work on my system. No sound whatsoever unless I disable the driver and go back to original Realtek drivers.
Are you running MC or Media Server?  It's required if you're using WDM as the Windows default driver.
Title: Re: WDM Problems
Post by: dbdog on November 23, 2014, 04:27:30 pm
WDM routed spotify and chrome audio through MC fine. My problem is that it deleted everything I had in my "playing now" list everytime I play sounds from another program. Is there an easy way to route other audio traffic through another zone or something to stop me from losing my play list each time?

thanks
dbdog
Title: Re: WDM Problems
Post by: mwillems on November 23, 2014, 05:29:09 pm
WDM routed spotify and chrome audio through MC fine. My problem is that it deleted everything I had in my "playing now" list everytime I play sounds from another program. Is there an easy way to route other audio traffic through another zone or something to stop me from losing my play list each time?

thanks
dbdog

Yes.  You need to setup a second zone for the WDM driver input and setup a zoneswitch rule to route the audio to that zone.  Check out the instructions in this thread: http://yabb.jriver.com/interact/index.php?topic=93043.0

The method described over there is designed to deal with issues related to streaming video, but the zone setup described should solve your problem too.
Title: Re: WDM Problems
Post by: bwa on November 24, 2014, 02:53:33 am
Waiting for the Record button ... :P
Title: Re: WDM Problems
Post by: borges on November 24, 2014, 07:13:54 am
On my system the WDM works very well for some sample rates but not with outhers. Let me know if I can help debug this.

System: Player is JRMC17, DAC is www.henryaudio.com in USB Audio Class 2 ASIO mode, OS is Win7-64. Source: wav files converted to the 6 classical sample rates (44.1 up through 192) by JRMC17 or 18.

The DAC and source material work very well with MC in normal operation. With 20.0.41's WDM I'm OK with 44.1, 88.2 and 176.4ksps, but get silence with 48, 96 and 192.

Setting the protocol to WASAPI event style in the player, the DAC (operating through WDM and ASIO driver) is correctly set up to use those three sample rates. With WASAPI (not event style) I get an unreliable playback. With Direct sound I also get audio on 44.1, 88.2 and 176.4ksps material, but now everything is resampled to 44.1. With DS I also get silence on 48, 96 and 192.

I kind of expected DS to resample all 6 rates to the default sample rate set by the OS, and both kinds of WASAPI to forwared the source material 1:1 without sample rate conversion.


Best,
Børge
Title: Re: WDM Problems
Post by: luckyaua on November 24, 2014, 10:43:33 am
this is my problem:
i've always used xbmc like frontend for movie and jriver like external player for view the movie selected on xbmc (xbmc not support ASIO).
with new wdm driver yesterday i've try to tell to xbmc to output on audio driver WASAPI JRiver WDM driver, actually the jriver wdm driver isn't default windows driver because i want to output audio of windows on tv (hdmi).

Whit this setup when i launch a movie inside xbmc the video starting and the audio output correctly through jriver on my ASIO card (Ipc play) but the audio glitch and if i try to change an options during play i take a good WINDOWS BLUE SCREEN!!!

practically i want to use a jriver wdm driver like bridge between wdm and asio (for app like xbmc that not support asio) and apply all dsp to output asio device.

Why?
Title: Re: WDM Problems
Post by: dbdog on November 24, 2014, 11:53:22 pm
Yes.  You need to setup a second zone for the WDM driver input and setup a zoneswitch rule to route the audio to that zone.  Check out the instructions in this thread: http://yabb.jriver.com/interact/index.php?topic=93043.0

The method described over there is designed to deal with issues related to streaming video, but the zone setup described should solve your problem too.

Thanks for trying to help. As usual when I fiddle with technical stuff, it didn't work for me. I don't have time or skills to trouble shoot this.
Title: Re: WDM Problems
Post by: JimH on November 25, 2014, 06:41:36 am
If you don't want WDM, turn it off in Windows Control Panel Sounds.  Then install from the command line, adding /NODRIVER after the name of the install file.
Title: Re: WDM Problems
Post by: JimH on November 26, 2014, 12:22:57 pm
Please use this thread for problems: http://yabb.jriver.com/interact/index.php?topic=93720.msg646166#msg646166