[mythtv-commits] Ticket #9930: Distorted alsa-output on some soundcards
MythTV
noreply at mythtv.org
Thu Jul 21 21:21:57 UTC 2011
#9930: Distorted alsa-output on some soundcards
-----------------------------------+---------------------------
Reporter: mac20xx@… | Owner: jyavenard
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: 0.24.1
Component: MythTV - Audio Output | Version: 0.24.1
Severity: medium | Resolution:
Keywords: distorted alsa output | Ticket locked: 0
-----------------------------------+---------------------------
Comment (by jyavenard):
While I do not doubt that their is a problem...
I am not sure your interpretation of it is correct.
period_size and buffer_size are values returned by ALSA, it is not set to
a random value pulled out of thin air.
The write_size is always fragment_size which is period_size *
output_bytes_per_frame * 2 so by definition it is always a multiple of
period_size.
So if period_size isn't a multiple of "alsa-frames" (as you call it) ; the
issue is within ALSA, not myth...
Something that wouldn't surprise me as the type of audio corruption you
describe never occurred with ALSA <= 1.0.22 and only occurs with recent
version of alsa
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9930#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list