[mythtv-commits] Ticket #9930: Distorted alsa-output on some soundcards

MythTV noreply at mythtv.org
Fri Jul 22 08:19:07 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):

 "I called them alsa-frames because they are not the same as frames in
 mythtv"

 They are!

 That's why they are called frames instead of samples.
 frame = sample * channels (just like in ALSA)

 So when you do:
 channels * output_bytes_per_frame
 you are actually doing:
 channels * channels * sample.

 I have no doubt that there could be a problem, but your analysis is wrong
 and should it fix anything it's a side effect of your incorrect
 calculations.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9930#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list