<br><br><div class="gmail_quote">On Fri, Mar 20, 2009 at 8:09 PM, Kaarlo Räihä <span dir="ltr"><<a href="mailto:agent_007@luukku.com">agent_007@luukku.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Assim Deodia kirjoitti 20.03.2009 kello 10:29:<br>
<div class="im">> Hi All,<br>
><br>
> I making a panning module for VLC as my final year project. I am having<br>
> following doubts regarding VLC audio handling.<br>
><br>
> 1) In aout_filter_sys_t: I can see int's for every channel (i.e. i_left,<br>
> i_right etc) but not for LFE. does VLC handle in different way? I tried<br>
> adding i_lfe to the structure and also to output buffer, and played<br>
>  a 6ch<br>
> file. Still there was no sound in lfe. I have attached the code<br>
>  which i was<br>
> testing.<br>
><br>
> 2) I wish to determine the number of channel my system support. I<br>
>  have a 5.1<br>
> system but<br>
> aout_FormatNbChannels( &p_filter->output ) was giving the number of<br>
>  channel<br>
> in file. Nor the values p_filter->input.i_physical_channels,<br>
> p_filter->input.i_original_channels,<br>
>  p_filter->output.i_physical_channels,<br>
> p_filter->output.i_original_channels are corresponding to number of<br>
> channels.<br>
><br>
<br>
</div>output.i_physical_channels should be set by audio output module. So results might vary if you for example try both DirectSound and Waveout outputs (APIs aren't same nor the device driver stuff).<br>
<div class="im"></div></blockquote><div><br>So how do i determine number of channels supported? Can i manually set the number of output channels in output.i_physical_channels? </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im"><br>
> 3) I need to do is to upmix a stream manually to the max supported<br>
>  channel.<br>
> Vista seems to do it atomically but i produce a 6ch stream from a 2ch<br>
> stream?<br>
><br>
<br>
</div>IIRC upmixing is done by device drivers. So it shouldn't be automatic from OS side.<br>
<div class="im"><br>
> Looking forward to hear soon.<br>
><br>
> --<br>
> Regards<br>
> Assim<br>
<br>
<br>
</div>...................................................................<br>
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.<br>
Hanki Luukku Plus ja helpotat elämääsi. <a href="http://www.mtv3.fi/luukku" target="_blank">http://www.mtv3.fi/luukku</a><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Assim Deodia | <a href="http://nsitonline.in/assim">http://nsitonline.in/assim</a> <br>Undergraduate Student, Netaji Shubhas Institute of Technology<br>