[haiku-bugs] Re: [Haiku] #4072: HDA audio sounds worse

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 11 Dec 2009 21:38:21 -0000

#4072: HDA audio sounds worse
-------------------------------+--------------------------------------------
 Reporter:  jahaiku            |       Owner:  axeld        
     Type:  bug                |      Status:  new          
 Priority:  normal             |   Milestone:  R1           
Component:  Drivers/Audio/HDA  |     Version:  R1/pre-alpha1
 Keywords:                     |   Blockedby:               
 Platform:  All                |    Blocking:               
-------------------------------+--------------------------------------------

Comment(by bonefish):

 Replying to [comment:3 stippi]:
 > Interesting. During improving the OSS node, which is based on the
 MultiAudio node, I was fighting a lot of cracking issues and these had to
 do with calculating latencies for buffers/connections and the drift. Since
 a while, I have perfect sound with HDA (P35 ?) at 192 kHz output. On my
 notebook as well. I could imagine the problems are with calculating
 latencies and perhaps also the drift. It may be interesting to diff the
 MultiAudio and OSS nodes to see what stuff I was working on.

 To clarify my above comment. The cracking I was referring to doesn't
 happen occasionally, but several times a second and seem to vary depending
 on what is played. Like noise introduced by incorrect resampling or
 something like that. Changing the audio format to avoid any kind of
 resampling and format conversion doesn't make a difference, though.
 Latency/time calculation bugs wouldn't explain why after switching the
 frequency (often several times), the sound is OK. It would, however,
 explain the occasional cracking, which does still happen -- particularly
 because I haven't seen any problem in DebugAnalyzer so far. So looking at
 the changes could indeed be helpful.

 The main problem, I would guess, is indeed a driver issue. Maybe it
 doesn't set up the hardware exactly according to the specification or it
 does and particular chipsets want it slightly differently. I don't know,
 but that's where I would look first (if I had the motivation ;-)).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4072#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: