On 4/19/08, fluke.l <[EMAIL PROTECTED]> wrote:
>
> I want to add directsound support in audio.c
>
> how to enable this file in compile time?
>
> if i add this lines:
> #ifdef CONFIG_DSOUND_DEMUXER
> AVInputFormat dsound_demuxer = {
> "dsound",
> "dsound audio grab and output",
> sizeof(AudioData),
> NULL,
> audio_read_header,
> audio_read_packet,
> audio_read_close,
> .flags = AVFMT_NOFILE,
> };
> #endif
>
> Can I enable this file by ./configure --enable dsound_demuxer?
>
Now I find the solution. just resigter the device in
libavdevices/alldevices.c :-)
--
Yours,
fluke
[EMAIL PROTECTED]
http://algo-field.com
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user