[root]/src/net/java/sip/communicator/impl/neomedia/portaudio/streams

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 29 (100.0%) | 901 (100.0%) | 31.0 |
| lubomir_m | 13 (44.8%) | 506 (56.2%) | 38.9 |
| damencho | 11 (37.9%) | 268 (29.7%) | 24.3 |
| wernerd | 5 (17.2%) | 127 (14.1%) | 25.4 |
(1) Tries to convert PortAudio to support wideband. (2) Fixes a failure of the JNI Speex decoder to continue decoding. (3) Fixes an integer overflow in the JNI Speex encoder.
0 lines of code changed in:
Fix a thread blocking problem.
First use notifyAll instead of just notify to wakeup other threads. Also
use a timed wait as a workarounf of a (yet) unknown behaviour of
synhcronized/notifyAll: sometimes the waiting thread is not notified
and waits forever. Use a 100ms timed wait overcomes this problem.
TODO: check and clarify this behaviour.
9 lines of code changed in:
Fixes a possible problem in the PortAudio capture which could be left locked if an exception is thrown while reading from it.
85 lines of code changed in:
Implement finer synchronization granularity for portaudio streams
Use dedicated syncronization object in InputStream and MasterStream to
implement a synchronization policy with finer granularity. This
speeds up processing if SC uses several InputStream, for example several
calls that are not on hold.
82 lines of code changed in:
Implement Buffer data re-use for portaudio capture device.
If the Buffer has a pre-allocated data area then check if portaudio can re-use it. Only if this
is not possible then allocate a buffer and set it in Buffer. This reduces usage of dynamic
memory allocation and thus garbage collection.
36 lines of code changed in:
Cleans up a tiny bit a few PortAudio-related classes, adds/fixes some Javadocs and reports the time stamp of the audio data closer to its capturing. Anyway, there should be nothing noticeable at runtime.
207 lines of code changed in:
Change the order of closing first the capturer than the player when closing calls.
17 lines of code changed in:
Optimizes the playback of audio when using PortAudio (i.e. the Renderer and when playing back notification sounds). The main optimization is the reduced copies of the audio samples which used to be at least 3 in the best case and now there is 1 in the best case and 3 in the worst case. On my Ubuntu Karmic desktop, I see audio interruptions being brought down from often to rare. The binaries for 32- and 64-bit Linux and 32-bit Windows are kindly prepared by Damian Minkov. There is no binary for 64-bit Windows.
109 lines of code changed in:
Move portaudio specific settings from DeviceConfiguration to PortAudioAuto, and leave stopping only to portaudio slave streams.
30 lines of code changed in:
Fix delay on closing portaudio DataSource. If portaudio binary is missing this prevents loading neomedia service, its now fixed.
37 lines of code changed in:
Synchronize inputstream read and outputstream close to avoid segfaults. Add Werner xrun patch for xrun problems in linked portaudio.
88 lines of code changed in:
Uses Pa_StopStream(). Adds some synchronization here and there in PortAudio.
59 lines of code changed in:
Update portaudio for macosx.
4 lines of code changed in:
Does not allow unattended modifications to the private state of the PortAudio CaptureDevice.
46 lines of code changed in:
Second big move of packages. Created jmfext in order to keep jmf requirenment for package name of Datasources ("media.protocol.....") and separate portaudio classes in neomedia.portaudio package.
92 lines of code changed in: