View Single Post
Old 1st May 2014, 15:17   #330
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
The following is literally my code for showing the bitrate (minus the commented out stuff):
PHP Code:
        int tbr=Opus.op_bitrate_instant(curppl->oof);
        if(
tbr>=0)
        {
                
tbr/=1000;
                {
                        
thisPlugin.SetInfo(tbr,-1,-1,1);
                }
        } 
thinktink is offline   Reply With Quote