[MPlayer-dev-eng] sh_audio types...
Anders Johansson
ajh at watri.uwa.edu.au
Fri Sep 20 03:04:10 CEST 2002
Hi,
The new audio filter layer will automatically insert a conversion
filter if your filter doesn't support the current format. To request a
specific format edit the af_data_t->format variable during the
AF_CONTROL_REINIT call in your config function. For example of how
this is done see af_resample.c on line 216. The best format to request
is AFMT_S16_LE which is the default format in all other audio filters.
Cheers,
//Anders
> Hello,
>
> I trying to develop a filter using the Anders new API.
> It gives me the sh_audio->a_buffer, what type is it? where it is
> defined?
>
> Thanks,
>
> Gustavo
>
> _______________________________________________________________________
> Yahoo! GeoCities
> Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
> http://br.geocities.yahoo.com/
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
--
______________________________________________________________________
Anders Johansson Room G09B WATRI University of .-_|\
Visiting Research Associate Western Australia / \
telephone: +61 8 9380 8125 39 Stirling Highway P_.-._/
e-mail: ajh at watri.uwa.edu.au Crawley WA 6009 o
______________________________________________________________________
More information about the MPlayer-dev-eng
mailing list