Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - nulloid

Pages: [1]
1
C / sfMouse_getPosition with sfRenderWindow*?
« on: May 01, 2012, 12:46:09 pm »
I have an sfRenderWindow*, but sfMouse_getPosition() wants an sfWindow*. I couldn't find any method to make/get an sfWindow* from an sfRenderWindow* without modifying the source. Is there an orthodox (and fast) method, or should I just hack CSFML?

2
Audio / write an audio file in small chunks
« on: October 17, 2010, 03:11:38 am »
Is it possible to write audio file in small chunks? For example, if I want to record an audio stream into a file. But when I just want to write in an existing file, it seems SFML overwrites it. Thanks in advance :)

3
SFML projects / audoid - audio synthesis API / application
« on: October 15, 2010, 06:19:54 am »
I started an audio synthesis project, called audoid. It will be a general soundsynth API, and later on, I will add a GUI on the top of it. It is very ugly at the moment (I mean the code quality), but over time it will be better and better (hopefully :)).

Code: http://code.google.com/p/audoid/

Oh, and uses SFML2. Code::Blocks projectfile included.

4
Audio / [SOLVED] (1.5) weird problem with debugging
« on: March 25, 2010, 01:36:03 pm »
(Sorry for my english, it isn't my native language.)

I am creating a... well, kind of sound editing - music creation program. I only recently started to use sf::SoundStream. Until that point, I had no problem. I used debugger, I was happy. Now, it is over. When there is sf::SoundStream in my code (one of my class inherits from it, as in the tutorial), and i want to debug it, the debugger starts, but nothing happens. I don't know, whether the program starts or not, but it doesn't even step into main().

Everything is ok - I use the debug versions of libraries, use the debug build (I use Code::Blocks, btw), and use debugging mode. The debugger output says:

Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.0.50.20100212
Child process PID: 2312
* 1 Thread 2312.0x670  __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at D:/Programmes/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/iostream:77

after several "step" commands:

(... lot of I-can't-understand things ...)

In KERNEL32!IsBadCodePtr () (C:\WINDOWS\system32\kernel32.dll)
Single stepping until exit from function KERNEL32!IsBadCodePtr,
which has no line number information.
0x7c80a1c3 in WideCharToMultiByte () from C:\WINDOWS\system32\kernel32.dll
In WideCharToMultiByte () (C:\WINDOWS\system32\kernel32.dll)
Single stepping until exit from function WideCharToMultiByte,
which has no line number information.
0x7c80a0c7 in WideCharToMultiByte () from C:\WINDOWS\system32\kernel32.dll
In WideCharToMultiByte () (C:\WINDOWS\system32\kernel32.dll)
Single stepping until exit from function WideCharToMultiByte,
which has no line number information.

and this three steps seem to iterate forever (didn't have much patience).

All I have throughout this is an empty console window, nothing else. (And the IDE, of course :D) I'm using MinGW-TDM, but i downloaded gdb-7.0.50.

My question is: what is causing this, and what can I do?

If this is not enough, I will create a minimal environment to reproduce this, on request. Thanks for any help :)
(No, please don't say not to use debugger... I'm too lazy and comfortable :D)

And thanks Laurent, for making this great library. It is really fun to use it ^_^

Pages: [1]
anything