5.13 Buering of Audio Data
5.13 Buering of Audio Data
This section describes how the
formation may be useful in some interactive applications where it is important to
control latencies when sound les are played back. It may also be necessary to
modify the buer settings to avoid underrun errors when transferring audio les
across a network.
DAT-Link
The
contains an internal buer of approximately 2 Mbytes that is used to
buer audio data sent from the host computer. This buering is necessary to allow
the host computer to be used by multiple users and tasks without creating gaps
in the playback. It does, however, occasionally create some delays and unexpected
behavior.
When the host computer begins sending audio data to the NetAudio server for
DAT-Link
playback, the
audio outputs. It instead stores the data in its internal buer. Playback does not
actually commence until one of the following situations occur:
1. Enough data for one second of playback has been transferred. The amount
of buering may be changed by using the
Section 5.14.
2. The host computer nishes sending the audio data.
Once playback begins, the host computer must continue to send audio data to the
DAT-Link
suciently quickly to keep the buer from becoming empty. If the buer
drains completely before the host computer is nished playing back a le, an error
is returned and playback is stopped. Gaps will never be inserted into the playback.
The buer utilization can be monitored by the
Section 10.2.
The main eect of the buering on
0.5 seconds between the time the
begins. The actual delay time depends on the speed of the host computer, the SCSI
bus transfer speed, and the network load if the
remote machine.
For applications where ner control over the buering is required, custom programs
can be written using the subroutine library described in Section 12 and Appendix
G.
5.14 Customizing the Conguration
Many of the command line options, as well as additional options can be specied in
.datlinkrc
the users
le in their home directory. The format of this le is described
DAT-Link
buers audio data internally. This in-
does not immediately begin sending the data to its digital
nastatus
is that there is a delay of approximately
naplay
command is issued and when sound output
naplay
option described in
bufferTime
command described in
command is issued on a
naplay
59
Need help?
Do you have a question about the DAT-Link and is the answer not in the manual?