Switch to DuckDuckGo Search
   February 4, 2017  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | >

Toggle Join/Part | bottom
[00:01:30] *** Kaetemi <Kaetemi!~Kaetemi@pdpc/supporter/base/kaetemi> has joined #openal
[00:01:30] *** ChanServ sets mode: +v Kaetemi
[00:04:59] *** Murii <Murii!~Murii@79.113.234.223> has quit IRC ()
[02:36:51] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has joined #openal
[02:36:51] *** ChanServ sets mode: +v irungentoo
[03:50:42] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has quit IRC (Remote host closed the connection)
[08:20:10] *** Spun1 <Spun1!~DirtyDale@98.29.160.133> has joined #openal
[08:20:10] *** ChanServ sets mode: +v Spun1
[09:03:56] *** Murii <Murii!~Murii@79.113.234.223> has joined #openal
[09:03:56] *** ChanServ sets mode: +v Murii
[09:38:00] *** Murii <Murii!~Murii@79.113.234.223> has quit IRC (Read error: Connection reset by peer)
[09:38:13] *** Murii <Murii!~Murii@79.113.234.223> has joined #openal
[09:38:13] *** ChanServ sets mode: +v Murii
[10:01:57] *** 32NAAEG8P <32NAAEG8P!~Smirftsch@p2003007A0D54230068F0D7605B03DA0B.dip0.t-ipconnect.de> has joined #openal
[10:01:57] *** ChanServ sets mode: +v 32NAAEG8P
[12:51:05] *** jmbc <jmbc!~juanma@unaffiliated/jmbc> has joined #openal
[12:51:05] *** ChanServ sets mode: +v jmbc
[13:13:11] *** jmbc <jmbc!~juanma@unaffiliated/jmbc> has quit IRC (Ping timeout: 252 seconds)
[13:52:50] *** Guest45448 <Guest45448!~juanma@62.43.3.31.dyn.user.ono.com> has joined #openal
[13:52:50] *** ChanServ sets mode: +v Guest45448
[14:54:56] *** Jonas___ <Jonas___!~Jonas__@unaffiliated/jonas/x-7723671> has quit IRC (Ping timeout: 252 seconds)
[15:03:10] *** Jonas__ <Jonas__!~Jonas__@unaffiliated/jonas/x-7723671> has joined #openal
[15:03:10] *** ChanServ sets mode: +v Jonas__
[17:12:40] *** maxfx <maxfx!~maxfx@2a03:b4c0:0:2416:61cd:f5e6:3b4:a232> has joined #openal
[17:12:40] *** ChanServ sets mode: +v maxfx
[17:14:01] *** friedrich <friedrich!~friedrich@aextron.de> has quit IRC (Ping timeout: 255 seconds)
[17:19:39] *** friedrich <friedrich!~friedrich@aextron.de> has joined #openal
[17:19:39] *** ChanServ sets mode: +v friedrich
[18:36:22] *** maxfx <maxfx!~maxfx@2a03:b4c0:0:2416:61cd:f5e6:3b4:a232> has quit IRC (Ping timeout: 255 seconds)
[19:27:49] *** Spun1 <Spun1!~DirtyDale@98.29.160.133> has quit IRC (Quit: Peace out Girlscouts)
[19:58:48] <Murii> I want to stream an .ogg file so I generated 8 buffers (alGenBuffers) and then upload data into them. After that I use alsourceQueueBuffers(source,8 (because I got 8 buffers?),pointer to buffers)
[19:59:06] <Murii> then alSourceUnqueue 1 buffer and QueueBuffers 1
[19:59:19] <Murii> is it alright?
[20:02:54] <KittyCat> basically, yeah
[20:31:06] <Murii> KittyCat: http://pasteall.org/232706/c
[20:31:13] <Murii> do you see something wrong over there?
[20:31:23] <Murii> I've been trying to make it work for the past 2 hours
[20:31:39] <Murii> basically I can play the music I want for a certain amount of time and then the whole app crashes
[20:36:01] <KittyCat> not sure about the crashing, but audio_updateStreams doesn't seem to check that AL_BUFFERS_PROCESSED returns non-0 before unqueueing and refilling a buffer
[20:36:23] <Murii> ok, so how do I check that?
[20:36:38] <Murii> if count != 0 then unqueue and upload?
[20:36:45] <KittyCat> if(count > 0) {
[20:36:47] <KittyCat> ...
[20:36:48] <KittyCat> }
[20:36:52] <KittyCat> yeah
[20:39:16] <Murii> KittyCat: what do you think is going to happen when the music is going to end ?
[20:39:24] <Murii> I mean the code will still try to fetch data
[20:41:34] <KittyCat> depends on what audio_vorbis_preloadStreamSamples and audio_vorbis_uploadSreamSamples do
[20:42:48] <Murii> http://pasteall.org/232724/c KittyCat
[20:42:50] <KittyCat> I'd also move the audio_vorbis_preloadStreamSamples call to after the count check, so the samples read there aren't lost if a buffer isn't ready yet
[21:20:55] *** maxfx <maxfx!~maxfx@2a03:b4c0:0:2416:61cd:f5e6:3b4:a232> has joined #openal
[21:20:55] *** ChanServ sets mode: +v maxfx
[23:11:06] *** Murii <Murii!~Murii@79.113.234.223> has quit IRC (Remote host closed the connection)
[23:16:55] *** Guest45448 <Guest45448!~juanma@62.43.3.31.dyn.user.ono.com> has quit IRC (Quit: ircII EPIC4-2.10.1 -- Are we there yet?)
[23:34:03] *** Jonas___ <Jonas___!~Jonas__@unaffiliated/jonas/x-7723671> has joined #openal
[23:34:03] *** ChanServ sets mode: +v Jonas___
[23:36:06] *** Jonas__ <Jonas__!~Jonas__@unaffiliated/jonas/x-7723671> has quit IRC (Ping timeout: 240 seconds)
[23:45:02] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has joined #openal
[23:45:02] *** ChanServ sets mode: +v irungentoo
[23:56:19] *** maxfx <maxfx!~maxfx@2a03:b4c0:0:2416:61cd:f5e6:3b4:a232> has quit IRC (Ping timeout: 255 seconds)
top

   February 4, 2017  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | >