moomin1465 / cmediadrivers

Automatically exported from code.google.com/p/cmediadrivers
0 stars 0 forks source link

SPDIF passthru not working with VLC media player #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install CMIDriver-1.1.9-bin-x86
2. install VLC media player 0.8.6f
3. play video file with ac3/dts sound

What is the expected output? 
multichannel ac3/dts output via spdif passthru to yamaha receiver

What happens instead?
sound stuttering.. receiver switching between modes..

What version of the driver are you using?
CMIDriver-1.1.9 x86 

On what operating system?
WinXP  
What version of the operationg system are you using (32 or 64 bit)?
32bit

What ports of the soundcard are affected by the bug (e.g. SPDIF, Mic-In)?
SPDIF out

Please provide any additional information below.
Drivers are working very well indeed with powerdvd in SPDIF passthru 
mode(while original terratec 5.1 drivers would NOT work in SPDIF passthru 
mode..)

VLC media player works well in passthru mode with my M-audio transit USB 
external soundcard so VLC media player CAN work well with spdif passthru..

I just can't get VLC media player to work properly in combination with the 
cmedia drivers and a terratec 5.1 card...

Original issue reported on code.google.com by sim.kran...@gmail.com on 17 Apr 2008 at 9:17

GoogleCodeExporter commented 9 years ago
I know that there's supposed to be a bug in VLC media player with SPDIF 
passthru but 
it IS working with my M-audio transit USB external sound card...

Original comment by sim.kran...@gmail.com on 17 Apr 2008 at 9:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
this bug appears on almost every PCI soundcard / AC97/HDA codec. My guess is 
that 
the resolution of the position in a sound stream which is currently being 
played is 
too coarse in regular DMA engines, and that causes sound-resyncs and 
consequently 
the stuttering in vlc, or it might be an issue with the PortClass (WaveCyclic/
WavePCI/WaveRT) driver model - iirc usb soundcards usually have AVStream 
drivers.
Media Player Classic, PowerDVD, WinDVD, ffdshow, AC3Filter and lots of other  
software which supports passthrough is not affected by this and I haven't 
bothered 
installing the toolchain for vlc in order to take a look at its runtime 
behaviour, 
so don't expect a fix or workaround anytime soon, but I'll keep the issue open 
for 
now.

Original comment by dogb...@gmail.com on 19 Apr 2008 at 8:45

GoogleCodeExporter commented 9 years ago
the current -git version of vlc fixes the bug if you set the "Output Type" to 
WaveOut instead of DirectX: http://nightlies.videolan.org/ - after reviewing 
the 
code responsible for the timing, I've concluded that the issue can't be fixed 
in the 
driver, hence I'll close it.

Original comment by dogb...@gmail.com on 20 Apr 2008 at 4:25

GoogleCodeExporter commented 9 years ago
dogber1,

Thanks for looking!

I hope the bugfix in the -git version of vlc will reach to normal release 
version 
soon...

Original comment by sim.kran...@gmail.com on 22 Apr 2008 at 7:27