April 8, 2008  
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 | 29 | 30

[00:00:09] *** D0pamine has quit IRC
[00:10:03] *** barra has quit IRC
[00:42:25] *** prophile has quit IRC
[02:00:58] *** D0pamine has joined #openal
[02:00:59] *** ChanServ sets mode: +v D0pamine
[02:31:13] *** D0pamine has quit IRC
[03:06:29] *** D0pamine has joined #openal
[03:06:29] *** ChanServ sets mode: +v D0pamine
[03:38:43] *** Walt_ has quit IRC
[03:55:42] *** Walt_ has joined #openal
[04:12:05] * KittyCat is back.
[04:24:51] *** goalieca has joined #openal
[04:24:51] *** ChanServ sets mode: +v goalieca
[06:51:47] *** juanmabc has quit IRC
[07:42:15] *** Walt_ has quit IRC
[08:39:22] *** Walt_ has joined #openal
[09:39:46] *** Walt_ has quit IRC
[10:41:56] *** goalieca has quit IRC
[11:16:40] *** predaeus has joined #openal
[11:16:40] *** ChanServ sets mode: +v predaeus
[12:22:54] <D0pamine> hi KittyCat , setup oss4 and everything is a-ok
[12:23:12] <D0pamine> on slight , minor , iddy biddy issue tho
[12:23:49] <D0pamine> slight delay from whats happening on screen
[12:23:58] <D0pamine> just noticeable
[12:24:36] <D0pamine> i'll try the old openal later to see if its openal-soft or oss4
[12:53:06] <KittyCat> probably openal soft. it sets up a sizeable buffer
[12:53:35] <KittyCat> you can try adding refresh=4096 to the [general] section of ~/.alsoftrc to see if it helps
[12:53:58] <KittyCat> though it may cause sound skipping
[12:55:25] <D0pamine> ahh ok thanks KittyCat
[12:56:14] <D0pamine> sound is really really good tho with openal
[12:56:19] <D0pamine> 5.1 surroundsound :D
[12:56:46] <KittyCat> :)
[13:05:53] <D0pamine> yeh thats better
[13:06:11] <D0pamine> i can still notice but only because i'm paying close attention
[13:06:16] <D0pamine> seems smoother too
[13:52:56] <D0pamine> yeh KittyCat , perfect now , thank you very much :D
[15:37:30] *** juanmabc has joined #openal
[15:37:31] *** ChanServ sets mode: +v juanmabc
[15:59:43] *** nitrotrigger has joined #openal
[17:04:23] <nitrotrigger> lol I was going to ask one of the most stupidest question ever asked
[17:04:54] <nitrotrigger> "how do I tell OpenAL which source to play?"
[17:45:56] *** D0pamine has quit IRC
[17:48:07] *** D0pamine has joined #openal
[17:48:07] *** ChanServ sets mode: +v D0pamine
[19:09:17] <qknight> KittyCat: can you explain what the alsa backend does here
[19:09:28] <qknight>             SuspendContext(NULL);
[19:09:28] <qknight>             WritePtr = (char*)areas->addr + (offset * areas->step / 8);
[19:09:29] <qknight>             WriteCnt = psnd_pcm_frames_to_bytes(data->pcmHandle, frames);
[19:09:42] <qknight> especially what the add+ (offset*areas->step / 8) does
[19:10:05] <qknight> nitrotrigger: look at the example code
[19:13:04] <KittyCat> the addr is the start of the memory segment. the offset is the number of frames from the start and the step is the number of bits between samples
[19:13:28] <nitrotrigger> qknight: why?
[19:14:01] <qknight> nitrotrigger: because you ask which source to play
[19:14:06] <qknight> nitrotrigger: read an example
[19:14:12] <nitrotrigger> did I?
[19:14:21] <qknight> 17:04 < nitrotrigger> "how do I tell OpenAL which source to play?"
[19:14:26] <qknight>  /ignore nitrotrigger
[19:15:19] <nitrotrigger> I don't see a question asked there
[19:17:30] <KittyCat> he was about to ask it, then realized it was a dumb question
[19:17:48] *** Walt_ has joined #openal
[19:18:44] <nitrotrigger> actually I said that to give some credit to the well designed interface of openal
[19:19:54] <nitrotrigger> maybe I have been using so badly designed libraries that I wasn't expecting that
[19:20:26] <qknight> KittyCat: doesn't matter, he is ignored anyway
[19:20:43] <nitrotrigger> how come that "doesn't matter"
[19:20:45] <nitrotrigger> ?
[19:20:50] <qknight> KittyCat: why don't i need such code in my pulseaudio backend?
[19:20:55] <nitrotrigger> it changes the whole idea of what I was saying
[19:21:02] <qknight>     SuspendContext(NULL);
[19:21:02] <qknight>     WritePtr = data;//(char*)areas->addr + (offset * areas->step / 8);
[19:21:02] <qknight>     WriteCnt = length;//psnd_pcm_frames_to_bytes(data->pcmHandle, frames);
[19:21:02] <qknight>     aluMixData(device_->Context, WritePtr, WriteCnt, device_->Format);
[19:21:02] <qknight>     ProcessContext(NULL);
[19:21:05] <qknight> this is all i do
[19:21:33] <nitrotrigger> if someone should be ignored it's qknight for that flood
[19:22:54] <KittyCat> it seems pulseaudio gives you the start of the memory to write to. alsa just gives you the mmap'd segment and current offset
[19:28:48] * KittyCat is away: sleep
[19:39:39] <qknight> sleep>?
[19:39:40] <qknight> ;-)
[20:07:28] <D0pamine> KittyCat , latency isnt an issue using normal stereo
[20:12:27] <D0pamine> oh he asleep :(
[20:12:32] <D0pamine> bless him :)
[21:06:38] *** Walt_ has quit IRC
[21:17:04] *** D0pamine has quit IRC
[21:19:32] *** predaeus has quit IRC
[21:40:07] *** D0pamine has joined #openal
[21:40:11] *** ChanServ sets mode: +v D0pamine
[22:51:38] *** Walt_ has joined #openal
[23:07:12] *** nitrotrigger has quit IRC
[23:12:20] *** juanmabc has quit IRC
[23:26:27] *** D0pamine has quit IRC
[23:28:47] *** D0pamine has joined #openal
[23:28:48] *** ChanServ sets mode: +v D0pamine

top