| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
upgrade PA to 17.0 Signed-off-by: zhouyuxin <zhouyuxin15@huawei.com> Change-Id: Idd6f0f07818757f4918dc2ae284664f8e7c232b9 | 1 年前 | |
alsa: remove double calls of snd_pcm_prepare() In alsa-lib, snd_pcm_hw_params() internally calls snd_pcm_prepare(), thus user space applications have no need to call snd_pcm_prepare() after calls of snd_pcm_hw_params(). An explicit calls of snd_pcm_prepare() is expected in a case to recover PCM substreams. Current implementation of PulseAudio modules for ALSA playbacking/capturing results in double calls of snd_pcm_prepare(). The second call for hw plugin of alsa-lib executes ioctl(2) with SNDRV_PCM_IOCTL_PREPARE command in state of SNDRV_PCM_STATE_PREPARED for the PCM substream. This has no effects to the PCM substream as long as corresponding drivers are implemented correctly. This commit removes the second call for the reason. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> | 9 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
atomic-test: unbreak on FreeBSD (cpuset_t) Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277> | 5 年前 | |
tests: modify channelmap-tets to use 'check' framework | 13 年前 | |
add a small test program for pa_close_all() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2467 fefdeb5f-60dc-0310-8127-8f9354f1896f | 17 年前 | |
pstream: Support memfd blocks transport Now that we have the necessary infrastructure to memexport and mempimport a memfd memblock, extend that support higher up in the chain with pstreams. A PA endpoint can now _transparently_ send a memfd memblock to the other end by simply calling pa_pstream_send_memblock() – provided the block's memfd pool was earlier registered with the pstream. If the pipe does not support memfd transfers, we fall back to sending the block's full data instead of just its reference. ** Further details: A single pstream connection usually transfers blocks from multiple pools including the server's srbchannel mempool, the client's audio data mempool, and the server's global core mempool. If these mempools are memfd-backed, we now require registering them with the pstream before sending any blocks they cover. This is done to minimize fd passing overhead and avoid fd leaks. Moreover, to support all these pools without hard-coding their number or nature in the Pulse communication protocol itself, a new REGISTER_MEMFD_SHMID command is introduced. That command can be sent _anytime_ during the pstream's lifetime and is used for creating on demand SHM ID to memfd mappings. Suggested-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> | 10 年前 | |
core-util-test: Test pa_atou64() and pa_atoi64() Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51> | 5 年前 | |
tests/mix-test: Don't pass unnecessary NULL fmt argument to fail_unless GCC warns on all these fail_unless calls: warning: too many arguments for format [-Wformat-extra-args] fail_unless only takes an expression and optionally a string literal as message with formatting args. Passing NULL for this message should not be necessary as indicated by all the other tests not passing it either. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/653> | 4 年前 | |
build-sys: meson: check HAVE_MMX and HAVE_SSE before calling initializers Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/575> | 5 年前 | |
build-sys: meson: check HAVE_MMX and HAVE_SSE before calling initializers Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/575> | 5 年前 | |
tests: fix use of uninitialized variable cpu_info On cpu-volume-test, cpu_info is initialized only on i386/amd64 systems, and otherwise passed on to pa_cpu_init_orc() uninitialized. If one was unlucky enough, they could end up with cpu_info.cpu_type == PA_CPU_X86 on a non-x86 system, and use and test the Orc codepath without that being functional, and thus with the test failing. This has been observed in the wild on the ppc64el Debian buildds. See Debian bug #982740 for more context. Define cpu_info here in the same way as in other tests. Signed-off-by: Faidon Liambotis <paravoid@debian.org> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/511> | 5 年前 | |
build-sys: Move to compiling with C11 support This is needed for building with anonymous unions. A bunch of calls to fail() that used to mysteriously work need fixing -- fail() is a macro that takes a printf-style message as an argument. Not passing this somehow worked with the previous compiler flags, but breaks with -std=c11. | 10 年前 | |
Fix pointer to integer cast warnings This fixes warning: cast to pointer from integer of different size. In Windows platform, long is 4 bytes. So, void* is first cast to intptr_t then to int. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/630> | 4 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
build-sys: Move to compiling with C11 support This is needed for building with anonymous unions. A bunch of calls to fail() that used to mysteriously work need fixing -- fail() is a macro that takes a printf-style message as an argument. Not passing this somehow worked with the previous compiler flags, but breaks with -std=c11. | 10 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
tests: hashmap-test.c: fix memory leak When compiled with ASAN: -O1 -fsanitize=address -fno-omit-frame-pointer, the following issue is seen: ==14272==ERROR: LeakSanitizer: detected memory leaks Direct leak of 1072 byte(s) in 1 object(s) allocated from: #0 0x7f0180966d28 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded28) #1 0x7f018039f043 in pa_xmalloc0 pulse/xmalloc.c:74 #2 0x7f01803c5cc8 in pa_hashmap_new_full pulsecore/hashmap.c:61 #3 0x7f01803c5df9 in pa_hashmap_new pulsecore/hashmap.c:76 #4 0x556ee75ff7f4 in remove_all_test tests/hashmap-test.c:96 #5 0x556ee7602965 in srunner_run (/home/eenurkka/pulse/pulseaudio/src/.libs/hashmap-test+0x6965) SUMMARY: AddressSanitizer: 1072 byte(s) leaked in 1 allocation(s). Fix it by freeing the resource properly. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi> | 5 年前 | |
tests: modify hook-list-test to use 'check' framework | 13 年前 | |
Remove newline at end of log messages Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 9 年前 | |
tests: modify ipacl-test to use 'check' framework | 13 年前 | |
json: remove json from public API Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/570> | 5 年前 | |
tests: Update ladspa-dbus to Python 3 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/477> | 5 年前 | |
Remove newline at end of log messages Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 9 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
core: Expose API to elevate a thread to realtime priority This should make it easier for clients to elevate their audio threads to real time priority without having to dig through much through specific system internals. | 7 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
mainloop-test: Disarm io callback on EOF Mainloop test uses io callback for PA_IO_EVENT_INPUT on stdin. With glib enabled PA_IO_EVENT_INPUT translates to glib G_IO_IN event which also matches descriptor in EOF state. While io callback does not check for EOF after reading from file descriptor this is causing mainloop-test to repeatedly read 0 bytes once EOF is reached, rearm defer callback and spam test log. Fix this by disarming io callback when EOF is reached in test run. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/625> | 4 年前 | |
pulsecore: Specially mark global mempools Color global mempools with a special mark. This special marking is needed for handling memfd-backed pools. To avoid fd leaks, memfd pools are registered with the connection pstream to create an ID<->memfd mapping on both PA endpoints. Such memory regions are then always referenced by their IDs and never by their fds, and so their fds can be safely closed later. Unfortunately this scheme cannot work with global pools since the registration ID<->memfd mechanism needs to happen for each newly connected client, and thus the need for a more special handling. That is, for the pool's fd to be always open :-( Almost all mempools are now created on a per-client basis. The only exception is the pa_core's mempool which is still shared between all clients of the system. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> | 10 年前 | |
pulsecore: Specially mark global mempools Color global mempools with a special mark. This special marking is needed for handling memfd-backed pools. To avoid fd leaks, memfd pools are registered with the connection pstream to create an ID<->memfd mapping on both PA endpoints. Such memory regions are then always referenced by their IDs and never by their fds, and so their fds can be safely closed later. Unfortunately this scheme cannot work with global pools since the registration ID<->memfd mechanism needs to happen for each newly connected client, and thus the need for a more special handling. That is, for the pool's fd to be always open :-( Almost all mempools are now created on a per-client basis. The only exception is the pa_core's mempool which is still shared between all clients of the system. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> | 10 年前 | |
upgrade PA to 17.0 Signed-off-by: zhouyuxin <zhouyuxin15@huawei.com> Change-Id: Idd6f0f07818757f4918dc2ae284664f8e7c232b9 | 1 年前 | |
tests: Add passthrough test back to daemon tests This got dropped during the move to meson. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/665> | 4 年前 | |
tests/mix-test: Don't pass unnecessary NULL fmt argument to fail_unless GCC warns on all these fail_unless calls: warning: too many arguments for format [-Wformat-extra-args] fail_unless only takes an expression and optionally a string literal as message with formatting args. Passing NULL for this message should not be necessary as indicated by all the other tests not passing it either. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/653> | 4 年前 | |
build-sys: Move to compiling with C11 support This is needed for building with anonymous unions. A bunch of calls to fail() that used to mysteriously work need fixing -- fail() is a macro that takes a printf-style message as an argument. Not passing this somehow worked with the previous compiler flags, but breaks with -std=c11. | 10 年前 | |
tests: Fix incompatible pointer type on Debian kfreebsd Debian kfreebsd uses the GNU libc that uses cpu_set_t instead of cpuset_t Also do not include unnecessary headers on this platform Fixes: #851 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/356> | 5 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
passthrough-test: Add a test for volume set/restore | 7 年前 | |
build-sys: meson: allow building client libraries only Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540> | 5 年前 | |
build-sys: meson: allow building client libraries only Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540> | 5 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
Split the enable-lfe-remixing setting into two remixing-produce-lfe controls upmixing, and remixing-consume-lfe controls downmixing. The motivation is that a user might want to synthesize LFE while playing stereo audio on his/her 5.1 speakers, but at the same time follow the industry recommendation to omit the LFE channel when producting a stereo downmix (e.g. for headphones) from 5.1 content. Or the other way round. Fixes: #753. | 6 年前 | |
tests: Add resampler rewind test This patch adds a test program that generates a square wave of a given frequency, length and sample rate. This is then resampled to another rate, rewound and the rewound part is run through the resampler again. After that, the results of the first and second resampler pass are compared. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/120> | 4 年前 | |
pulsecore: Specially mark global mempools Color global mempools with a special mark. This special marking is needed for handling memfd-backed pools. To avoid fd leaks, memfd pools are registered with the connection pstream to create an ID<->memfd mapping on both PA endpoints. Such memory regions are then always referenced by their IDs and never by their fds, and so their fds can be safely closed later. Unfortunately this scheme cannot work with global pools since the registration ID<->memfd mechanism needs to happen for each newly connected client, and thus the need for a more special handling. That is, for the pool's fd to be always open :-( Almost all mempools are now created on a per-client basis. The only exception is the pa_core's mempool which is still shared between all clients of the system. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> | 10 年前 | |
rtpoll: Separate out before/after/work callback userdata It is possible that we might want to have a separate userdata to be used for these callbacks, so let's split them out. This is particularly needed when using an pa_rtpoll_item around pa_fdsem since that uses its own before/after callback but will essentially have whatever is using the fdsem set up the work callback appropriately (and thus at least the work callback's userdata needs to be separated from the before/after callback -- we might as well then just separate all three). Signed-off-by: Arun Raghavan <arun@arunraghavan.net> | 6 年前 | |
tests: Fix incompatible pointer type on Debian kfreebsd Debian kfreebsd uses the GNU libc that uses cpu_set_t instead of cpuset_t Also do not include unnecessary headers on this platform Fixes: #851 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/356> | 5 年前 | |
tests: Extract PA_CPU_TEST* macros to separate header Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> | 12 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
core: Replace PA_PAGE_SIZE with pa_page_size() PA_PAGE_SIZE using sysconf() may return a negative number CID 1137925, CID 1137926, CID 1138485 instead of calling sysconf() directly, add function pa_page_size() which uses the guestimate 4096 in case sysconf(_SC_PAGE_SIZE) fails using PA_ONCE to only evaluate sysconf() once | 9 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
pstream: Support memfd blocks transport Now that we have the necessary infrastructure to memexport and mempimport a memfd memblock, extend that support higher up in the chain with pstreams. A PA endpoint can now _transparently_ send a memfd memblock to the other end by simply calling pa_pstream_send_memblock() – provided the block's memfd pool was earlier registered with the pstream. If the pipe does not support memfd transfers, we fall back to sending the block's full data instead of just its reference. ** Further details: A single pstream connection usually transfers blocks from multiple pools including the server's srbchannel mempool, the client's audio data mempool, and the server's global core mempool. If these mempools are memfd-backed, we now require registering them with the pstream before sending any blocks they cover. This is done to minimize fd passing overhead and avoid fd leaks. Moreover, to support all these pools without hard-coding their number or nature in the Pulse communication protocol itself, a new REGISTER_MEMFD_SHMID command is introduced. That command can be sent _anytime_ during the pstream's lifetime and is used for creating on demand SHM ID to memfd mappings. Suggested-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> | 10 年前 | |
tests: Assert granularity range in stripnul.c granularity must not be larger than buffer size CID 1138482 | 9 年前 | |
Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. component: core <EP-E358F00C1D9A449EAE69225B9D2530F8> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=88833 Signed-off-by: Deepak Srivastava <srivastava.d@samsung.com> | 10 年前 | |
Fix pointer to integer cast warnings This fixes warning: cast to pointer from integer of different size. In Windows platform, long is 4 bytes. So, void* is first cast to intptr_t then to int. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/630> | 4 年前 | |
meson: Enable (almost) all tests Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com> | 7 年前 | |
test-daemon: No need to define dl-search-path There's already a hook that modifies the search path when run from the build tree. if (pa_run_from_build_tree()) { pa_log_notice("Detected that we are run from the build tree, fixing search path."); #ifdef MESON_BUILD c->dl_search_path = pa_xstrdup(PA_BUILDDIR PA_PATH_SEP "src" PA_PATH_SEP "modules"); #else c->dl_search_path = pa_xstrdup(PA_BUILDDIR); #endif } else I'm not sure how it works behind the hood, but by setting --dl-search-path, we get errors in the logs when running make check-daemon: E: [pulseaudio][daemon/ltdl-bind-now.c:75 bind_now_open()] Failed to open module /home/arno/proj/pulse/src/pa.up/src/.libs/.libs/module-native-protocol-unix.so: /home/arno/proj/pulse/src/pa.up/src/.libs/.libs/module-native-protocol-unix.so: cannot open shared object file: No such file or directory I: [pulseaudio][pulsecore/module.c:197 pa_module_load()] Loaded "module-native-protocol-unix" (index: #3; argument: ""). So basically, PA tries two paths, fails the first time (obviously we can see the path is not correct), then tries again with another path (where does it gets it?) and succeeds. So there's no obvious error if you don't look at the log. This commit removes the useless --dl-search-path, which has the effect to remove the errors in the logs. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com> | 7 年前 | |
thread-mainloop: Add API for running a callback unlocked This adds API to allow clients to schedule a callback in the mainloop thread without the mainloop lock being held. This is meant for a case where the client might be dealing with locking its own objects in addition to the mainloop thread itself. In this case, it might need ton control the locking order of the two, to match the order in other threads, as it might not always be able to allow for its objects to be locked after the mainloop thread lock. | 7 年前 | |
thread-test: Increase test timeout This is not a performance test, but progress test of pa_cond_signal, pa_cond_broadcast and pa_cond_wait in presence of multiple threads. Increase test timeout to make it pass on slower hardware. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/696> | 4 年前 | |
update FSF addresses to FSF web page FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources. | 11 年前 | |
Remove newline at end of log messages Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 9 年前 | |
volume-test: Allow rounding without having to allow a random number of errors | 7 年前 | |
tests: show dB in volume-ui.py | 16 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 9 年前 | ||
| 11 年前 | ||
| 11 年前 | ||
| 5 年前 | ||
| 13 年前 | ||
| 17 年前 | ||
| 10 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 10 年前 | ||
| 4 年前 | ||
| 11 年前 | ||
| 11 年前 | ||
| 10 年前 | ||
| 11 年前 | ||
| 5 年前 | ||
| 13 年前 | ||
| 9 年前 | ||
| 13 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 9 年前 | ||
| 11 年前 | ||
| 7 年前 | ||
| 11 年前 | ||
| 11 年前 | ||
| 4 年前 | ||
| 10 年前 | ||
| 10 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 10 年前 | ||
| 5 年前 | ||
| 11 年前 | ||
| 11 年前 | ||
| 7 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 11 年前 | ||
| 6 年前 | ||
| 4 年前 | ||
| 10 年前 | ||
| 6 年前 | ||
| 5 年前 | ||
| 12 年前 | ||
| 11 年前 | ||
| 9 年前 | ||
| 11 年前 | ||
| 10 年前 | ||
| 9 年前 | ||
| 10 年前 | ||
| 4 年前 | ||
| 7 年前 | ||
| 7 年前 | ||
| 7 年前 | ||
| 4 年前 | ||
| 11 年前 | ||
| 9 年前 | ||
| 7 年前 | ||
| 16 年前 |