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).

Notice: Only Gecko based browsers prior to FF4 support the multipart/mixed "server push" method used by this log reader to auto-update. Since you do not appear to use such a browser, this page will simply show the current log, and not automatically update.

#rockbox log for 2021-11-17

00:10:30***Saving seen data "./dancer.seen"
01:00
01:35:31 Join ufdm_ [0] (~ufdm@c-73-164-63-214.hsd1.mn.comcast.net)
01:35:31 Quit ufdm (Read error: Connection reset by peer)
02:00
02:10:31***Saving seen data "./dancer.seen"
03:00
03:01:34 Quit tchan (Read error: Connection reset by peer)
03:02:16 Join tchan [0] (~tchan@c-98-206-141-238.hsd1.il.comcast.net)
03:14:34 Quit tchan (Read error: Connection reset by peer)
03:16:16 Join tchan [0] (~tchan@c-98-206-141-238.hsd1.il.comcast.net)
03:59:43 Quit CasBot (Remote host closed the connection)
04:00
04:01:38 Quit danwellby (Ping timeout: 260 seconds)
04:10:33***Saving seen data "./dancer.seen"
05:00
05:43:38 Join nihilazo [0] (~nihilazo@2607:f298:5:101d:f816:3eff:fe1a:29a3)
06:00
06:00:08nihilazoI'm looking at the mikmod.c file to see how doing audio output in a plugin works but I'm confused, what is VC_WriteBytes(outptr, BUF_SIZE); doing?
06:01:13nihilazoI don't really understand how this works from just reading the code
06:02:46gevaertsMy guess is that that uses abstraction layers to deal with imported code
06:05:10nihilazowhat I want to do is play audio that is outputted by a function, I'm looking to port this SDL code https://git.sr.ht/~rabbits/uxn/tree/main/item/src/uxnemu.c#L59
06:05:15nihilazobut I'm not sure how to do it
06:10:37***No seen item changed, no save performed.
06:14:08nihilazoI'm mostly just confused by how audio output from rockbox plugins works at all
06:20:03nihilazowhat do I need to do in the callback in order to output audio data?
06:25:21 Quit asaba (Quit: Relay server offline)
06:25:42 Join asaba [0] (~asabas@103.113.159.250)
06:42:12 Join CasBot [0] (~matrixbot@connolly.tech)
06:45:02 Join CasBot1 [0] (~matrixbot@connolly.tech)
06:45:02 Quit CasBot (Read error: Connection reset by peer)
06:59:38 Quit nihilazo (Remote host closed the connection)
06:59:57 Join nihilazo [0] (~nihilazo@2607:f298:5:101d:f816:3eff:fe1a:29a3)
07:00
07:02:53speachynihilazo: fill the supplied buffer with the required number of bytes.
07:03:41nihilazois the supplied buffer just an array in memory? Or does it have to be anything different
07:06:18speachyyep, it's just an array.
07:07:10speachyyou can't assume it'll be the same buffer each time
07:07:26nihilazooh, is there already a buffer supplied?
07:07:34nihilazoor do I make my own array as a buffer
07:09:27speachyyes, there is a buffer supplied.
07:10:11nihilazoahh
07:10:40nihilazois that the one you get with mixer_channel_get_buffer?
07:11:08speachyand the mixer_channel_play_data() call that starts playback IIRC can be supplied with an initial buffer or just the callback (which owuld be called immediately if no initial data was supplied)
07:11:38nihilazoah ok. And then your callback writes data into the buffer it gets through the start parameter
07:11:50speachynihilazo: yes, but due to double-buffering you can't assume the buffer returned by _get_buffer() is always what you want.
07:11:55nihilazooh
07:12:39speachyIIUC where _get_buffer() is helpful is when you're doing things like generating visualization on the buffer contents
07:13:27speachyyeah, looks like only the fft plugin uses it.
07:13:58nihilazooh ok
07:14:05speachy(the fft plugin doesn't _generate_ data, just visualizes what is already playing. see apps/plugins/fft/fft.c)
07:14:08nihilazoso the buffer I should use is the one that gets bassed to the callback
07:14:12nihilazos/bassed/passed/
07:14:15speachyexclusively, yes.
07:14:17nihilazook
07:14:27nihilazoand the size parameter, that's how many bytes I should write into the buffer?
07:15:49speachyI think it's in raw bytes, but I'd double-check that.
07:16:20speachysome stuff uses frames (eg a stereo 16bit frame is 16b*2 = 4 bytes)
07:16:40nihilazook
07:17:28speachyyep, mixer api uses raw bytes.
07:17:55speachy(pcm api uses frames, or at least it does at the hw level)
07:18:50nihilazook
07:19:00nihilazothis seems simple enough
07:19:08nihilazoat least, to get a first version going
07:19:32speachyI gotta scoot. good luck
08:00
08:10:41***Saving seen data "./dancer.seen"
08:52:59 Join massiveH [0] (~massiveH@ool-4a5862ee.dyn.optonline.net)
09:00
09:14:25 Nick zizzy is now known as zizzy|m (sid385519@lymington.irccloud.com)
09:14:33 Nick zizzy|m is now known as zizzy (sid385519@lymington.irccloud.com)
10:00
10:10:43***No seen item changed, no save performed.
10:12:00 Quit JanC (Remote host closed the connection)
10:12:15 Join JanC [0] (~janc@user/janc)
10:16:26 Quit massiveH (Quit: Leaving)
11:00
11:20:16 Quit ddevault (Remote host closed the connection)
11:27:56 Join ddevault [0] (e7b4bb6755@sourcehut/staff/ddevault)
12:00
12:07:09 Join ZincAlloy [0] (~Adium@ip5f5abcae.dynamic.kabel-deutschland.de)
12:10:45***Saving seen data "./dancer.seen"
12:50:35 Join lebellium [0] (~lebellium@2a01cb04012c09003947a2a2184a31a4.ipv6.abo.wanadoo.fr)
12:52:58 Join MayeulC [0] (~mayeulc@2001:470:69fc:105::35e)
12:56:16MayeulCHello, I am curious about the feasibility of a Linux port on the Ipod classic. Unfortunately, I don't even know what CPU it uses besides "it's ARM"
12:57:48MayeulCThe wiki says it's similar to the Ipod Nano Second gen, but the hardware section is empty there: https://www.rockbox.org/wiki/IPodNano2GPort
13:00
13:00:12 Join Aaron [0] (~Aaron@146.88.46.3)
13:03:59 Quit Aaron (Client Quit)
13:08:54sporkhttp://www.ipodlinux.org/Project_Status/
13:09:03spork'6th' is the 'classic'
13:09:32sporkit shares a note with the nano 2/3
13:16:58MayeulCThe firmware was decrypted since then
13:17:15MayeulCFrom the page I linked:
13:17:26MayeulC> In mid-2009, a vulnerability in the iPod's original firmware was discovered in its "Notes" application. This was exploited and used to dump the Boot ROM from within the Samsung SOC. This then allowed decrypting and dumping of the contents of the NOR flash (containing the iPod's bootloader, disk mode and diagnostic mode), which in turn allowed the encryption of the main firmware partition to be understood.
13:17:34MayeulCrockbox runs on it
13:17:55sporkrockbox is not linux though
13:18:05MayeulC> It is now possible to encrypt (using the AES hardware crypto unit inside the Samsung SoC) a bootloader and install it onto an iPod Nano 2G's firmware partition using ipodpatcher. Bootloader binaries are encrypted on an ipod using the crypt_firmware viewer plugin.
13:18:14MayeulCNo, of course not
13:18:28MayeulCBut the technical limitation noted in that table doesn't apply
13:22:11 Quit jackie (Quit: jackie)
13:22:55sporkfair enough
13:25:04 Join jackie [0] (~jackie@2a01:4f8:201:34c7::1)
13:50:12 Quit lebellium (Read error: Connection reset by peer)
13:50:34 Join lebellium [0] (~lebellium@2a01cb04012c09003947a2a2184a31a4.ipv6.abo.wanadoo.fr)
14:00
14:08:48 Quit asaba (Quit: Relay server offline)
14:09:18 Join asaba [0] (~asabas@103.113.159.250)
14:10:48***Saving seen data "./dancer.seen"
15:00
15:01:19 Quit nihilazo (Quit: mi tawa!)
15:05:42 Quit lebellium (Ping timeout: 265 seconds)
15:34:33 Join lebellium [0] (~lebellium@2a01cb04012c0900cc3b011f3c40d986.ipv6.abo.wanadoo.fr)
16:00
16:10:49***Saving seen data "./dancer.seen"
16:25:42 Join Longclaw [0] (bouncer@xn--n8jr8c7341a.xn--q9jyb4c)
17:00
17:10:00 Quit lebellium (Quit: Leaving)
17:53:17 Quit wolfshappen (Quit: later)
17:56:23 Quit jschwart (Ping timeout: 268 seconds)
18:00
18:08:57 Join Solanacean_ [0] (solanacean@176.214.16.178)
18:10:50***Saving seen data "./dancer.seen"
18:10:59 Quit Solanacean (Ping timeout: 265 seconds)
18:13:39 Quit ZincAlloy (Quit: Leaving.)
18:38:26 Join wolfshappen [0] (~waff@irc.furworks.de)
19:00
19:33:49 Quit rb-bluebot (Ping timeout: 268 seconds)
19:35:40 Quit bluebrother (Ping timeout: 268 seconds)
19:46:49 Join rb-bluebot [0] (~rb-bluebo@rockbox/bot/utility)
19:47:02 Join bluebrother [0] (~dom@user/bluebrother)
19:47:50 Quit ufdm_ (Quit: Leaving)
19:48:02 Join ufdm [0] (~ufdm@c-73-164-63-214.hsd1.mn.comcast.net)
20:00
20:10:51***Saving seen data "./dancer.seen"
20:43:43speachyamachronic, I managed to get a usable logf'd usb panic on the the x3
21:00
21:14:11 Quit j-r (Ping timeout: 250 seconds)
21:14:52 Join j-r [0] (~j-r@p2003000623cebf71404207fffefd0a65.dip0.t-ipconnect.de)
21:52:45 Join aaron [0] (~aaron@146.88.46.49)
22:00
22:05:36aaronHello everyone.
22:05:36aaronI want to use my iRiver iHP120 with Rockbox as a music source for recording MD discs.
22:05:37aaronThe problem is an MD player needs at least 2 seconds of silence before starting a new song to create an auto-tracking correctly.
22:05:37DBUGEnqueued KICK aaron
22:05:37aaronHowever, I could not find any existing setting or plugin to create at least two seconds gap between each song when playing with Rockbox.
22:05:38aaronTherefore, please could you suggest to me how to configure Rockbox, an existing plugin, or an idea to develop a plugin/code example to delay the amount of time before starting a new song.
22:05:38***Alert Mode level 1
22:05:38aaronThank you so much.
22:08:14 Quit aaron (Quit: Connection closed)
22:08:40 Join aaronamm [0] (~aaronamm@146.88.46.49)
22:09:02aaronammHello everyone.
22:09:02aaronammI want to use my iRiver iHP120 with Rockbox as a music source for recording MD discs.
22:09:03aaronammThe problem is an MD player needs at least 2 seconds of silence before starting a new song to create an auto-tracking correctly.
22:09:03DBUGEnqueued KICK aaronamm
22:09:03aaronammHowever, I could not find any existing setting or plugin to create at least two seconds gap between each song when playing with Rockbox.
22:09:04aaronammTherefore, please could you suggest to me how to configure Rockbox, an existing plugin, or an idea to develop a plugin/code example to delay the amount of time before starting a new song.
22:09:04***Alert Mode level 2
22:09:04aaronammThank you so much.
22:10:53***Saving seen data "./dancer.seen"
22:19:05***Alert Mode OFF
22:27:03braewoodsMD?
22:31:32braewoodsoh.
22:32:04braewoodsi'm tempted to ask why you are using such an inconvenient format in this day and age.
22:32:24braewoodsit's even less practical than regular CD audio
22:33:26braewoodsand those are still supported by regular optical drives
23:00
23:15:22_bilgusaaronamm, i HAVE A LUA PLAYBACK EXAMPLE THATYOU COULD PRETTY EASILY BEND TO YOUR WILL
23:15:32_bilgussorry
23:17:38_bilgushttps://github.com/Rockbox/rockbox/blob/master/apps/plugins/lua_scripts/playback.lua
23:18:19_bilgushttps://github.com/Rockbox/rockbox/blob/master/apps/plugins/lua_scripts/playback.lua#L301 < here
23:18:52_bilgusyou should be able to send pause and then ho;d it with a loop for two seconds
23:19:32_bilgusmight have to set a temp var to keep it from geting a new event , not sure
23:20:29_bilgusother option is to create a 2 second blank track and make your playlist include them
23:20:39_bilguswhich is also possible thru lua
23:21:01_bilgusinfact it might be easier to just generate playlists set up like that
23:22:17_bilgus(#L352) for creating playlists
23:23:27_bilgusaaronamm, is 2 seconds a hard req or is it at least 2 seconds?
23:24:53_bilgusif more than 2 seconds is acceptable then I'd make a blank file 4 seconds long and add fade in/out to make it lass abrupt
23:25:03_bilgusless*

Previous day | Next day