[mythtv-commits] Ticket #9998: playback data OSD display: audio sample rate shown as Kbps instead of KHz

MythTV noreply at mythtv.org
Sat Aug 20 13:47:09 UTC 2011


#9998: playback data OSD display: audio sample rate shown as Kbps instead of KHz
-------------------------------------------+----------------------------
 Reporter:  dekarl@…                       |          Owner:  markk
     Type:  Bug Report - General           |         Status:  new
 Priority:  minor                          |      Milestone:  unknown
Component:  MythTV - Video/OSD Rendering   |        Version:  Trunk Head
 Severity:  low                            |     Resolution:
 Keywords:                                 |  Ticket locked:  0
-------------------------------------------+----------------------------

Comment (by dekarl@…):

 source of the wrong unit is the conversion of the raw sample rate into a
 human readable string with "BitrateToString" at
 https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/mythplayer.cpp#L4357
 {{{
 QString samplerate = RingBuffer::BitrateToString(audio.GetSampleRate());
 }}}

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


More information about the mythtv-commits mailing list