I have a strange error message :
*** ASSERTION FAILURE ***
Assertion "streams[(hnd)].initted" failed at snd_stream.c:537 in `snd_stream_volume'
i tried to simply change volume of a stream.
Thanks for your help.
Strange error message in stream
- Newbie
- Insane DCEmu
- Posts: 171
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Sat Jul 27, 2013 1:16 pm
- Has thanked: 0
- Been thanked: 0
Re: Strange error message in stream
I haven't used that API before, but it seems like you have used an invalid handle or not initialized that handle properly.
Compare your code with the sound examples, e.g.
$KOS_BASE/examples/dreamcast/cpp/modplug_test,
sound/ghettoplay-vorbis,
sound/hello-mp3 and
sound/hello-ogg.
Compare your code with the sound examples, e.g.
$KOS_BASE/examples/dreamcast/cpp/modplug_test,
sound/ghettoplay-vorbis,
sound/hello-mp3 and
sound/hello-ogg.
Spoiler!
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
Re: Strange error message in stream
You're right, the handle i use is invalid in a special case in my code.
In fact, i have forgotten to reset it's value when stream is stopped
by user input so the second round it try to play it crashes ..
Thanks, i fix it.
In fact, i have forgotten to reset it's value when stream is stopped
by user input so the second round it try to play it crashes ..
Thanks, i fix it.