[Qemu-devel] [PATCH v3 0/2] Improve audio output quality

Martin Schrodt posted 2 patches 6 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20171015165858.19937-1-martin@schrodt.org
Test checkpatch failed
Test docker passed
Test s390x passed
There is a newer version of this series
audio/audio.c        |   5 +
audio/audio_int.h    |   2 +
audio/paaudio.c      | 635 +++++++++++++++++++++------------------------------
hw/audio/hda-codec.c | 193 ++++++++++++----
hw/audio/intel-hda.c |   7 -
5 files changed, 416 insertions(+), 426 deletions(-)
[Qemu-devel] [PATCH v3 0/2] Improve audio output quality
Posted by Martin Schrodt 6 years, 6 months ago
v3 because I committed some whitespace only changes in v2. Sorry.

Motivation for this:

After being annoyed for too long with the crackling QEMU produces, I decided
to dive in and try to fix this. 

This has already been tested by several people, please see the corresponding
Reddit-thread:

https://www.reddit.com/r/VFIO/comments/74vokw/improved_pulse_audio_driver_for_qemu/

I presented this to the list a few days ago, but it was in too rough a state,
so I cleaned it up and wrote better commit messages.

This is still missing proper handling for VMState-migration, which I will need a bit of assistance with.

Signed-off-by: Martin Schrodt <martin@schrodt.org>

Martin Schrodt (2):
  audio/paaudio: remove separate PA feeder threads
  audio/hda: create millisecond timers that handle IO

 audio/audio.c        |   5 +
 audio/audio_int.h    |   2 +
 audio/paaudio.c      | 635 +++++++++++++++++++++------------------------------
 hw/audio/hda-codec.c | 193 ++++++++++++----
 hw/audio/intel-hda.c |   7 -
 5 files changed, 416 insertions(+), 426 deletions(-)

-- 
2.14.2


Re: [Qemu-devel] [PATCH v3 0/2] Improve audio output quality
Posted by no-reply@patchew.org 6 years, 6 months ago
Hi,

This series seems to have some coding style problems. See output below for
more information:

Type: series
Message-id: 20171015165858.19937-1-martin@schrodt.org
Subject: [Qemu-devel] [PATCH v3 0/2] Improve audio output quality

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

git config --local diff.renamelimit 0
git config --local diff.renames True

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
093f5c6fbd audio/hda: create millisecond timers that handle IO
d65c59b7eb audio/paaudio: remove separate PA feeder threads

=== OUTPUT BEGIN ===
Checking PATCH 1/2: audio/paaudio: remove separate PA feeder threads...
ERROR: spaces required around that '|' (ctx:ExV)
#538: FILE: audio/paaudio.c:348:
+                |PA_STREAM_AUTO_TIMING_UPDATE, NULL, NULL);
                 ^

ERROR: spaces required around that '|' (ctx:ExV)
#549: FILE: audio/paaudio.c:353:
+                |PA_STREAM_AUTO_TIMING_UPDATE);
                 ^

ERROR: space prohibited between function name and open parenthesis '('
#621: FILE: audio/paaudio.c:417:
+    pa->ba.tlength = tlength * pa_frame_size (&pa->ss);

total: 3 errors, 0 warnings, 807 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 2/2: audio/hda: create millisecond timers that handle IO...
=== OUTPUT END ===

Test command exited with code: 1


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@freelists.org