mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
sfxSndStream
Ogg file from libsndfile now working. we can pull more information from the format and specifics of the file from libsndfile should maybe look at updating all the parameters around mFormat so it feeds openal settings better. Next step is to remove the other stream classes.
This commit is contained in:
parent
3652367b36
commit
147044796b
2 changed files with 5 additions and 5 deletions
|
|
@ -350,7 +350,7 @@ SFXBuffer* SFXProfile::_createBuffer()
|
|||
Con::printf( "%s SFX: %s (%i channels, %i kHz, %.02f sec, %i kb)",
|
||||
mDescription->mIsStreaming ? "Streaming" : "Loading", resource->getFileName().c_str(),
|
||||
format.getChannels(),
|
||||
format.getSamplesPerSecond() / 1000,
|
||||
format.getSamplesPerSecond(),
|
||||
F32( resource->getDuration() ) / 1000.0f,
|
||||
format.getDataLength( resource->getDuration() ) / 1024 );
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue