dmPMSetAudioCallback man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



dmPMSetAudioCallback(3dm)			     dmPMSetAudioCallback(3dm)

NAME
     dmPMSetAudioCallback, dmPMSetVideoCallback - sets the audio and video
     callbacks

SYNOPSIS
     #include <dmedia/fx_plugin_mgr.h>

     DMstatus dmPMSetAudioCallback
	   ( DMeffect* effect,
	     DMaudiocallback audioCallback,
	     void * clientData )

     DMstatus dmPMSetVideoCallback
	   ( DMeffect* effect,
	     DMvideocallback videoCallback,
	     void * clientData )

PARAMETERS
     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
     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
     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
     dmPMCreateManager(3dm), dmPMCreateEffect(3dm), dmGetError(3dm).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net