1 |
MODULE = PDL::Audio PACKAGE = PDL::Audio |
2 |
|
3 |
# additional XS parts for PDL::Audio |
4 |
|
5 |
int |
6 |
initialize_sndlib () |
7 |
|
8 |
int |
9 |
sound_samples(arg) |
10 |
char * arg |
11 |
|
12 |
int |
13 |
sound_frames (arg) |
14 |
char * arg |
15 |
|
16 |
float |
17 |
sound_duration (arg) |
18 |
char * arg |
19 |
|
20 |
int |
21 |
sound_datum_size (arg) |
22 |
char * arg |
23 |
|
24 |
int |
25 |
sound_data_location (arg) |
26 |
char * arg |
27 |
|
28 |
int |
29 |
sound_chans (arg) |
30 |
char * arg |
31 |
|
32 |
int |
33 |
sound_srate (arg) |
34 |
char * arg |
35 |
|
36 |
int |
37 |
sound_header_type (arg) |
38 |
char * arg |
39 |
|
40 |
int |
41 |
sound_data_format (arg) |
42 |
char * arg |
43 |
|
44 |
int |
45 |
sound_original_format (arg) |
46 |
char * arg |
47 |
|
48 |
char * |
49 |
sound_comment (arg) |
50 |
char * arg |
51 |
|
52 |
int |
53 |
sound_comment_start (arg) |
54 |
char * arg |
55 |
|
56 |
int |
57 |
sound_comment_end (arg) |
58 |
char * arg |
59 |
|
60 |
int |
61 |
sound_length (arg) |
62 |
char * arg |
63 |
|
64 |
int |
65 |
sound_fact_samples (arg) |
66 |
char * arg |
67 |
|
68 |
int |
69 |
sound_distributed (arg) |
70 |
char * arg |
71 |
|
72 |
int |
73 |
sound_write_date (arg) |
74 |
char * arg |
75 |
|
76 |
int |
77 |
sound_type_specifier (arg) |
78 |
char * arg |
79 |
|
80 |
int |
81 |
sound_align (arg) |
82 |
char * arg |
83 |
|
84 |
int |
85 |
sound_bits_per_sample(arg) |
86 |
char * arg |
87 |
|
88 |
int |
89 |
sound_aiff_p(arg) |
90 |
char * arg |
91 |
|
92 |
int |
93 |
sound_bytes_per_sample(format) |
94 |
int format |
95 |
|
96 |
#int |
97 |
#sound_max_amp(arg, vals) |
98 |
# char * arg |
99 |
# int * vals |
100 |
|
101 |
char * |
102 |
sound_type_name(type) |
103 |
int type |
104 |
|
105 |
char * |
106 |
sound_format_name(format) |
107 |
int format |
108 |
|
109 |
|
110 |
int |
111 |
open_sound_input (path) |
112 |
char * path |
113 |
|
114 |
int |
115 |
open_sound_output (path, srate, chans, format, filetype, comment) |
116 |
char * path |
117 |
int srate |
118 |
int chans |
119 |
int format |
120 |
int filetype |
121 |
char * comment |
122 |
|
123 |
int |
124 |
close_sound_input (fd) |
125 |
int fd |
126 |
|
127 |
int |
128 |
close_sound_output (fd, bytes_of_data) |
129 |
int fd |
130 |
int bytes_of_data |
131 |
|
132 |
void |
133 |
mus_set_raw_header_defaults (srate, chans, format) |
134 |
int srate |
135 |
int chans |
136 |
int format |
137 |
|
138 |
int |
139 |
mus_format2bytes (format) |
140 |
int format |
141 |
|
142 |
int |
143 |
mus_samples2bytes (format, size) |
144 |
int format |
145 |
int size |
146 |
|
147 |
int |
148 |
mus_bytes2samples (format, size) |
149 |
int format |
150 |
int size |
151 |
|
152 |
#int |
153 |
#read_sound (fd, beg, end, chans, int fd, int beg, int end, int chans, int **bufs) |
154 |
# |
155 |
#int |
156 |
#write_sound (int fd, int beg, int end, int chans, int **bufs) |
157 |
|
158 |
char * |
159 |
audio_error_name (err) |
160 |
int err |
161 |
|
162 |
int |
163 |
audio_error () |
164 |
|
165 |
# MUS MODULE |
166 |
|
167 |
#void |
168 |
#init_mus_module () |
169 |
|
170 |
|
171 |
|