[flumotion-issues] Re: [Flumotion] #792: soundcard producer throws exceptions

Flumotion trac at core.fluendo.com
Fri Nov 9 13:34:20 CET 2007


#792: soundcard producer throws exceptions
-----------------------+----------------------------------------------------
 Reporter:  thomasvs   |        Owner:  nobody
     Type:  defect     |       Status:  new   
 Priority:  normal     |    Milestone:        
Component:  flumotion  |      Version:  0.4.2 
 Severity:  normal     |   Resolution:        
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by msmith):

 If I run this:
 {{{
 gst-launch filesrc location=/dev/zero ! "audio/x-raw-
 int,channels=1,width=16,depth=16,rate=44100" ! level ! fakesink
 silent=true -m
 }}}

 then the level messages output look like:
 {{{
 Got Message from element "level0" (element): level,
 endtime=(guint64)46439908, rms=(double){ -inf }, peak=(double){ -inf },
 decay=(double){ -inf }
 }}}

 So we could do either of:
  1. Fix level to not output -Inf (this is correct behaviour currently, so
 this is undesirable)
  2. If we get a -Inf in the volume effect, don't serialise it to the
 uiState. (we could just peg it to -100 or something?)

 The latter looks like a sensible option.

-- 
Ticket URL: <https://core.fluendo.com/flumotion/trac/ticket/792#comment:3>
Flumotion <http://core.fluendo.com/>
Flumotion Streaming Server


More information about the flumotion-issues mailing list