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 - Gliby

Pages: [1]
Other Support / rawDataStream, can't change position
« on: June 07, 2014, 03:50:45 PM »
I have a simple rawDataStream with a position of 0, 0, 0. Whenever I attempt to change the stream's source(with soundSystem.setPosition("source_1", pos.x, pos.y, pos.z)) position nothing happens. It keeps the position of 0,0,0

Other Support / Re: SoundSystem: Playing rawAudioData(..) Stream
« on: November 28, 2013, 08:19:55 AM »
Well I tried queuing up some valid audio, just by putting the initial audio data in a few times(each buffer is 1280)
Code: [Select]

for(int i = 0; i < 10; i++) {
  sndSystem.feedRawAudioData(identifier, data.getData());

And still no luck :(

Other Support / SoundSystem: Playing rawAudioData(..) Stream
« on: November 26, 2013, 10:36:20 AM »
Hi I am working on a streaming program, but I am having some trouble with playing the stream!

When I start receiving data from client ->
Code: [Select]
String identifier = generateSource(data);
sndSystem.rawDataStream(universalAudioFormat, false, identifier, 0, 0, 0, 0, 0);
//Feeds initial data
                sndSystem.feedRawAudioData(identifier, data.getData());
sndSystem.setVolume(identifier, 1.0f);
sndSystem.setPitch(identifier, 1.0f);
                //Start playing stream;
When I receive more data from client ->
Code: [Select]
sndSystem.feedRawAudioData(generateSource(data), data.getData());

I have this problem that nothing plays, at all. Even after all the data has been filled in the source nothing plays...

Also I assume using; will start a stream and will play feed samples automatically?

Other Support / Playing from a constant income of bytes smoothly?
« on: September 16, 2013, 09:37:19 AM »
Hi I would like to know how to smoothly play a stream of constantly incoming bytes, I've tried a few things but I always end up with some jittery sound. I have yet to come across a way to play bytes as they come in realtime.

Pages: [1]