Rename airtime_mvc/ to legacy/
This commit is contained in:
parent
f0879322c2
commit
3e18d42c8b
1316 changed files with 0 additions and 0 deletions
|
@ -1,24 +0,0 @@
|
|||
<?php
|
||||
|
||||
class SamplerateFormatter
|
||||
{
|
||||
/**
|
||||
* @string sample rate
|
||||
*/
|
||||
private $_samplerate;
|
||||
|
||||
/*
|
||||
* @param string $samplerate Hz
|
||||
*/
|
||||
public function __construct($samplerate)
|
||||
{
|
||||
$this->_samplerate = $samplerate;
|
||||
}
|
||||
|
||||
public function format()
|
||||
{
|
||||
$kHz = bcdiv($this->_samplerate, 1000, 1);
|
||||
|
||||
return "{$kHz} kHz";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue