Wim Taymans
7cd55c2c6b
fix switch fallthrough cases
2019-01-07 15:11:34 +01:00
Wim Taymans
9573b24e52
cpu: add force cpu flags
...
Use PIPEWIRE_CPU to force cpu flags.
2019-01-07 15:02:18 +01:00
Wim Taymans
2c4bffec74
fmt-ops: small optimizations
2019-01-07 13:49:52 +01:00
Wim Taymans
2a252abf50
fmt-ops: small optimization
2019-01-03 11:36:44 +01:00
Wim Taymans
0e91276a03
fmt-ops: SSE functions were really SSE2
...
The SSE functions used integer operations and were really SSE2 so
rename.
Optimize some more.
2018-12-20 16:11:25 +01:00
Wim Taymans
d2bcbdf9cf
resample: fix unrolled counter
2018-12-20 12:01:45 +01:00
Wim Taymans
0984096089
free() can handle NULL just fine so skip the check
...
Fixes #117
2018-12-19 17:47:25 +01:00
Wim Taymans
b6db6e2130
channelmix: add quad and 3.1 to mono optimisation
2018-12-19 16:49:29 +01:00
Wim Taymans
00d1488c07
channelmix: handle mono like Front Center
2018-12-19 16:49:00 +01:00
Wim Taymans
0a4ef3d2c0
resample: add SSE peaks resampler
2018-12-19 16:47:20 +01:00
Tanu Kaskinen
e7a8c29063
bluez5: remove an unused variable
...
This gets rid of a compiler warning.
2018-12-18 13:54:17 +00:00
Wim Taymans
7104df1b21
cpu: detect MMXEXT as well
2018-12-17 13:37:27 +01:00
Wim Taymans
4dfe1011a6
audioconvert: use cpu detection interface
2018-12-17 13:26:54 +01:00
Wim Taymans
9ca9fda253
cpu: add cpu support implementation
2018-12-17 13:25:27 +01:00
Wim Taymans
5025aa97e6
audioconvert: fix x86 feature defines
2018-12-17 10:20:18 +01:00
Wim Taymans
52368091e3
v4l2: actually pass the device path to the node
2018-12-17 10:16:06 +01:00
Wim Taymans
a331779a28
resample-peaks: fix peaks resampler
...
Keep separate variable to check if we searched a complete chunk.
2018-12-13 16:23:02 +01:00
Wim Taymans
08a63ded5d
audioconvert: pass samples to convert functions
...
Pass the number of samples to convert functions instead of number of
bytes because it is much more useful.
2018-12-13 12:02:47 +01:00
Wim Taymans
2fd8f0906f
alsa: set stride to frame size
2018-12-12 15:13:36 +01:00
Wim Taymans
4606d46621
channelmix: add more MONO mappings
...
Also just warn when we can't assign a channel
2018-12-11 16:53:53 +01:00
Wim Taymans
02585c6ca9
merger: add monitor ports
...
Add an option to enable monitor ports. Use this in the audio dsp
to expose monitor ports on the audio dsp nodes.
2018-12-11 16:35:40 +01:00
Wim Taymans
c42b108ac8
resample: small optimization
2018-12-10 12:58:10 +01:00
Wim Taymans
74c71e9bad
resample: only free resampler when implemented
2018-12-05 16:05:40 +01:00
Wim Taymans
11a3370f12
merger: add some more debug
2018-12-05 15:59:22 +01:00
Wim Taymans
5fa7e0f3eb
resample: add peaks resampler
2018-12-05 15:58:55 +01:00
Wim Taymans
e7462c470e
channelmix: handle more conversion to mono
2018-12-05 15:54:07 +01:00
Wim Taymans
bf1c927087
alsa: reset queued and free buffers on start
...
When we are out of buffers, drop the available samples.
2018-12-05 11:23:30 +01:00
Wim Taymans
4e7af5644b
alsa: set period size to something larger
...
Setting a small period size will also result in a small buffer, on some
cards smaller than what we can deal with right now.
2018-12-03 15:56:53 +01:00
Wim Taymans
d6836d89ee
alsa: stop try writing samples when no progress
2018-11-30 17:52:48 +01:00
Wim Taymans
c5f5f1d94b
alsa-device: remember current profile
2018-11-30 17:52:23 +01:00
Wim Taymans
bf344a86e5
alsa: add on and off profiles
2018-11-29 15:24:13 +01:00
Wim Taymans
354bb042e2
alsa: retry _avail after xrun
...
..or else we pretend all is fine and end up with no available samples
to read in an infinite loop.
2018-11-29 15:19:33 +01:00
Wim Taymans
7c54b4b89c
audio-dsp: improve properties
2018-11-28 13:24:33 +01:00
Wim Taymans
0c9dc75cb3
alsa: cleanup
2018-11-28 12:27:17 +01:00
Wim Taymans
59d77818d6
device: improve properties and info
2018-11-28 12:21:58 +01:00
Wim Taymans
72dee1686d
alsa: clean up device info
2018-11-28 11:14:28 +01:00
Wim Taymans
bf43b55d16
bluez: check for bluez deps
2018-11-27 17:19:32 +01:00
Wim Taymans
249a12ee69
bluez: work on the bluez device
...
Add HSP and HFP profiles
Wait for profiles to connect before exposing the device
Implement SCO and RFCOMM connection handling
2018-11-27 17:08:36 +01:00
Wim Taymans
90571c2f52
audiotestsrc: fix build
2018-11-26 13:27:35 +01:00
Wim Taymans
7bc9c1ebfe
node: remove info from node interface
...
Replace with info event emited when callbacks are set. This makes it
easier to implement dynamic changes.
2018-11-26 12:41:40 +01:00
Wim Taymans
57e94f7bc4
monitor: remove enum_items
...
Make the monitor and device emit the info and items when the callbacks
are set. This makes it easier to implement the monitor because there
is much less state to keep around and invalidate etc.
Rework the monitors
Add bluez5 device
2018-11-26 12:18:53 +01:00
Wim Taymans
36cbb947f1
alsa: add media.class to device
2018-11-23 19:28:47 +01:00
Wim Taymans
3ae39180ca
improve monitors
2018-11-23 19:14:47 +01:00
Wim Taymans
e23c209a5f
alsa: implement monitor and device
2018-11-23 17:41:39 +01:00
Wim Taymans
e1bd12e599
device: add device object
...
Make a device object, let the v4l2 monitor create device objects
The device object is responsible for dynamically creating nodes.
2018-11-23 12:43:47 +01:00
Wim Taymans
37c13eb83f
fmt: fix offsets
2018-11-21 16:58:27 +01:00
Wim Taymans
6ee3a6003e
channelmix: optimize some more
2018-11-21 16:45:31 +01:00
Wim Taymans
c8aa1f38df
bluez5: negotiate AAC if possible
2018-11-21 15:51:44 +01:00
Wim Taymans
13010d5d2e
fmt: use faster s24 to f32 conversion
2018-11-21 15:51:03 +01:00
Wim Taymans
5e8d9fb196
merger: fix enum_param
2018-11-21 12:18:56 +01:00