UserDataAudio doc missing soundformatinfo
Bug #732448 reported by
Nox_firegalaxy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Wishlist
|
rdb |
Bug Description
The doc about UserDataAudio does not tell anything about the expected format. Adding this info may help people to work with this class.
The format is afaik (word=signed short):
1. word = 1. sample channel 1
...
n. word = 1. sample channel n
n+1. word = 2. sample channel 1
...
2n. word = 2. sample channel n
or as explicit formular: n. word = (trunc(
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A patch which adds some doc + extends UserAudioData+ UserAudioDataCu rsor without breaking the old interface or behaviour. But it enables UserAudioData to be looped and show the length correctly.