Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-15 | hook: separate spa_callbacks from the hook | Wim Taymans | 20 | -61/+66 | |
Make a spa_callbacks with just the functions and data and use this in the hook and objects. | |||||
2019-05-15 | hooks: use hook to implement the callbacks | Wim Taymans | 21 | -89/+108 | |
This way we get the version check implemented and save some code. | |||||
2019-05-15 | a2dp: cleanups | Wim Taymans | 2 | -116/+211 | |
2019-05-14 | a2dp: add events and implementation | Wim Taymans | 4 | -35/+142 | |
Use hooks for the implementation of the transport Add events to the transport Handle the destroy event of the transport to release the reference in source and sink. | |||||
2019-05-14 | audioconvert: improve debug | Wim Taymans | 2 | -2/+4 | |
2019-05-14 | hook: add option to call hook with return value | Wim Taymans | 1 | -4/+13 | |
2019-05-14 | bluez5: add a2dp-source plugin | Julian Bouzas | 4 | -12/+1189 | |
2019-05-10 | fmtconvert: fix format enumeration | Wim Taymans | 1 | -30/+45 | |
Rework the format enumeration so that it also return the other rate/channels, even when using a canonical format. | |||||
2019-05-10 | Fix cleanup | Wim Taymans | 2 | -2/+3 | |
2019-05-09 | fmtconvert: fix format enumeration | Wim Taymans | 1 | -25/+25 | |
Even if the other pad is already negotiated, we can convert all formats to F32. | |||||
2019-05-09 | pod: remove type check, it causes errors | Wim Taymans | 1 | -2/+2 | |
2019-04-30 | v4l2: add camera media.role | Wim Taymans | 2 | -1/+1 | |
2019-04-30 | audioconvert: fix native variable rate resampler | Wim Taymans | 3 | -13/+16 | |
2019-04-29 | alsa: improve capture slave resync | Wim Taymans | 2 | -31/+46 | |
When we underrun, send out a buffer of 0 samples and catch up next time. Detect discont in the master and resync. | |||||
2019-04-26 | alsa: improve capture resync | Wim Taymans | 1 | -19/+26 | |
Make sure we capture enough data even when the ringbuffer wraps around. Use the clock nsec to get timing, we don't need to get the new time. Improve sync in capture. | |||||
2019-04-25 | alsa: handle quantum changes | Wim Taymans | 2 | -10/+19 | |
2019-04-25 | splitter: disable passthrough in more cases | Wim Taymans | 1 | -3/+5 | |
Also disable passthrough when we first negotiate output format/buffers and passthrough is not possible because the output buffer does not have the dynamic data flag set.. | |||||
2019-04-25 | alsa: improve clock slaving for source | Wim Taymans | 3 | -21/+26 | |
2019-04-24 | alsa: handle master/slave changes | Wim Taymans | 4 | -29/+65 | |
2019-04-24 | a2dp: handle slaving | Wim Taymans | 1 | -41/+110 | |
2019-04-24 | alsa: small cleanup | Wim Taymans | 1 | -2/+0 | |
2019-04-23 | audioconvert: improve resampler | Wim Taymans | 7 | -38/+93 | |
Also emit port info the the merger monitor ports. Proxy params and buffers to the right monitor ports. fmtconvert does not always have dsp ports Increase resampler output buffer sizes so that we can up and downsample. Fix little off by one in native resampler. Fix passthrough in speex resampler. | |||||
2019-04-23 | alsa: improve rate control | Wim Taymans | 2 | -108/+82 | |
Try to match the delay with the target delay. Use the rate to adjust the timeout period for master or the resampler rate for slaves. | |||||
2019-04-23 | ringbuffer: use spa_memcpy so we can debug it better | Wim Taymans | 1 | -4/+4 | |
2019-04-11 | alsa: rework source a little in the case of slave | Wim Taymans | 4 | -95/+119 | |
When we are slaved, read as much data as we have available and return this from process. | |||||
2019-04-10 | make bitfields unsigned | Wim Taymans | 11 | -20/+20 | |
Remove driver property from client-node of client-stream. | |||||
2019-04-10 | v4l2: map all jpeg formats to video/mjpeg | Wim Taymans | 3 | -5/+6 | |
2019-04-10 | audioconvert: unroll some loop | Wim Taymans | 1 | -11/+23 | |
2019-04-02 | spa: install pod/vararg.h | George Kiagiadakis | 1 | -0/+1 | |
2019-04-02 | resample: return the number of consumed samples | Wim Taymans | 4 | -10/+18 | |
We need to return the number of consumed samples, even when we don't start from the first sample in the buffer. Add some more logging. | |||||
2019-04-02 | alsa: write as much as we can | Wim Taymans | 1 | -1/+1 | |
Always write as much data as we can and don't stop when we written up to the threshold. | |||||
2019-03-29 | channelmix: do passthrough if identity | Wim Taymans | 1 | -2/+5 | |
2019-03-29 | audioconvert: pass state to functions | Wim Taymans | 17 | -686/+953 | |
Pass some state to convert and channelmix functions. This makes it possible to select per channel optimized convert functions but also makes it possible to implement noise shaping later. Pass the channelmix matrix and volume in the state. Handle specialized 2 channel s16 -> f32 conversion | |||||
2019-03-29 | resample-native: small tweaks | Wim Taymans | 2 | -33/+23 | |
2019-03-28 | audioconvert: compile c version separately | Wim Taymans | 14 | -1257/+1473 | |
Also compile the c versions in a separate module with their own flags. | |||||
2019-03-28 | bench: add avx resampler to benchmark | Wim Taymans | 2 | -4/+19 | |
2019-03-28 | audioconvert: add avx optimizations | Wim Taymans | 9 | -45/+172 | |
2019-03-28 | audioconvert: improve benchmark | Wim Taymans | 8 | -101/+350 | |
Also include the simd versions in the benchmark Fix some issues found by new test | |||||
2019-03-27 | audioconvert: handle more optimizations | Wim Taymans | 11 | -141/+261 | |
Compile an optimized library for the given CPU with the right flags, then link it with the main library. | |||||
2019-03-27 | resample-native: optimize equal input and output sample rates | Wim Taymans | 3 | -9/+43 | |
2019-03-27 | resample-native: cleanups | Wim Taymans | 3 | -44/+74 | |
Add some comments, reorganize for better readability More alignment of filter and history Add some more test | |||||
2019-03-26 | resample-native: implement variable rate | Wim Taymans | 2 | -40/+61 | |
2019-03-26 | fmt-ops: use faster f32 -> s32 conversion | Wim Taymans | 4 | -42/+41 | |
2019-03-26 | audioconvert: add simple and faster resampler | Wim Taymans | 10 | -7/+720 | |
Add a sinc based resampler that, unlike speex, avoids memcpy and works directly on the source data. It also allows for ssse3 optimizations and aligned loads. It will later switch to table interpolation when doing variable rate. | |||||
2019-03-22 | resample: Let the resampler object handle all channels | Wim Taymans | 5 | -63/+96 | |
Move the code to loop over all channels in the resampler itself. This is better because the resampler can reuse its state for each channel. | |||||
2019-03-21 | Add FASTPATH trace log | Wim Taymans | 10 | -43/+54 | |
Add a trace_fp that can be optimized away when FASTPATH is defined. | |||||
2019-03-21 | audioconvert: mark ports and buffers as DYNAMIC | Wim Taymans | 7 | -32/+67 | |
Only passthrough buffer data when the buffer and ports are marked as DYNAMIC. Use extra buffer for nodes that keep a ref on buffers (resample). | |||||
2019-03-21 | buffer: add DYNAMIC data flag | Wim Taymans | 2 | -3/+9 | |
Add a flag to mark when a buffer data pointer can change. Improve docs for port flags | |||||
2019-03-20 | audioconvert: implement passthrough | Wim Taymans | 9 | -167/+247 | |
Add some const and SPA_RESTRICT to methods When the input and output is the same, work in passthrough mode where we simply copy place the input pointer onto the output buffer without doing a memcpy. Do memcpy when the resampler is not active. | |||||
2019-03-20 | utils: add debugable spa_memcpy | Wim Taymans | 5 | -14/+25 | |