Module: sems
Branch: master
Commit: 198a617f7ff038aee9ed7aa65da905703697bc5e
URL: 
https://github.com/sems-server/sems/commit/198a617f7ff038aee9ed7aa65da905703697bc5e

Author: Szókovács Róbert <[email protected]>
Committer: Szókovács Róbert <[email protected]>
Date: 2015-07-06T15:06:28+02:00

Autodetecting subtype of PCM[AU] wav files

---

Modified: core/AmAudioFile.cpp

---

Diff:  
https://github.com/sems-server/sems/commit/198a617f7ff038aee9ed7aa65da905703697bc5e.diff
Patch: 
https://github.com/sems-server/sems/commit/198a617f7ff038aee9ed7aa65da905703697bc5e.patch

---

diff --git a/core/AmAudioFile.cpp b/core/AmAudioFile.cpp
index 9fc63e5..e867ae5 100644
--- a/core/AmAudioFile.cpp
+++ b/core/AmAudioFile.cpp
@@ -74,6 +74,7 @@ void AmAudioFileFormat::setSubtypeId(int subtype_id)  {
     destroyCodec();
     subtype = subtype_id; 
     p_subtype = 0;
+    getSubtype();
     codec = getCodec();
   }
 }

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to