Roxen.git / server / modules / icecast / icecast.pike

version» Context lines:

Roxen.git/server/modules/icecast/icecast.pike:1:   // This is a roxen module. Copyright © 2001 - 2004, Roxen IS.      inherit "module"; - constant cvs_version="$Id: icecast.pike,v 1.10 2004/06/30 16:59:11 mast Exp $"; + constant cvs_version="$Id: icecast.pike,v 1.11 2008/06/24 11:04:35 jonasw Exp $";   constant thread_safe=1;      #define BSIZE 8192   #define METAINTERVAL 4192      #include <module.h>   #include <roxen.h>   #include <stat.h>   #include <request_trace.h>   
Roxen.git/server/modules/icecast/icecast.pike:204:    int trate = 0;    int patt = 0;    int by, p=0, sw=0;    while( (by = getbytes( 1 )) > 0 )    {    patt <<= 8;    patt |= by;    p++;    if( (patt & 0xfff0) == 0xfff0 )    { -  int srate, channels, layer, ID, pad, blen; +  int srate, layer, ID, pad, blen;    int header = ((patt&0xffff)<<16);    if( (by = getbytes( 2 )) < 0 )    break;    header |= by;       string data = sprintf("%4c",header);    patt=0;    header <<= 12;       int getbits( int n )