[gst-devel] a question about directsound plugin

Michal Benes michal.benes at itonis.tv
Fri Jun 23 09:52:04 CEST 2006


Hi Woo,

	Than you for pointing at this. The boilerplate code is obviously
completely wrong the correct is
GST_BOILERPLATE_FULL (GstDirectSoundSink, gst_directsoundsink,
GstAudioSink, GST_TYPE_AUDIO_SINK, _do_init);

because GstDirectSoundSink inherits GstAudioSink

The code on our page is is really outdated. The current version of
DirectX sinks resides now in gst-plugins-bad package. I will add a big
fat warning to our web.

	Michal



woo john píše v Pá 23. 06. 2006 v 01:53 +0000:
> hi
> Ii succeeded to build directsound plugin in VS6 after modifying few codes.
>   The original code is dependent on directx 9. But VS6 only supports 
> directx7. I update some   including files and library files under VS6 
> directory to directx version 8 since this version is supported on my 
> computer. Then I can build the code successfully.After that,I try to run an 
> test application.
> The VS6 report an stack overflow error when loading the plugin.
>   I am not clear where is someting wrong. But i have doubt about following 
> peice of code.
> 
> -----------------------------
> GST_BOILERPLATE_FULL (GstDirectSoundSink, gst_directsoundsink, GstElement,
>     GST_TYPE_DIRECTSOUND_SINK, _do_init);
> -----------------------------
> 
> GST_TYPE_DIRECTSOUND_SINK should be for parent class type which is 
> GstElement. So I replace
> GST_TYPE_DIRECTSOUND_SINK with GST_TYPE_ELEMENT.But the same error still 
> happen.
> 
>   Please give me some heko.
> 
> thank in advance.
> 
> woo
> 
> 





More information about the gstreamer-devel mailing list