git subtree merge를 위한 g4s_branch 및 서브트리 생성

This commit is contained in:
chicpro
2013-04-26 15:21:39 +09:00
parent f7247c0050
commit da91511e5f
711 changed files with 94885 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
include_once("./_common.php");
// prepare an array of wavfiles
$wavs_dir = $g4['path'].'/plugin/captcha/wavs/';
$wav = $wavs_dir.'0.wav';
$fields = join('/',array( 'H8ChunkID', 'VChunkSize', 'H8Format',
'H8Subchunk1ID', 'VSubchunk1Size',
'vAudioFormat', 'vNumChannels', 'VSampleRate',
'VByteRate', 'vBlockAlign', 'vBitsPerSample' ));
$fp = fopen($wav,'rb');
$header = fread($fp,36);
$info = unpack($fields,$header);
print_r2($info);
?>