@@ -236,31 +236,36 @@ msgid ""
236236"the following compression types are supported: ``b'NONE'``, ``b'ULAW'``, "
237237"``b'ALAW'``, ``b'G722'``."
238238msgstr ""
239+ "指明压缩类型。 如果未指明,则音频数据将不会被压缩。 在 AIFF 文件中,压缩是无法实现的。 name "
240+ "参数应当为以字节数组表示的人类可读的压缩类型描述,type 参数应当为长度为 4 的字节数组。 目前支持的压缩类型如下: ``b'NONE'``, "
241+ "``b'ULAW'``, ``b'ALAW'``, ``b'G722'``。"
239242
240243#: ../../library/aifc.rst:199
241244msgid ""
242245"Set all the above parameters at once. The argument is a tuple consisting of"
243246" the various parameters. This means that it is possible to use the result "
244247"of a :meth:`getparams` call as argument to :meth:`setparams`."
245248msgstr ""
249+ "一次性设置上述所有参数。 该参数是由多个形参组成的元组。 这意味着可以使用 :meth:`getparams` 调用的结果作为 "
250+ ":meth:`setparams` 的参数。"
246251
247252#: ../../library/aifc.rst:206
248253msgid ""
249254"Add a mark with the given id (larger than 0), and the given name at the "
250255"given position. This method can be called at any time before :meth:`close`."
251- msgstr ""
256+ msgstr "添加具有给定 id (大于 0),以及在给定位置上给定名称的标记。 此方法可在 :meth:`close` 之前的任何时候被调用。 "
252257
253258#: ../../library/aifc.rst:213
254259msgid ""
255260"Return the current write position in the output file. Useful in combination"
256261" with :meth:`setmark`."
257- msgstr ""
262+ msgstr "返回输出文件中的当前写入位置。 适用于与 :meth:`setmark` 进行协同配合。 "
258263
259264#: ../../library/aifc.rst:219
260265msgid ""
261266"Write data to the output file. This method can only be called after the "
262267"audio file parameters have been set."
263- msgstr ""
268+ msgstr "将数据写入到输出文件。 此方法只能在设置了音频文件形参之后被调用。 "
264269
265270#: ../../library/aifc.rst:222 ../../library/aifc.rst:231
266271msgid "Any :term:`bytes-like object` is now accepted."
@@ -270,11 +275,11 @@ msgstr "现在可接受任意 :term:`bytes-like object`。"
270275msgid ""
271276"Like :meth:`writeframes`, except that the header of the audio file is not "
272277"updated."
273- msgstr ""
278+ msgstr "类似于 :meth:`writeframes`,不同之处在于音频文件的标头不会被更新。 "
274279
275280#: ../../library/aifc.rst:238
276281msgid ""
277282"Close the AIFF file. The header of the file is updated to reflect the "
278283"actual size of the audio data. After calling this method, the object can no "
279284"longer be used."
280- msgstr ""
285+ msgstr "关闭 AIFF 文件。 文件的标头会被更新以反映音频数据的实际大小。 在调用此方法之后,对象将无法再被使用。 "
0 commit comments