Ticket #6587

"14.1 audioop -- 生のオーディオデータの操作"の誤訳
Eröffnet am: 2005-08-31 01:14 Letztes Update: 2005-09-07 13:59

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine

Details

やや不明瞭な文章を見つけました。

(原文)
If you use the ADPCM coder to build network packets and
you want your protocol to be stateless (i.e. to be able
to tolerate packet loss) you should not only transmit
the data but also the state. Note that you should send
the initial state (the one you passed to lin2adpcm())
along to the decoder, not the final state (as returned
by the coder).

(現状)
もしネットワークパケットを構築してADPCMフォーマットを
使って、プロトコールの説明なしにしたいなら(つまりパ
ケットの損失を我慢できるなら)、データだけでなくstateも
送信するべきです。注意してほしいのは、(コーダーによっ
て返される)最後のstateでなく、initialのstate
(lin2adpcm()に渡す引数)をコーダーに渡すことです。

(参考訳)
もしADPCMコーダを使って(パケットロスに耐えるために)
statelessなネットワークプロトコルを作りたいなら、データ
だけではなく、stateも送る必要があります。デコーダに送る
のは、初期state(lin2adpcm()に渡す値)であって、最終state
(lin2adpcm()が返す値)ではないことに注意してください。


---
老婆心ながら付け加えると、statelessなプロトコルとは、あ
るメッセージ(パケット)が文脈(以前のメッセージ)に依
存しないプロトコルのことです。
つまり、パケットに差分のデータを送るだけでは以前のデー
タが必要になる(文脈依存になる)ので、stateをつけること
でパケットひとつで完結するようにしましょう、ということ
です。

Ticket-Verlauf (2/2 Historien)

2005-09-01 01:25 Aktualisiert von: ymasuda
  • Summary Updated
  • Verantwortlicher Update from (Keine) to ymasuda
2005-09-07 13:59 Aktualisiert von: ymasuda
  • Ticket Close date is changed to 2005-09-07 13:59
  • Lösung Update from Keine to Gefixt
  • Status Update from Offen to Geschlossen
Kommentar
Logged In: YES
user_id=1454

修正し,全体的に訳文を見直しました.
ご指摘ありがとうございました.

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden