Problem setting the channel audio

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
tzviyaw
New Cone
New Cone
Posts: 2
Joined: 30 Apr 2009 17:34

Problem setting the channel audio

Postby tzviyaw » 30 Apr 2009 17:48

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

Anatoly_B
Blank Cone
Blank Cone
Posts: 14
Joined: 20 Aug 2008 03:30

Re: Problem setting the channel audio

Postby Anatoly_B » 01 May 2009 02:51

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...

donpoon
New Cone
New Cone
Posts: 3
Joined: 01 Jul 2009 14:54

Re: Problem setting the channel audio

Postby donpoon » 01 Jul 2009 15:08

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?

donpoon
New Cone
New Cone
Posts: 3
Joined: 01 Jul 2009 14:54

Re: Problem setting the channel audio

Postby donpoon » 01 Jul 2009 21:26

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!


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests