     public convenience init(id: Int64, voiceContent: ACVoiceContent, date: Int64) {
         
         
-        self.init(fileName: voiceContent.getName(), fileExt: voiceContent.getExt(), fileSize: Int(voiceContent.getSource().getSize()),id: id, date: date, autoDownload: true)
+        self.init(fileName: voiceContent.getName(), fileExt: voiceContent.getExt(), fileSize: Int(voiceContent.getSource().getSize()),id: id, date: date, autoDownload: true,duration:voiceContent.getDuration())
     }
     
     

        
        // Creating layout
        super.init(height: self.screenSize.height + 2, date: date, key: "voice")
    }
    
    /**

    public let fileName: String
    public let fileExt: String
    public let fileSize: String
    public var voiceDuration: String!
    
    /**
     Creting layout for media bubble
     */
    public init(fileName: String, fileExt: String, fileSize: Int,id: Int64, date: Int64, autoDownload: Bool,duration:jint) {
        
        // Saving content size
        self.contentSize = CGSizeMake(200, 66)
