Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | AudioFormat/AudioSink: Use float in seconds for duration to avoid losing ↵ | Sven Gothel | 2023-05-21 | 1 | -18/+28 |
| | | | | precision when dealing with stats, averages etc | ||||
* | AudioSink: Add getAvgFrameDuration(); API-Doc: Default*: 'frame' -> ↵ | Sven Gothel | 2023-05-21 | 1 | -1/+3 |
| | | | | | | | | | | | | | | AudioFrame; init(): Use getAvgFrameDuration() for queue growth and limit. This change renders buffer dequeueing, growth and limit sticking w/ [ms] values while getAvgFrameDuration() assists frame count determination. getAvgFrameDuration() is calculated when buffer is fully filled (queuedBytes / queuedFrames), i.e. a proper representation to be used to dequeue in duration range as well as for growth. This further decouples the frameDuration{->Hint} parameter in init(), as it is now only used for the initial buffer count (and latency adjustment). | ||||
* | Add AudioSink.getSourceCount(), refine Audio* API doc | Sven Gothel | 2023-05-20 | 1 | -9/+11 |
| | |||||
* | AudioFormat: Fix rounding/int-truncate errors, all millisecond params use ↵ | Sven Gothel | 2023-05-19 | 1 | -7/+7 |
| | | | | type int | ||||
* | Place AudioFormat in its own file outside AudioSink, JOAL's ALAudioSink has ↵ | Sven Gothel | 2023-05-18 | 1 | -0/+179 |
moved to com.jogamp.openal.util.ALAudioSink (public) |