~ubuntu-branches/debian/squeeze/nas/squeeze

« back to all changes in this revision

Viewing changes to doc/html/SoundCreate.3.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2008-10-08 01:18:19 UTC
  • mfrom: (4.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081008011819-wmr4h2w0298k8t7z
Tags: 1.9.1-5
* Fix pending l10n issues. Debconf translations:
* Swedish. Closes: #491766 (thanks to brother@bsnet.se)
* Arabic. Closes: #500437 (thanks to Ossama Khayat)
* Basque. Closes: #500533 (thanks to Piarres Beobide)
* Brazilian Portuguese. Closes: #500973 (thanks to Felipe
  Augusto van de Wiel)
* Many thanks again to Christian Perrier for his i18n efforts,
  co-ordinating the above.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<!--
 
3
  $NCDId: @(#)SoCreate.man,v 1.1 1994/09/27 00:37:59 greg Exp $
 
4
   copyright 1994 Steven King
 
5
   
 
6
   portions are
 
7
   * Copyright 1993 Network Computing Devices, Inc.
 
8
   *
 
9
   * Permission to use, copy, modify, distribute, and sell this software and its
 
10
   * documentation for any purpose is hereby granted without fee, provided that
 
11
   * the above copyright notice appear in all copies and that both that
 
12
   * copyright notice and this permission notice appear in supporting
 
13
   * documentation, and that the name Network Computing Devices, Inc. not be
 
14
   * used in advertising or publicity pertaining to distribution of this
 
15
   * software without specific, written prior permission.
 
16
   * 
 
17
   * THIS SOFTWARE IS PROVIDED 'AS-IS'.  NETWORK COMPUTING DEVICES, INC.,
 
18
   * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT
 
19
   * LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 
20
   * PARTICULAR PURPOSE, OR NONINFRINGEMENT.  IN NO EVENT SHALL NETWORK
 
21
   * COMPUTING DEVICES, INC., BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING
 
22
   * SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA,
 
23
   * OR PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF
 
24
   * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN
 
25
   * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
26
   
 
27
   $Id: SoundCreate.3.html 243 2007-04-07 23:13:43Z jon $
 
28
 
 
29
-->
 
30
<!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
 
31
<!-- available at http://polyglotman.sourceforge.net/ -->
 
32
 
 
33
<html>
 
34
<head>
 
35
<title>SoundCreate(3) manual page</title>
 
36
</head>
 
37
<body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
 
38
<a href='#toc'>Table of Contents</a><p>
 
39
 
 
40
<h2><a name='sect0' href='#toc0'><b>Name</b></a></h2>
 
41
<b>SoundCreate</b> - create a description of an audio
 
42
file. 
 
43
<h2><a name='sect1' href='#toc1'><b>Synopsis</b></a></h2>
 
44
#include &lt;audio/audiolib.h&gt; <p>
 
45
<b>Sound</b> <b>SoundCreate</b>(<i>file_format</i>, <i>data_format</i>,
 
46
<i>num_tracks</i>, <i>sample_rate</i>, <i>num_samples</i>, <i>comment</i>) <br>
 
47
    int <i>file_format</i>;<br>
 
48
 <br>
 
49
    int <i>data_format</i>;<br>
 
50
 <br>
 
51
    int <i>num_tracks</i>;<br>
 
52
 <br>
 
53
    int <i>sample_rate</i>;<br>
 
54
 <br>
 
55
    int <i>num_samples</i>;<br>
 
56
 <br>
 
57
    char *<i>comment</i>;<br>
 
58
 
 
59
<h2><a name='sect2' href='#toc2'><b>Arguments</b></a></h2>
 
60
 
 
61
<dl>
 
62
 
 
63
<dt><i>file_format</i></dt>
 
64
<dd>Specifies the format of the audio file. Currently,
 
65
the following file formats are supported: <b>SoundFileFormatSnd</b>, <b>SoundFileFormatVoc</b>,
 
66
<b>SoundFileFormatWave</b>, <b>SoundFileFormatAiff</b>, and <b>SoundFileFormatSvx</b>. </dd>
 
67
 
 
68
<dt><i>data_format</i></dt>
 
69
<dd>Specifies
 
70
the format of the audio data. Currently, the following formats are defined:
 
71
<b>AuFormatULAW8</b>, <b>AuFormatLinearUnsigned8</b>, <b>AuFormatLinearSigned8</b>, <b>AuFormatLinearSigned16MSB</b>,
 
72
<b>AuFormatLinearUnsigned16MSB</b>, <b>AuFormatSignedLinear16LSB</b>, and <b>AuFormatLinearUnsigned16LSB</b>.
 
73
</dd>
 
74
 
 
75
<dt><i>num_tracks</i></dt>
 
76
<dd>Specifies the number of tracks in the audio data. </dd>
 
77
 
 
78
<dt><i>sample_rate</i></dt>
 
79
<dd>Specifies
 
80
the sample rate of the audio data. </dd>
 
81
 
 
82
<dt><i>num_samples</i></dt>
 
83
<dd>Specifies the number of samples
 
84
in the audio data. </dd>
 
85
 
 
86
<dt><i>comment</i></dt>
 
87
<dd></dd>
 
88
</dl>
 
89
 
 
90
<h2><a name='sect3' href='#toc3'><b>Description</b></a></h2>
 
91
<b>SoundCreate</b> creates a <b>SoundRec</b> structure,
 
92
initializes it with the specified values and returns a <b>Sound</b> (a pointer
 
93
to the <b>SoundRec</b> structure) or NULL if there was an error. 
 
94
<h2><a name='sect4' href='#toc4'><b>See Also</b></a></h2>
 
95
<b>SoundCloseFile</b>,
 
96
<b>SoundOpenFileForReading</b>, <b>SoundOpenFileWriting</b>, <p>
 
97
audiolib - <b>Network Audio
 
98
System</b> C Language Interface <p>
 
99
 
 
100
<hr><p>
 
101
<a name='toc'><b>Table of Contents</b></a><p>
 
102
<ul>
 
103
<li><a name='toc0' href='#sect0'>Name</a></li>
 
104
<li><a name='toc1' href='#sect1'>Synopsis</a></li>
 
105
<li><a name='toc2' href='#sect2'>Arguments</a></li>
 
106
<li><a name='toc3' href='#sect3'>Description</a></li>
 
107
<li><a name='toc4' href='#sect4'>See Also</a></li>
 
108
</ul>
 
109
</body>
 
110
</html>