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

  man pages->IRIX man pages -> movie/mvGetAudioWidth (3d)              
Title
Content
Arch
Section
 

s(3dm)

Contents


mvGetAudioWidth(3dm)					  mvGetAudioWidth(3dm)


NAME    [Toc]    [Back]

     mvGetAudioWidth, mvGetAudioRate, mvGetAudioChannels, mvGetAudioFormat,
     mvGetAudioCompression, - get and set the parameters of a an audio track

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/moviefile.h>


     int mvGetAudioWidth( MVid audioTrack )
     double mvGetAudioRate( MVid audioTrack )
     int mvGetAudioChannels( MVid audioTrack )
     DMaudioformat mvGetAudioFormat( MVid audioTrack )
     const char* mvGetAudioCompression(	MVid audioTrack	)

DESCRIPTION    [Toc]    [Back]

     All of the	data accessed by these functions can also be accessed using
     mvGetParamsmvGetAudioWidth returns the number	of bits	used to	store each audio
     sample.  The movie	library	supports 8-bit and 16-bit audio	samples.

     mvGetAudioRate returns the	number of samples per second.

     mvGetAudioChannels	returns	the number of audio channels, 1	for mono and 2
     for stereo.

     mvGetAudioFormat returns the format used to store each sample:  either
     DM_AUDIO_TWOS_COMPLEMENT or DM_AUDIO_UNSIGNED.

     mvGetAudioCompression returns the compression scheme used for the audio
     data in this track.  Since	movies do not support audio compression, the
     only valid	value is DM_AUDIO_UNCOMPRESSED.	 The strings returned are
     owned by the movie	library	and must not be	freed.	If an application
     needs to keep the returned	string,	it should be copied.

     These "get" functions have	no indication of error return.	The movie
     library guarantees	that all audio tracks have all of these	parameters
     defined.

SEE ALSO    [Toc]    [Back]

      
      
     mvIntro(3dm), mvCreate(3dm), mvOpen(3dm), mvAddTrack(3dm),
     mvOptimize(3dm), mvGetErrno(3dm).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
AFinitcompression IRIX configure the audio compression type and parameters in an AFfilesetup structure for an audio track
afSetConversionParams IRIX set/get the parameters associated with format conversion for a specified audio track via dmParams
AFgetcompression IRIX get the compression type and parameters for an audio track from an AFfilehandle structure
AFgetchannels IRIX get the number of interleaved track / virtual channels from an AFfilehandle structure for an audio track
afGetFrameSize IRIX get the track / virtual frame size in bytes for a specified audio track from an AFfilehandle structure
afGetPCMMapping IRIX get the track / virtual PCM mapping values for a specified audio track from an AFfilehandle structure
AFgetrate IRIX get the track/virtual sample rate for a specified audio track from an AFfilehandle structure
AFgetsampfmt IRIX get the track / virtual sample format or byte order for a specified audio track from an AFfilehandle structure
afInitFormatParams IRIX initialize the audio data format in an AFfilesetup for a specified audio track via dmParams
afSetVirtualFormatParams IRIX set/get the virtual audio data format in an AFfilehandle for a specified audio track via dmParams
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service