forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanswer-record.lcdoc
More file actions
70 lines (52 loc) · 2.33 KB
/
answer-record.lcdoc
File metadata and controls
70 lines (52 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Name: answer record
Type: command
Syntax: answer record
Summary:
Displays the <QuickTime> sound-recording settings <dialog box>.
Introduced: 2.0
Deprecated:
8.1
OS: mac
Platforms: desktop
Security: privacy
Example:
answer record
Example:
if the alreadyHaveSettings of this card is false then answer record
The result:
If the user cancels the dialog, the result <function> <return|returns>
"Cancel", and the recording-related <properties> are unchanged. If the
dontUseQT <property> is set to true, the <answer record> <command>
cannot be used, and the <result> <return|returns>
"could not initialize quicktime".
Description:
Use the <answer record> <command> to specify settings for use with the
<record sound> <command>.
The <answer record> <command> displays a <dialog box> where the user can
select a sound compression format, rate, sampling rate, and whether to
record in mono or stereo. Depending on the compression format, other
options may also be offered. (This <dialog box> is displayed by
<QuickTime>, not by LiveCode.) The settings the user chooses will be
used the next time the <record sound> <command> is used.
The <answer record> <command> sets the <recordCompression>,
<recordRate>, <recordSampleSize>, and <recordChannels> <properties> in
accordance with the settings chosen in the <dialog box>. To save the
settings you choose in the <dialog box> and use them later without
re-displaying the <dialog box|dialog>, save the values of these
<properties>, then restore them when you want to record sound.
Changes:
The use of <QuickTime> was deprecated in version 8.1 of LiveCode with
new defaults for <dontUseQT> and <dontUseQTEffects> as true on all
systems apart from pre OS X 10.8. The Windows build of LiveCode no
longer supports any <QuickTime> features and setting the <dontUseQT> and
<dontUseQTEffects> will have no effect. Additionally <QuickTime> does
not include 64 bit support and therefore can not be supported on OS X 64
bit builds of LiveCode.
References: answer effect (command), record sound (command),
function (control structure), result (function),
recordCompressionTypes (function), property (glossary),
dialog box (glossary), command (glossary), QuickTime (glossary),
return (glossary), recordCompression (property),
recordSampleSize (property), recordChannels (property),
properties (property), recordRate (property)
Tags: multimedia