Setting the Audio Capture and Render Buffer Size
|
|
Problem
To set the audio capture and render buffer sizes . Smaller
buffer sizes will reduce latency but will have a tendency for more
severe audio breakup. These are parameters that need to be experimented
with on different systems.
Solution
AudioBufferControl is obtained from the DataSource and the Player.
The one from the DataSource sets the capture buffer size and
the one from the Player sets the render buffer size.
|
|
| Requirements |
|
| Platform: |
JDK 1.1.6 or later |
| JMF API: |
2.0 or later |
| Implementation: |
AJ, WPP, SPP * |
* AJ = All Java, WPP = Windows Performance Pack, SPP =
Solaris Performance Pack |
|