mirror of
https://github.com/wf-group/wfview
synced 2026-08-13 17:32:59 -04:00
Fix for uLaw encoding
This commit is contained in:
parent
2c0df5b8f4
commit
4fbd369bcd
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ bool audioHandler::init(audioSetup setupIn)
|
|||
|
||||
if (setup.codec == 0x01 || setup.codec == 0x20) {
|
||||
setup.ulaw = true;
|
||||
setup.format.setSampleSize(16);
|
||||
setup.format.setSampleType(QAudioFormat::SignedInt);
|
||||
}
|
||||
|
||||
if (setup.codec == 0x08 || setup.codec == 0x10 || setup.codec == 0x20 || setup.codec == 0x80) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue