*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> fx/dmPMSetAudioCallback (3d)              
Title
Content
Arch
Section
 

Contents


dmPMSetAudioCallback(3dm)			     dmPMSetAudioCallback(3dm)


NAME    [Toc]    [Back]

     dmPMSetAudioCallback, dmPMSetVideoCallback	- sets the audio and video
     callbacks

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/fx_plugin_mgr.h>

     DMstatus dmPMSetAudioCallback    [Toc]    [Back]
	   ( DMeffect* effect,
	     DMaudiocallback audioCallback,
	     void * clientData )

     DMstatus dmPMSetVideoCallback    [Toc]    [Back]
	   ( DMeffect* effect,
	     DMvideocallback videoCallback,
	     void * clientData )

PARAMETERS    [Toc]    [Back]

     effect	     A pointer to a DMeffect, which was	returned from
		     dmPMCreateEffect.

     audioCallback   A callback	for a DMeffect,	defined	as follows:

		     DMstatus DMaudiocallback(
			 void *clientData,
			 int firstByte,
			 int size,
			 unsigned char *samples);


     videoCallback   A callback	for a DMeffect,	defined	as follows:

		     DMstatus DMvideocallback(
			 void *clientData,
			 int frame,
			 DMplugintrack track,	 /*	DM_TRACK_A or DM_TRACK_B */
			 int width,
			 int height,
			 int rowBytes,
			 unsigned char *data);


     clientData	     The clientData gets passed	into the callback; can be
		     NULL.

DESCRIPTION    [Toc]    [Back]

     Your application should supply a callback to obtain different audio
     samples or	video frames when a plugin requests it.	 dmPMSetAudioCallback
     sets up a callback	for the	specified audio	effect.



									Page 1






dmPMSetAudioCallback(3dm)			     dmPMSetAudioCallback(3dm)



     dmPMSetVideoCallback sets up a callback for the specified video effect.


RETURN VALUES    [Toc]    [Back]

     dmPMSetAudioCallback will return DM_SUCCESS if successful,	or will	return
     DM_FAILURE	if it fails.  dmPMSetVideoCallback will	return DM_SUCCESS if
     successful, or will return	DM_FAILURE if it fails.

SEE ALSO    [Toc]    [Back]

      
      
     dmPMCreateManager(3dm), dmPMCreateEffect(3dm), dmGetError(3dm).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
clOpenMux IRIX Multiplex video and audio streams
clOpenDemux IRIX Demultiplex into video and audio streams
clOpenCompressor IRIX Compress a video or audio stream
clOpenDecompressor IRIX Decompress a video or audio stream
avplayback IRIX playback uncompressed video and audio in synchronization
CLintro IRIX A library for working with compressed video and audio data
avcapture IRIX capture and synchronization tool for uncompressed video and audio
dmPMSetupVideoFilter IRIX sets up, executes, and cleanups video filters
dmPMSetupVideoTransition IRIX sets up, executes, and cleanups video transitions
vintovout IRIX Video Library video output from video input tool
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service