[CsMain] sndtest missing sound file

Sebastian Hoffmann <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.general
Message-ID <[email protected]>
Hi.

I just started sndtest, which printed out this:

You can override sound file using -sndfile option (VFS path)
Sound file  : /lib/std/loopbzzt.wav
=== iSndSysData format informations ===
Format      : 16 bits, 1 channel(s), 22050 Hz
Sample Size : 131966 bytes, 65983 frames
Description : (null)
=== iSndSysStream "rendered" format informations ===
Format      : 16 bits, 1 channel(s), 44100 Hz
Stream Size : 131966 frames
Description : Wav Stream
Segmentation fault

There doesn't appear to be a loopbzzt.wav in my CS checkout. I also
tried -sndfile to supply a .wav, but I don't know which VFS path would
map to ~/test.wav, so I tried that, no change.
The backtrace:

0x000000000040456a in SndTest::Application (this=0x7fffffffdf60) at
/home/baribal/src/CS_latest/apps/tests/sndtest/sndtest.cpp:272
272	  sndrenderer->GetListener ()->SetPosition (csVector3 (0, 0, 0));
(gdb) bt
#0  0x000000000040456a in SndTest::Application (this=0x7fffffffdf60)
at /home/baribal/src/CS_latest/apps/tests/sndtest/sndtest.cpp:272
#1  0x00007ffff7a12cb1 in csApplicationFramework::Start () at
/home/baribal/src/CS_latest/libs/cstool/csapplicationframework.cpp:71
#2  0x00007ffff7a12f5b in csApplicationFramework::Main
(this=0x7fffffffdf60, argc=3, argv=0x7fffffffe118) at
/home/baribal/src/CS_latest/libs/cstool/csapplicationframework.cpp:131
#3  0x00000000004091c8 in csApplicationRunner<SndTest>::Run (argc=3,
argv=0x7fffffffe118) at ./include/cstool/csapplicationframework.h:441
#4  0x0000000000404b6c in main (argc=3, argv=0x7fffffffe118) at
/home/baribal/src/CS_latest/apps/tests/sndtest/sndtest.cpp:335

Liebe Grüße,
Sebastian

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[email protected]?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.