Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/wa.picotech.app/public_html/node_modules/music-metadata/lib/ogg/opus/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IdHeader = void 0;
const Token = require("token-types");
/**
* Opus ID Header parser
* Ref: https://wiki.xiph.org/OggOpus#ID_Header
*/
class IdHeader {
constructor(len) {
this.len = len;
if (len < 19) {
throw new Error("ID-header-page 0 should be at least 19 bytes long");
}
}
get(buf, off) {
return {
magicSignature: new Token.StringType(8, 'ascii').get(buf, off + 0),
version: buf.readUInt8(off + 8),
channelCount: buf.readUInt8(off + 9),
preSkip: buf.readInt16LE(off + 10),
inputSampleRate: buf.readInt32LE(off + 12),
outputGain: buf.readInt16LE(off + 16),
channelMapping: buf.readUInt8(off + 18)
};
}
}
exports.IdHeader = IdHeader;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0059 ]-- |