DocScrutinizer | Hardware PCM card 0 'RX51' device 0 subdevice 0 | 00:00 |
---|---|---|
DocScrutinizer | definition | 00:00 |
DocScrutinizer | I'd bet it has 'rate 48000' | 00:00 |
MNZ | entire asound.conf is pasted | 00:00 |
DocScrutinizer | actually I think I've seen this | 00:01 |
DocScrutinizer | asound conf is just 10% | 00:01 |
MNZ | or you mean that other thing in /usr//lib/* | 00:01 |
DocScrutinizer | yep, exactly | 00:01 |
MNZ | /usr/share/alsa/alsa.conf | 00:02 |
DocScrutinizer | defaults.pcm.dmix.rate 48000 | 00:02 |
MNZ | yeah found it | 00:03 |
MNZ | but that's for default | 00:03 |
MNZ | I'm using hw:0,0 directly | 00:03 |
MNZ | oh wait | 00:03 |
MNZ | default_s_. I was thinking of the 'default' device | 00:03 |
MNZ | still, didn't change anything :/ | 00:04 |
DocScrutinizer | try using hw:0.0 with 44100 | 00:05 |
MNZ | yeah that works, have already tried | 00:05 |
MNZ | without -r or setting rate | 00:05 |
DocScrutinizer | so it's obviously dmix itself | 00:05 |
MNZ | it negotiates and gets 44.1 | 00:05 |
MNZ | yeah | 00:05 |
DocScrutinizer | all this is SOOO F... obfuscated XP | 00:06 |
DocScrutinizer | and THAT'S the real reason why PA was invented | 00:06 |
MNZ | well but why write PA when you can fix ALSA :S | 00:07 |
MNZ | or is it unfixable? I don't think so | 00:07 |
DocScrutinizer | I also don't think so, but then the NIH syndrome kicks in usually | 00:08 |
DocScrutinizer | well, anyway my prev quote from http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html regarding dmix plugin properties might suggest dmix can't use different sampling rates | 00:10 |
DocScrutinizer | ...dynamically | 00:10 |
villager | PA wasn't written just to mix sounds together, you know | 00:10 |
DocScrutinizer | so >>defaults.pcm.dmix.rate 48000<< is what we got, and what we may change to get another fixed sampling rate | 00:11 |
MNZ | villager, yeah, it does software gain too :/ what's PA for again? | 00:11 |
villager | personally I only use PA to route sounds over wlan from my laptop to my desktop pc, which is connected to my high-quality speakers | 00:13 |
villager | but someone once told me that it's cool that with PA he can turn on his bluetooth headset and the sounds on his laptop automatically gets routed to the headset instead of the internal speakers, without needing to restart the apps | 00:14 |
* DocScrutinizer mumbles, discarding a pretyped answer to a comment that seems not to come | 00:14 | |
DocScrutinizer | ALSA even cooler: it can route to both BT headsaet and internal speakers concurrently, and even level both to arbitrary volume X-P | 00:15 |
villager | with some config? then PA can do that too | 00:15 |
villager | but I do agree that alsa does it with less cpu | 00:16 |
DocScrutinizer | vor audio streaming over IP I prefer other protocols than exactly PA, I have to say | 00:16 |
DocScrutinizer | but meh, granted that's one of PA's generic domains | 00:17 |
DocScrutinizer | highly usefull for an embedded device with memory and CPU restrictions | 00:17 |
DocScrutinizer | I bet it was the killer argument why Nokia *needed* PA for maemo | 00:18 |
DocScrutinizer | as well as for all standard desktop distros... | 00:18 |
villager | I figured it was so the music could turn off when you talk on the phone... | 00:19 |
DocScrutinizer | the point is simply: ALSA has been supported by Suse from very beginning, and since Suse is called Novel now, there's probably some resentiment against alsa | 00:20 |
MNZ | the state reason is for making the audio system APE Centric.... Application Processing Engine Centric... it still doesn't really make sense | 00:20 |
MNZ | s/state/stated/ | 00:20 |
DocScrutinizer | the music turn-off during phone calls has been solved here 2 h ago | 00:21 |
MNZ | this dmix thing, I bet it would take minimal hacking to get it to do what we want and save 10% cpu for most usage | 00:21 |
villager | in a way probably unknown (or impractical) to nokia? | 00:21 |
MNZ | villager, not really. dmix + softvol plugins + plugin written by Doc. | 00:22 |
MNZ | in contrast with 3 PA plugins | 00:22 |
MNZ | actually, you wouldn't really need Doc's plugin for this specific purpose | 00:23 |
MNZ | the hook system in alsa is enough | 00:23 |
*** edisson has quit IRC | 00:23 | |
villager | well I'd guess they made a list of pros and cons or something from what they knew | 00:24 |
villager | then again, perhaps they were ubuntu users and liked PA... | 00:25 |
DocScrutinizer | MNZ: you're a breeze to watch you learn :-D | 00:26 |
MNZ | DocScrutinizer, :) | 00:26 |
DocScrutinizer | obviously, absolutely. BUNTKUH users | 00:26 |
DocScrutinizer | see nokia maemo scratchbox is working ootb only on buntkuh | 00:27 |
MNZ | ok I need a quick evaluation because I'm kind stuck on what to do next :/ | 00:29 |
MNZ | filters are ready and work. De-emph kicks in if speaker output starts, EQ filter needs gui | 00:29 |
DocScrutinizer | MNZ: you're incredible | 00:30 |
MNZ | next step seems to me to start actually creating the setup for apps to automagically bypass PA (and still calls work) | 00:30 |
MNZ | DocScrutinizer, dude stop flattering me :P | 00:30 |
MNZ | and think more of what to do next :P I want to actually see something finished to the end for a change | 00:31 |
DocScrutinizer | maybe you can have a look how to plug in a hook plugin to anything different than mere hw slaves, I got stuck on that detail back when, or I abandoned project while still on my way to solve that | 00:32 |
MNZ | is that going to be a problem? by what I've read so far about hooks it seems we won't need anything complicated | 00:34 |
DocScrutinizer | pcm.t2pcm { type hooks; slave { pcm "hw:0,0" } ... | 00:37 |
DocScrutinizer | we'd probably like to use >slave.pcm music-dmix | 00:37 |
DocScrutinizer | instead of hw:0.0 | 00:37 |
DocScrutinizer | hmm, maybe pcm.ringerpcm { worked, and I just forgot | 00:39 |
DocScrutinizer | slave { pcm "default" } | 00:39 |
MNZ | there are no such limitations listed in the docs, but of course these are ALSA docs, so who knows :/ | 00:40 |
DocScrutinizer | I'm rather sure I've seen 'date;sleep5;date' working on 'aplay -D ringerpcm foo' | 00:48 |
*** JPohlmann has joined #maemo-devel | 00:55 | |
*** mirr0r has quit IRC | 01:01 | |
*** mirr0r has joined #maemo-devel | 01:01 | |
*** SpeedEvil has quit IRC | 01:03 | |
MNZ | hrmm I just got alsa-lib source... there's pcm_dmix_{generic/x86/x86_64} ! | 01:03 |
DocScrutinizer | mhm | 01:04 |
MNZ | so looks like it's not optimized for arm | 01:05 |
DocScrutinizer | on a sidenote: for speaker protection it's most sensible to use that http://people.openmoko.org/joerg/unsorted/arkanoid-wav/16bit-44ks/Arkanoid_PSID.wav style of ringtones, as they are produced with small speakers in mind (no bass and still good enough :-P) | 01:05 |
DocScrutinizer | MNZ: check out open embedded / openmoko, there's alsa dmix as well, and maybe somebody bothered to optimize for arm | 01:07 |
*** _0x47 has quit IRC | 01:09 | |
*** JPohlmann has quit IRC | 01:09 | |
MNZ | lol @ ringtone DocScrutinizer | 01:14 |
*** SpeedEvil has joined #maemo-devel | 01:17 | |
*** SpeedEvil has quit IRC | 01:34 | |
*** SpeedEvil has joined #maemo-devel | 01:35 | |
MNZ | Good news, my cup of mint tea is ready! | 01:37 |
MNZ | now where are those openmoko repos | 01:38 |
DocScrutinizer | hmm, might want a darjeeling | 01:38 |
DocScrutinizer | nah, Ceylon first flush | 01:38 |
DocScrutinizer | umm, go for SHR | 01:38 |
DocScrutinizer | http://shr-project.org | 01:38 |
DocScrutinizer | or openembedded.org I guess | 01:39 |
MNZ | I don't get it... | 01:51 |
MNZ | so openmoko/openembedded etc git repos just contain patches and build scripts? | 01:52 |
*** nervewax has joined #maemo-devel | 02:02 | |
nervewax | Hi I got directed here by the maemo wiki | 02:03 |
SpeedEvil | ? | 02:05 |
nervewax | yeah see i'm going into Digital Media at uni and I am wondering if anyone can put me in the right direction for app development | 02:09 |
MNZ | nervewax, ask on #maemo for a broader audience | 02:19 |
*** nervewax has quit IRC | 02:52 | |
*** ShadSEC has joined #maemo-devel | 03:22 | |
*** csaavedra has quit IRC | 03:46 | |
MNZ | good night maemo devs! | 04:09 |
*** MNZ has quit IRC | 04:10 | |
*** shinkamui has quit IRC | 06:19 | |
*** shinkamui has joined #maemo-devel | 06:20 | |
*** n4v4r3d has joined #maemo-devel | 06:56 | |
*** n4v4r3d has left #maemo-devel | 06:56 | |
*** kamui__ has joined #maemo-devel | 07:17 | |
*** shinkamui has quit IRC | 07:21 | |
*** tealbird has quit IRC | 07:22 | |
*** DocScrutinizer has quit IRC | 07:33 | |
*** DocScrutinizer has joined #maemo-devel | 07:33 | |
*** tealbird has joined #maemo-devel | 07:50 | |
*** mauso has joined #maemo-devel | 08:10 | |
*** amigadave has joined #maemo-devel | 09:37 | |
*** ShadSEC has quit IRC | 09:52 | |
*** appnss has joined #maemo-devel | 09:53 | |
*** appnss has quit IRC | 10:06 | |
*** ShadSEC has joined #maemo-devel | 10:07 | |
*** lcuk2 has joined #maemo-devel | 10:10 | |
*** MNZ has joined #maemo-devel | 10:10 | |
*** lcuk has quit IRC | 10:12 | |
*** swc|666 has quit IRC | 10:30 | |
*** ShadSEC has quit IRC | 11:13 | |
*** ShadSEC has joined #maemo-devel | 11:13 | |
*** appnss has joined #maemo-devel | 11:32 | |
*** ShadSEC has quit IRC | 11:33 | |
*** appnss has quit IRC | 11:47 | |
*** mauso has quit IRC | 12:35 | |
*** TheXception has joined #maemo-devel | 12:47 | |
*** silbo has joined #maemo-devel | 12:47 | |
TheXception | hi | 12:47 |
MNZ | ahoy | 12:48 |
*** air has joined #maemo-devel | 12:50 | |
*** silbo has quit IRC | 12:57 | |
*** lcuk2 is now known as lcuk | 13:01 | |
*** lcuk has joined #maemo-devel | 13:01 | |
*** achipa has joined #maemo-devel | 13:11 | |
*** csaavedra has joined #maemo-devel | 13:12 | |
*** appnss has joined #maemo-devel | 13:21 | |
*** Ian-- has quit IRC | 13:22 | |
*** _0x47 has joined #maemo-devel | 13:25 | |
TheXception | was there any work done running free pascal compiler (fpc) on maemo (n900)? or did someone already try it? | 13:25 |
lcuk | ooh | 13:25 |
lcuk | pascal | 13:25 |
*** Ian-- has joined #maemo-devel | 13:28 | |
TheXception | i don't need it myself but to port another project | 13:30 |
lcuk | TheXception, I saw you were havign an issue last night with compiling something else | 13:31 |
lcuk | did you get past that, or does the app require direct ASM fpx stuff? | 13:31 |
*** silbo has joined #maemo-devel | 13:31 | |
TheXception | yes it's still the problem finding the correct hardware floating support | 13:31 |
*** csaavedra has quit IRC | 13:33 | |
TheXception | according to cat /proc/cpuinfo it is supported | 13:33 |
TheXception | but i then get a SIGILL and corrupted stack | 13:33 |
TheXception | when activating hardware float | 13:34 |
TheXception | mabe someone knows how to display last asm instruction on arm with gdb? | 13:34 |
TheXception | got it | 13:54 |
*** lizardo has joined #maemo-devel | 13:55 | |
*** TheXception is now known as TheXception|off | 14:05 | |
*** lmoura has quit IRC | 14:10 | |
*** appnss is now known as ShadSEC | 14:11 | |
*** JPohlmann has joined #maemo-devel | 14:27 | |
MNZ | ah, just about ready to start coding now | 15:11 |
*** JPohlmann has quit IRC | 15:15 | |
*** qknight_ is now known as qknight | 15:31 | |
*** csaavedra has joined #maemo-devel | 15:34 | |
*** JPohlmann has joined #maemo-devel | 15:43 | |
*** achipa has quit IRC | 15:47 | |
*** lmoura has joined #maemo-devel | 15:57 | |
*** ShadSEC has quit IRC | 16:15 | |
*** appnss has joined #maemo-devel | 16:19 | |
*** silbo has quit IRC | 16:28 | |
*** TheXception|off is now known as TheXception | 16:46 | |
*** ruskie has quit IRC | 17:05 | |
*** ruskie has joined #maemo-devel | 17:06 | |
*** JPohlmann has quit IRC | 17:08 | |
*** lmoura has quit IRC | 17:12 | |
*** amigadave has quit IRC | 17:13 | |
*** lmoura has joined #maemo-devel | 17:17 | |
*** _0x47 has quit IRC | 17:30 | |
*** TheXception is now known as TheXception|off | 17:52 | |
*** alvaro__ has quit IRC | 17:59 | |
*** alvaro__ has joined #maemo-devel | 18:02 | |
*** silbo_ has joined #maemo-devel | 18:18 | |
*** pH5 has joined #maemo-devel | 18:36 | |
*** silbo_ has quit IRC | 19:08 | |
*** silbo_ has joined #maemo-devel | 19:10 | |
*** shinkamui has joined #maemo-devel | 19:17 | |
*** kamui__ has quit IRC | 19:21 | |
*** TheXception|off is now known as TheXception | 19:25 | |
*** MNZ has quit IRC | 19:42 | |
*** MNZ has joined #maemo-devel | 19:47 | |
*** Ian-- has quit IRC | 19:56 | |
MNZ | DocScrutinizer, anything new about dmix and friends? | 20:52 |
DocScrutinizer | nope. Anything pending? | 20:52 |
MNZ | not really | 20:52 |
MNZ | been trying to figure out how things work in the alsa plugin domain. I was under the (naive) impression that it would be simpler than this :D | 20:53 |
MNZ | making dmix do that thing we talked about should be a matter of few lines (I think...) it's just a question of where | 20:54 |
DocScrutinizer | :nod: | 20:54 |
MNZ | And there's a hell of a lot of config flying around between functions in a simple aplay -> plug -> dmix setup :/ | 20:55 |
DocScrutinizer | I once added a patch to file plugin, to read out file content paced by input stream rather than unpaced 'max rate', but 'upstream' thought that's not how file plugin should work and rejected it. Anyway was really simple | 20:56 |
*** mirr0r has quit IRC | 21:00 | |
*** csaavedra has quit IRC | 21:01 | |
*** mirr0r has joined #maemo-devel | 21:01 | |
DocScrutinizer | anyway that's been really spoiling my day to find a '"arecord -D myinfile:'path/to/au' recordfile.wav" to finish in zero time, despite a several MB sized .au was `recorded' into recordfile.wav | 21:02 |
*** silbo_ has quit IRC | 21:16 | |
*** edisson has joined #maemo-devel | 21:40 | |
*** Milhouse has quit IRC | 21:49 | |
*** silbo_ has joined #maemo-devel | 21:54 | |
*** MNZ has quit IRC | 21:55 | |
*** onen|openBmap has joined #maemo-devel | 21:59 | |
*** csaavedra has joined #maemo-devel | 22:12 | |
*** Milhouse has joined #maemo-devel | 22:16 | |
*** Milhouse has joined #maemo-devel | 22:16 | |
*** fecub has joined #maemo-devel | 23:34 | |
*** fecub has quit IRC | 23:36 | |
*** fecub has joined #maemo-devel | 23:37 | |
*** SpeedEvil has quit IRC | 23:45 | |
*** silbo_ has quit IRC | 23:48 | |
*** onen|openBmap has quit IRC | 23:50 | |
*** lizardo has quit IRC | 23:54 | |
*** SpeedEvil has joined #maemo-devel | 23:57 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!