SoundCreate man page on DragonFly

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

SoundCreate(3)							SoundCreate(3)

Name
       SoundCreate - create a description of an audio file.

Synopsis
       #include <audio/audiolib.h>

       Sound  SoundCreate(file_format,	data_format,  num_tracks, sample_rate,
       num_samples, comment)
	   int file_format;
	   int data_format;
	   int num_tracks;
	   int sample_rate;
	   int num_samples;
	   char *comment;

Arguments
       file_format
		 Specifies the format of the audio file.  Currently, the  fol‐
		 lowing file formats are supported: SoundFileFormatSnd, Sound‐
		 FileFormatVoc, SoundFileFormatWave, SoundFileFormatAiff,  and
		 SoundFileFormatSvx.

       data_format
		 Specifies  the format of the audio data.  Currently, the fol‐
		 lowing formats are defined: AuFormatULAW8,  AuFormatLinearUn‐
		 signed8,   AuFormatLinearSigned8,  AuFormatLinearSigned16MSB,
		 AuFormatLinearUnsigned16MSB,  AuFormatSignedLinear16LSB,  and
		 AuFormatLinearUnsigned16LSB.

       num_tracks
		 Specifies the number of tracks in the audio data.

       sample_rate
		 Specifies the sample rate of the audio data.

       num_samples
		 Specifies the number of samples in the audio data.

       comment

Description
       SoundCreate creates a SoundRec structure, initializes it with the spec‐
       ified values and returns a Sound (a pointer to the SoundRec  structure)
       or NULL if there was an error.

See Also
       SoundCloseFile, SoundOpenFileForReading, SoundOpenFileWriting,

       audiolib - Network Audio System C Language Interface

				     1.9.4			SoundCreate(3)
[top]

List of man pages available for DragonFly

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