Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2017-07-26

00:06:28 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
00:18:00***Saving seen data "./dancer.seen"
00:25:23 Join PimpiN8 [0] (~textual@145.132.155.235)
01:00
01:06:56 Quit ender` (Quit: Is there like a way to put a compiler in "Just trust me on that one" mode?)
01:45:51 Quit _meg (Ping timeout: 240 seconds)
01:47:16 Join Defenestrate [0] (~defenestr@124-168-220-45.dyn.iinet.net.au)
01:48:11 Join _meg [0] (~notsure@211.25.203.45)
01:50:50 Quit Defenestrate (Client Quit)
01:52:06 Join Defenestrate [0] (~defenestr@unaffiliated/defenestrate)
02:00
02:18:03***Saving seen data "./dancer.seen"
02:35:27 Join nlogex [0] (~nlogex@198-16-168-171.on.cable.ebox.net)
02:54:36 Quit PimpiN8 (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:00
03:31:37 Join Ruhan [0] (uid76353@gateway/web/irccloud.com/x-axuvjinnzlugkoay)
03:55:51 Quit jhMikeS (Ping timeout: 255 seconds)
04:00
04:17:15 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
04:18:05***Saving seen data "./dancer.seen"
04:19:45 Quit gevaerts (Remote host closed the connection)
04:19:57 Join gevaerts [0] (~fg@rockbox/developer/gevaerts)
04:22:52 Quit SammysHP (Ping timeout: 260 seconds)
04:23:07 Join SammysHP [0] (~SammysHP@faol.sammyshp.de)
05:00
05:01:35 Quit chrisb (Read error: Connection reset by peer)
05:09:52 Join chrisb [0] (~chrisb@pool-71-175-248-201.phlapa.east.verizon.net)
05:41:08 Quit Ruhan (Quit: Connection closed for inactivity)
05:52:29 Nick SovietShaman is now known as CommunistWitchDr (quasselcor@97-87-177-85.dhcp.stls.mo.charter.com)
06:00
06:07:06 Quit chrisb (Read error: Connection reset by peer)
06:10:25 Join chrisb [0] (~chrisb@pool-71-175-248-201.phlapa.east.verizon.net)
06:18:06***Saving seen data "./dancer.seen"
07:00
07:00:11 Quit TheSeven (Disconnected by services)
07:00:19 Join [7] [0] (~quassel@rockbox/developer/TheSeven)
07:29:08 Quit Defenestrate (Quit: Defenestrate)
07:46:00 Join Defenestrate [0] (~defenestr@unaffiliated/defenestrate)
08:00
08:13:40 Quit amiconn (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
08:13:40 Quit pixelma (Quit: .)
08:18:09***Saving seen data "./dancer.seen"
08:18:38 Join amiconn [0] (~amiconn@rockbox/developer/amiconn)
08:18:38 Join pixelma [0] (~pixelma@rockbox/staff/pixelma)
08:29:01 Quit jhMikeS (Ping timeout: 255 seconds)
08:30:59 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
08:35:32 Quit jhMikeS (Ping timeout: 258 seconds)
08:42:31 Join ender` [0] (krneki@foo.eternallybored.org)
08:43:44 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
08:49:40 Join iceCalt [0] (~iceCalt@5.146.198.73)
09:00
09:16:38 Quit Defenestrate (Quit: Defenestrate)
09:16:40 Join PimpiN8 [0] (~textual@145.132.155.235)
09:22:31 Quit iceCalt (Read error: Connection reset by peer)
09:22:59 Join iceCalt [0] (~iceCalt@5.146.198.73)
09:25:43 Quit dys (Ping timeout: 255 seconds)
09:26:27 Quit _meg (Ping timeout: 240 seconds)
09:27:49 Join _meg [0] (~notsure@211.25.203.45)
09:35:06 Quit PimpiN8 (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:41:53 Quit jhMikeS ()
09:42:13 Quit The_Prospector (Read error: Connection reset by peer)
09:46:23 Join The_Prospector [0] (~The_Prosp@unaffiliated/cornman)
09:56:17 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
09:59:04 Quit JdGordon (Ping timeout: 240 seconds)
10:00
10:00:29 Quit _meg (Ping timeout: 240 seconds)
10:02:23 Join _meg [0] (~notsure@211.25.203.45)
10:08:32 Join dys [0] (~dys@2003:5b:203b:100:6af7:28ff:fe06:801)
10:12:36 Join Defenestrate [0] (~defenestr@unaffiliated/defenestrate)
10:16:12 Join PimpiN8 [0] (~textual@145.132.155.235)
10:18:10***Saving seen data "./dancer.seen"
10:19:11 Quit PimpiN8 (Client Quit)
10:30:55 Quit mc2739 (Ping timeout: 258 seconds)
10:35:19 Join mc2739 [0] (~mc2739@rockbox/developer/mc2739)
10:42:27 Quit iceCalt (Remote host closed the connection)
11:00
11:06:37 Quit vflyson- (Quit: ZNC 1.6.5 - http://znc.in)
11:07:36 Join vflyson [0] (~vflyson@cupcake.uberspace.net)
11:13:57 Quit paulk-gagarine (Ping timeout: 240 seconds)
11:20:53 Join funman_ [0] (~fun@2001:41d0:a:138a::1)
11:22:09 Quit jeandet (Ping timeout: 276 seconds)
11:22:09 Quit Jack87 (Ping timeout: 276 seconds)
11:22:11 Quit funman (Ping timeout: 240 seconds)
11:22:24 Quit quaz0r (Ping timeout: 276 seconds)
11:22:30 Join paulk-gagarine [0] (~paulk-gag@gagarine.paulk.fr)
11:22:38 Nick funman_ is now known as funman (~fun@2001:41d0:a:138a::1)
11:22:41 Quit funman (Changing host)
11:22:41 Join funman [0] (~fun@rockbox/developer/funman)
11:24:43 Join Jack87 [0] (~Jack87@nasadmin/admin/jack87)
11:24:54 Join quaz0r [0] (quaz@c-67-183-243-24.hsd1.wa.comcast.net)
11:28:16 Quit Topy44 (Ping timeout: 276 seconds)
11:28:31 Join Topy44 [0] (jwfam1viLZ@2a00:d0c0:200:0:b9:1a:9c23:400)
11:40:40 Join iceCalt [0] (~iceCalt@5.146.198.73)
12:00
12:18:13***Saving seen data "./dancer.seen"
12:34:49 Quit Jinx (Ping timeout: 246 seconds)
12:47:15 Join Jinx [0] (Dojo@unaffiliated/jinx)
12:55:50 Join robertd1 [0] (~root@200.109.42.11)
13:00
13:12:00 Join jeandet [0] (sid239360@gateway/web/irccloud.com/x-gxztbgmykhkdsvuy)
13:46:34 Quit paulk-gagarine (Ping timeout: 240 seconds)
13:50:37 Join paulk-leonov [0] (~paulk-leo@2a01:474:4:22::)
13:55:58 Join paulk-gagarine [0] (~paulk-gag@gagarine.paulk.fr)
13:57:04 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
13:57:31 Quit paulk-leonov (Quit: Leaving)
13:57:53 Quit JdGordon (Client Quit)
14:00
14:06:00 Join xorly [0] (~xorly@ip-86-49-24-93.net.upcbroadband.cz)
14:18:16***Saving seen data "./dancer.seen"
14:26:59 Join ZincAlloy [0] (~Adium@ipb218f3ed.dynamic.kabel-deutschland.de)
14:41:22 Quit The_Prospector (Quit: when in doubt, kernel panic)
14:41:22 Join ZincAlloy1 [0] (~Adium@ipb218f3ed.dynamic.kabel-deutschland.de)
14:41:22 Quit ZincAlloy (Read error: Connection reset by peer)
14:41:49 Join ZincAlloy [0] (~Adium@ipb218f3aa.dynamic.kabel-deutschland.de)
14:45:43 Quit ZincAlloy1 (Ping timeout: 246 seconds)
14:46:39 Join The_Prospector [0] (~The_Prosp@unaffiliated/cornman)
14:48:32 Join ZincAlloy1 [0] (~Adium@ipb218f3ed.dynamic.kabel-deutschland.de)
14:49:28 Join ZincAlloy2 [0] (~Adium@ipb218f3ed.dynamic.kabel-deutschland.de)
14:49:28 Quit ZincAlloy1 (Read error: Connection reset by peer)
14:50:25 Join ZincAlloy1 [0] (~Adium@ipb218f2c0.dynamic.kabel-deutschland.de)
14:51:19 Quit ZincAlloy (Ping timeout: 246 seconds)
14:53:34 Quit ZincAlloy2 (Ping timeout: 240 seconds)
14:55:04 Quit ZincAlloy1 (Read error: Connection reset by peer)
14:55:04 Join ZincAlloy [0] (~Adium@ipb218f2c0.dynamic.kabel-deutschland.de)
15:00
15:03:41 Join ZincAlloy1 [0] (~Adium@ipb218f2c0.dynamic.kabel-deutschland.de)
15:03:41 Quit ZincAlloy (Read error: Connection reset by peer)
15:06:39 Quit _meg (Ping timeout: 276 seconds)
15:10:33 Join _meg [0] (~notsure@211.25.203.45)
15:30:58 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
15:46:17 Quit iceCalt (Remote host closed the connection)
15:57:31 Join ZincAlloy [0] (~Adium@ipb218f34b.dynamic.kabel-deutschland.de)
15:59:49 Quit ZincAlloy1 (Ping timeout: 240 seconds)
16:00
16:17:11 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
16:18:20***Saving seen data "./dancer.seen"
17:00
17:03:00 Quit pamaury (Ping timeout: 276 seconds)
17:22:30 Join johnb3 [0] (~johnb2@p5B3AFE63.dip0.t-ipconnect.de)
17:26:49 Join krabador [0] (~krabador@unaffiliated/krabador)
17:51:49 Quit johnb3 (Quit: Nettalk6 - www.ntalk.de)
18:00
18:01:50 Quit Defenestrate (Quit: Defenestrate)
18:07:34 Quit _meg (Ping timeout: 240 seconds)
18:08:37 Join _meg [0] (~notsure@211.25.203.45)
18:14:54 Join johnb3 [0] (~johnb2@p5B3AFE63.dip0.t-ipconnect.de)
18:18:23***Saving seen data "./dancer.seen"
18:34:58 Join slyra [0] (542a1418@gateway/web/freenode/ip.84.42.20.24)
18:35:29 Quit johnb3 (Ping timeout: 240 seconds)
18:36:34 Quit _meg (Ping timeout: 240 seconds)
18:38:59 Join _meg [0] (~notsure@211.25.203.45)
18:41:09 Quit dys (Ping timeout: 276 seconds)
18:49:11slyraHello! I'm wanna to use rbcodecs in my own project. You know already) I've succeeded to building all libraries and codecs on STM32, I've wrote own wrappers and other things to get codecs work with minimal rockbox system sources. And now is everything fine! Codecs working ok from MCU's memory, metadata and decoding is fine! Everything is awesome. But when I wanted to use dsp - I've faced with a problems - DAC output is crazy - whistles a
18:50:01slyraWhere can I set DSP depth? Is DSP's depth depend on source depth? Can I disable signess?
18:50:24slyraI didn't found that settings.
18:51:23duo8depth?
18:53:14 Join dys [0] (~dys@ip-109-44-2-206.web.vodafone.de)
18:53:22slyraYeah bit depth of output stream
18:53:28slyraper sample
18:53:49slyraI found DSP_SET_SAMPLE_DEPTH
18:54:24slyrabut it is source depth(of audio file) I think
18:59:06 Join lebellium [0] (~chatzilla@89-93-178-245.hfc.dyn.abo.bbox.fr)
19:00
19:02:37 Quit _meg (Ping timeout: 246 seconds)
19:04:46 Join _meg [0] (~notsure@211.25.203.45)
19:05:46duo8i think it's fixed to 16 bit
19:05:49duo8not sure
19:11:58slyraHow is that possible and why?
19:12:05slyraI'll wait for pamaury
19:19:29 Quit mmint (Ping timeout: 240 seconds)
19:21:36 Join iceCalt [0] (~iceCalt@5.146.198.73)
19:23:41 Join mmint [0] (~mmint@unaffiliated/mmint)
19:39:44 Quit JdGordon_ (Ping timeout: 248 seconds)
20:00
20:18:24***Saving seen data "./dancer.seen"
20:22:57__builtinwell, I managed to get sgt-mines to work
20:23:31 Quit _meg (Ping timeout: 255 seconds)
20:23:33__builtinturns out the bugs were the result of some weird memset calls, with a negative fill value
20:24:01__builtini.e. memset(state->grid, -1, wh)
20:24:04 Join _meg [0] (~notsure@211.25.203.45)
20:26:03 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
20:26:44gevaertsWhy would that cause issues?
20:29:48__builtinmy bad, it actually works with -1
20:30:00__builtinbut with different values it doesn't
20:31:35__builtinI'm not sure exactly why, but trying to use memset to fill it with -2 would actually end up with some bytes having the value -1 instead
20:31:48slyra__builtin: Do you know about what about output bit depth of the DSP? How can I configure that?
20:32:13__builtinslyra: sorry, not my area of expertise
20:32:30__builtinbut I *think* we only do 16-bit
20:34:08TheLemonMan__builtin, looks like your memset isn't discarding the top 24 bits of the fill parameter
20:34:31__builtinwhich memset does rockbox use? GCC's built-in one?
20:34:39slyraOkay, thanks
20:35:21__builtinTheLemonMan: ah, that explains it
20:36:30gevaertsWe do have our own memset, but I don't know if it's always used or for fallback cases where the compiler doesn't provide it
20:37:09__builtinfor now I just provided a wrapper local to the plugin, that should work
20:37:54gevaerts"The memset function copies the value of c (converted to an unsigned char) into each of the first n characters of the object pointed to by s."
20:38:22gevaertsNow I'm not sure what "converted to an unsigned char" means exactly for a negative number
20:38:27gevaertsCast? Truncated?
20:38:41TheLemonMantake the two complement and truncate it
20:38:50__builtinusually it truncates
20:39:14__builtinGCC might have an optimized version that doesn't
20:40:48gevaertsI'd hope not. Memset is a pretty fundamental function, and gcc is not exactly a new fly-by-night compiler
20:41:05gevaertsFirst thing would be to check if it's our memset or gcc's, I guess
20:41:45__builtinit *is* pretty odd to be filling with -2
20:42:21gevaertsMaybe, but not wrong
20:44:04__builtinI'll ask in ##c
20:45:33__builtinactually first, here's the memset that it was using: https://pastebin.com/nxKkidkC
20:46:51__builtinI'm not sure whether that's rockbox's or gcc's though
20:48:49gevaertsDoesn't look like a memset to me. Not that I'm a great asm reader
20:49:18gevaertsWait, what target are you on?
20:49:23__builtinipod6g
20:49:25TheLemonManthat's a stub that calls into the real memset
20:51:45__builtinhmm, where's the real one located then?
20:52:56TheLemonManyou have to follow the pointers, check out what's at 0x0bf9774c
20:53:21TheLemonManerr, 0x0bf912c4
20:53:58gevaerts0x0bf9774c I think
20:54:14gevaerts0x0bf912c4 is where the number 0x0bf9774c sits, isn't it?
20:54:22__builtinthe disassembly of the plugin ends before that
20:57:32gevaertsRight. It's probably called throuch rb->memset(), which would explain why there's a stub
20:57:33TheLemonManthat's rb->memset, isn't it?
20:58:55__builtinwhere's the code for that then?
20:59:36 Join PimpiN8 [0] (~textual@145.132.155.235)
20:59:42TheLemonManyou're being lazy here :) what about plugin.c ?
20:59:56__builtinI see at least 3 implementations in firmware/asm
21:00
21:04:03__builtinah, it appears it looks for a target-specific implementation in firmware/asm/$arch first, and then falls back to the generic .c ones in the same directory
21:38:34 Quit _meg (Ping timeout: 240 seconds)
21:39:15 Join _meg [0] (~notsure@211.25.203.45)
22:00
22:18:26***Saving seen data "./dancer.seen"
22:47:03 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170628075643])
22:58:33 Quit robertd1 (Ping timeout: 276 seconds)
22:59:43__builtinthere are some games that sgt-puzzles provides exact duplicates of (codebuster, flipit, minesweeper)
23:00
23:00:23__builtinas well as some wiith very similar functionality (clix and sliding_puzzle)
23:00:47__builtinshould we keep them around or deprecate them?
23:03:36iceCaltMake it optional? Gotta go for a run.
23:04:08 Quit iceCalt (Remote host closed the connection)
23:04:39 Join saratoga [0] (86ae6e0e@gateway/web/freenode/ip.134.174.110.14)
23:05:43saratogaslyra: most codecs output 32 bit samples (although they don't have to), the DSP engine then processes everything at 32 bit, converts to 16 bit and then passes it to the pcm mixing/buffering system and finally the dac
23:09:56slyraIs it possible to not to convert to 16bit? I just intended to develop HiFi player and I'm using good 24bit DAC(cs4398).
23:10:05slyraThanks for the answer
23:12:27saratogathe codecs don't convert to 16
23:12:34saratogawhat are you actually using?
23:18:29slyraNot the codecs - I know that they transfers data to the DSP on their own bitrate. That part "converts to 16 bit and then passes it to the pcm mixing/buffering". Where that operation is done?
23:18:38 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
23:20:56 Join webguest51 [0] (~5d43b0ab@www.haxx.se)
23:22:47slyraI just drag off your rbcodecs and other required for that stuff and wrote some functions to get it work on my own STM32 project. Now I'm trying to get sound from modified warble example. I've succeeded to get after DSP some recognizable song noises.
23:23:23slyraBut it was with 16bit
23:24:33 Quit mmint (Ping timeout: 276 seconds)
23:24:33slyraI want that DSP converts stream not to 16bit but to 24bit. Is it possible?
23:25:01slyraAnd where do I need to look at?
23:25:52 Quit webguest51 (Quit: CGI:IRC (Ping timeout))
23:27:41 Join mmint [0] (~mmint@unaffiliated/mmint)
23:28:03 Quit shmibs (Quit: leaving =o)
23:29:28 Join shmibs [0] (~shmibs@shmibbles.me)
23:38:34saratogaif you are using warble you don't even have our PCM buffering code
23:42:05saratogai think if you don't use the DSP, you can do 32, 64.. output
23:42:42saratogaif you do use dsp, it converts to 16 bit before returning, because that is what the pcm buffering expects
23:42:43slyraOkay, that's good. How is formatted *pcm stream in that method? "static void playback_pcm(int16_t *pcm, int count)". What depth and signess?
23:42:57saratogainternally it is all 32 bit though, so you can have it return any format you want
23:43:43slyrawow. And in that *pcm samples are 32bit too? Awesome
23:43:48slyraThanks!
23:46:31saratogasee dsp_sample_output_format_change in https://github.com/Rockbox/rockbox/blob/master/lib/rbcodec/dsp/dsp_sample_output.c
23:46:46slyraAnd what count means? byte count, samples count?
23:46:50__builtinslyra: in that context they've already been converted to 16-bit though
23:47:31saratogathat lets you choose which function is used to copy output samples
23:47:38saratogafor example, sample_output_stereo truncates to 16 bit
23:47:48saratogasample_output_dithered dithers to 16 bit
23:48:11saratogai think you just need to define a sample_output_24bit function
23:48:34slyraGot it
23:49:39saratogain warble.c, I believe this is what is used to return data in dsp_process
23:49:52saratogaline 458
23:50:24saratogawhich is why you get 32 bit if you don't set use_dsp to true
23:50:55slyrause_dsp is true
23:51:02saratogayeah
23:52:22saratogabasically, dsp_process only has 16 bit formats defined, so if you enable DSP, you go through one of those
23:52:42saratogabut you can define whatever format you want
23:53:09slyrathnx, I understood
23:59:00saratogais this code you're working on up somewhere?

Previous day | Next day