| [07:44] | <nerochiaro> | _may1937_: you around ? |
| [07:59] | <sorune> | Is there any known reason why GetOutputBuffer will not allocate an audio buffer? |
| [08:00] | <nerochiaro> | sorune: it should, anders used that for xmms2 i think |
| [08:01] | <sorune> | it works the first time my program is called after a reboot |
| [08:01] | <sorune> | but after that it doesn't |
| [08:01] | <sorune> | so, maybe I need to call a cleanup routine? |
| [08:02] | <nerochiaro> | try closing the audio and reopening it, like you do at the start of the program |
| [08:03] | <sorune> | I do an OutputFinish at the end of the program... is that enough? |
| [08:05] | <sorune> | nerochiaro: do you mean to do the OutputSelect, OutputInit, OutputStart before exit? |
| [08:06] | <nerochiaro> | no, i mean before you try another time. outputclose should be the right thing to close |
| [08:06] | <nerochiaro> | er, outputfinish |
| [08:06] | <sorune> | ok, i'm doing that |
| [08:07] | <nerochiaro> | maybe you also need an outputflush before closing, i'm not sure |
| [08:08] | <sorune> | i saw another program using that before outputfinish, but that's bad because you loose the last of the audio |
| [08:08] | <sorune> | can it be used after outputfinish? |
| [08:09] | <nerochiaro> | i think i was wrong, it's probably needed to discard a piece of the buffer |
| [08:10] | <nerochiaro> | i'm looking into nmsd, and it just calls outputfinish to stop |
| [08:33] | <sorune> | nerochiaro: have you written any programs that use this method? if so, can you try one of them on the trunk? |
| [08:33] | <nerochiaro> | i don't have a test program ready that i can try right now, sorry |
| [08:44] | <sorune> | wow, just updated to today's trunk and the rootfs size if ~10% lighter... congrats! |
| [08:45] | <sorune> | *is |
| [08:46] | <sorune> | ah, new bmps... well, that doesn't count :) |
| [08:51] | <nerochiaro> | they should be compressed a lot just by cramfs |
| [08:57] | <sorune> | ah, i haven't flashed in a month or so... netbooting is much easier :) |
| [08:58] | <nerochiaro> | now that there's that build helper script, it is easier |
| [08:59] | <sorune> | even better... only found out about it a couple days ago though |
| [08:59] | * sorune wonders what other neat tricks there are | |
| [09:02] | <nerochiaro> | things are a bit under-documented, i give you that |
| [09:18] | <vmarks> | hm |
| [09:20] | <sorune> | hey vmarks, when I googled this OutputGetBuffer problem, I think you may have run into the same issue last year? |
| [09:24] | <nerochiaro> | sorune: take a look at this, see if you can get some hints on stuff you forget to do or do differently: tinyurl.com |
| [09:26] | <sorune> | nerochiaro: yeah, i've seen that... i'm betting it won't work with the trunk |
| [09:26] | <sorune> | nerochiaro: at least not if you run it twice |
| [09:28] | <nerochiaro> | ok |
| [09:29] | <nerochiaro> | if you have a minimal test case that you can post that shows this problem, that would be really helpful |
| [09:29] | <sorune> | currently, it's not minimal... but give me a few minutes... |
| [09:30] | <nerochiaro> | sure |
| [09:43] | <sorune> | nerochiaro: pastebin.ca |
| [09:46] | <sorune> | nerochiaro: only pass it 44100/2 channel wav file |
| [09:47] | <nerochiaro> | i'll give it a look in a bit |
| [10:04] | <sorune> | nerochiaro: oh, i tried it with and w/o the PluginUnload() at the end and that isn't the problem. |
| [10:07] | <vmarks> | hi nerochiaro. |
| [10:13] | <shirour> | hi everybody. what's up? |
| [10:27] | <nerochiaro> | sorune: sorry, i thought i would finish fixing up a problem i'm working on quickly, but it seems not. i'll save your test and give it a look later, maybe even ask someone in the team if i can reproduce your problem. can't do it now though, sorry |
| [10:28] | <nerochiaro> | in an unrelated question, anyone knows how to force the output of a kernel backtrace ? |
| [10:30] | <_may1937_> | nerochiaro: hi |
| [10:30] | <nerochiaro> | may1937: hi, check the mentors channel plz |
| [10:30] | <may1937> | isn't the backtrace just in dmesg? |
| [10:32] | <nerochiaro> | may1937: when it panics. i wanted to know if i could generate it at any point |
| [10:32] | <nerochiaro> | well, maybe i can just force a panic, that would probably be good enough |
| [10:32] | <may1937> | just dereference a null pointer |
| [10:32] | <nerochiaro> | or call panic() ? |
| [10:32] | <may1937> | maybe so |
| [10:44] | <crweb> | nerochiaro: btw, still waiting for those commits from john. |
| [10:45] | <nerochiaro> | crweb: i don't know, remind him with an email. he should've done them yesterday |
| [10:55] | <may1937> | nerochiaro: let me know if panic() worked out for you |
| [10:56] | <nerochiaro> | may1937: it worked, but no backtrace. so i just did as you said and deref'd a null pointer. worked |
| [10:56] | <may1937> | ah, cool |
| [10:57] | <nerochiaro> | may1937: yep. new trick in the bag :) |
| [10:57] | <may1937> | and you just gotta love it =] |
| [10:57] | <nerochiaro> | jejeje (<- spanish laugh thing) |
| [10:58] | <sorune> | aren't you italian :) |
| [10:59] | <nerochiaro> | sorune: yeah, in fact I don't do that. but since i just discovered that, i'm using it sometimes |
| [11:00] | <may1937> | didn't realize that came from spanish |
| [11:00] | <may1937> | do they really laugh like that? |
| [11:01] | <sorune> | j in spanish is h? like in Jose? |
| [11:01] | <nerochiaro> | may1937: someone explained to me that the "h" sound in "ha" or "he" is mute in spanish, and the equivalent is "J" |
| [11:01] | <nerochiaro> | like sorune said |
| [11:02] | <may1937> | oh, of course |
| [11:39] | <JoeyBorn> | nerochiaro: you around? |
| [11:39] | <nerochiaro> | JoeyBorn: aye. i did just PM you |
| [11:39] | <nerochiaro> | but you disconnected |
| [11:39] | <JoeyBorn> | yeah, sorry |
| [11:40] | <nerochiaro> | np, did you need me yesterday ? I saw you msg'd me when i was already gone |
| [11:43] | <JoeyBorn> | no, not really anything urgent. |
| [12:59] | <vmarks> | ssshhhh. |
| [17:25] | <vmarks> | JoeyBorn: I was in chicago briefly yesterday |
| [17:26] | <JoeyBorn> | vmarks: cool, sorry I know you've told me, but where are you based? |
| [17:26] | <vmarks> | north carolina |
| [17:26] | <vmarks> | I had to go to Shelbyville, IL for two days. |
| [17:28] | <vmarks> | I bet you don't know where that is offhand. |
| [17:31] | <vmarks> | too many of you |
| [17:32] | <vmarks> | JoeBorn: had I know ahead of time, I would have let you know |
| [18:56] | <drawnout> | is it normal for the osd to play full screen video smaller than the screen? |
| [19:10] | <vmarks> | hello |
| [20:01] | <vmarks> | hello |
| [23:43] | <v0dka> | nite |