Page 1 of 1

Problem setting the channel audio

Posted: 30 Apr 2009 17:48
by tzviyaw
Hello,

I'm using the vlc activeX plug-in version 0.9 (for Windows) and each time I'm trying to set the audio channel the program get stuck.

when I'm trying to get the audio channel it returns the current channel but I can't change it.

This is my code for setting the channel is:

Code: Select all

function doAudioChannel(value) { var vlc = getVLC("vlc"); if( vlc ) vlc.audio.channel = parseInt(value); }
Can anyone give me any idea why it does'nt work?

Thanks

Re: Problem setting the channel audio

Posted: 01 May 2009 02:51
by Anatoly_B
If the input (file or streem) support specified audio mode, all work fine.
If the value vlc.audio.channel does not change after setting, hence the file don't contain required channels for set selected mode. (for example, attempt to set vlc.audio.channel=5 ("dolby") for simple stereo)

The only known problem - an attempt to set vlc.audio.channel=2 for an input with mono-sound often hangs the browser...

Re: Problem setting the channel audio

Posted: 01 Jul 2009 15:08
by donpoon
I experence the same firefox hanging problem with both 0.9.9a and 0.9.8a version of vlc mozilla plugin.

I "alert" the vlc.audio.channel and it shows up as 1.
Firefox hangs even if I set it back to 1 by doing:
vlc.audio.channel = parseInt("1");

Does anyone get it working?

Re: Problem setting the channel audio

Posted: 01 Jul 2009 21:26
by donpoon
A quick update.
The above test works after upgrading to vlc 1.0.0 rc4

Windows XP Pro SP3 with updates
Firefox 2.0.0.20
vlc mozilla plugin 1.0.0 rc4

Looking forward to the final release of 1.0.0.
Thx vlc team!