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.


Messages - BartekMaciag

Pages: [1]
1
Audio / Two sound buffer into one.
« on: January 31, 2014, 04:52:10 pm »
Is sfml have any way to create one buffer from two others buffers  ?
For example:
sf::SoundBuffer sb1;
sf::SoundBuffer sb2;
sf::SoundBuffer sb3;
sb3 = sb2 + sb1;
 

2
Audio / Re: Recording and sending audio.
« on: January 12, 2014, 04:51:37 pm »
  • Record audio into a buffer
  • When buffer is full send it to the client
  • Receive the audio data and load it into a sound buffer
  • Play the sound buffer
  • Goto 1

It is very much possible with SFML, but unless you learn more about coding/streaming/audio processing as eXpl0it3r said you will have a hard time making it work.  ;)


it's beside the point, what I mean is record and send file at the same time when the record is not over.

3
Audio / Recording and sending audio.
« on: January 12, 2014, 03:06:59 pm »
I want to create voice chat in my little game it looks like this:
for(;;)
{
    recorder.start();
    recorder.stop();
    send(recorder.getbuffer());
}

It doesn't work but I tried something another ...:
recorder.start();
send(recorder.getbuffer());


this too didn't work, I have to record and send it at the same time, please help me  Bartek.

4
Window / How make a transparent window in C++ ?
« on: December 21, 2013, 02:07:26 pm »
Hi !

I want to do a transparent window, in first I tried do window without border and titlebar well: sf::RenderWindow window(sf::VideoMode( 320, 240 ), " ", 0") after this I did okno.clear(sf::Color::Color(0,0,0,0)) but it didn't work out, simply black screen, do you have any ideas ? Bartek 

Pages: [1]
anything