Update audio codecs

This commit is contained in:
Romain Neutron
2012-07-16 12:28:49 +02:00
parent 0f1c0b67d4
commit 004828ffe7
2 changed files with 5 additions and 1 deletions

View File

@@ -1818,7 +1818,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
$pathdest = databox::dispatch($subdef->get_path());
}
return $pathdest . $this->get_record_id() . '_' . $subdef->get_name() . '.' . $this->getExtensionFromSpec($subdef->getSpecs());
return $pathdest . $this->get_record_id() . '_' . $subdef->get_name() . '.' . $this->getExtensionFromSpec($subdef->getSpecs(), $logger);
}
/**
@@ -1866,6 +1866,9 @@ class record_adapter implements record_Interface, cache_cacheableInterface
case 'flac':
$extension = 'flac';
break;
case 'libvorbis':
$extension = 'ogg';
break;
case 'libmp3lame':
$extension = 'mp3';
break;