diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-31 09:12:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-31 09:12:05 +0100 |
commit | 100ce16c6fb75a4911f388aa77f860324607c869 (patch) | |
tree | de54fe6a6fd7ceb7a41fdf2b03b666c479794055 /media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch | |
parent | 6262f7e48882f381dea4a0751717f65e6abd212f (diff) |
gentoo auto-resync : 31:07:2022 - 09:12:04
Diffstat (limited to 'media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch')
-rw-r--r-- | media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch deleted file mode 100644 index f9c044dbb2be..000000000000 --- a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch +++ /dev/null @@ -1,42 +0,0 @@ -https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/a8a2a31408c4acf54530d65922d235d3e590ce05 - -From a8a2a31408c4acf54530d65922d235d3e590ce05 Mon Sep 17 00:00:00 2001 -From: Jaechul Lee <jcsing.lee@samsung.com> -Date: Thu, 2 Jun 2022 15:07:09 +0900 -Subject: [PATCH] sound-file-stream: Fix crash when playing a file which is not - aligned - -pulseaudio crash occurred when I play a file using pacmd play-file command. -The file is not aligned with its frame size and the last rendering size -is also not aligned. Thus, an assertion was generated at the end of the -file as the following. - -memblockq.c: Assertion 'uchunk->length % bq->base == 0' failed at -../src/pulsecore/memblockq.c:288, function pa_memblockq_push(). Aborting. - -When I play the file using paplay, it works good. So, I changed to -pa_memblockq_push_align instead of pa_memblockq_push to prevent the -assertion. - -Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com> -Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/717> ---- - src/pulsecore/sound-file-stream.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/pulsecore/sound-file-stream.c b/src/pulsecore/sound-file-stream.c -index 147aa2288..255f4b61a 100644 ---- a/src/pulsecore/sound-file-stream.c -+++ b/src/pulsecore/sound-file-stream.c -@@ -185,7 +185,7 @@ static int sink_input_pop_cb(pa_sink_input *i, size_t length, pa_memchunk *chunk - - tchunk.length = (size_t) n * fs; - -- pa_memblockq_push(u->memblockq, &tchunk); -+ pa_memblockq_push_align(u->memblockq, &tchunk); - pa_memblock_unref(tchunk.memblock); - } - --- -GitLab - |