This should have been fixed by this commit, 3 days ago. Specifically:
Code: Select all
// Ensure the DataBox is visible, For the ListBox to save (Popping up the FileDialog hides it)
parent.visible = true;
Please confirm that the IDE and ecere.dll you are testing with (e.g. installed in your Program Files (x86)/Ecere SDK) includes this fix, and let me know if this is still an issue, because I cannot reproduce it here. Thanks!
2. Is the sound just very low volume, but you can hear the sound, or is it very short as well? Could you try with the new changes I commited to the repository? The one that works with EcereAudio. I just remembered about that,I fixed something for 16-bit sounds, perhaps that will help. Alternatively, you could just add this in WavPlayer.ec: Sound::Load:
Code: Select all
if(bits == 16)
length /= 2;
Code: Select all
if(c < header.data_len)
length -= 2048;
3. Application Crashed :S Works fine here...
If the application is built in debuggable mode, with dsound.ec, mixer.ec and audio.ec included in the project, could you please paste me the call stack of the crash while running it from debug/start ? (You can access the call stack with Alt+7 or View/Call Stack).
If you already pulled the new changes and are using EcereAudio, you can do Project/Add project to workspace, then select EcereAudio.epj, and make sure it says EcereAudio (Debug) and WavPlayer (Debug) in the project view (you can toggle by pressing the space bar, or by chosing Project/Active Configuration). This should automatically use the debuggable version of the library when you launch the player in the debugger.