Camelia, the Perl 6 bug

IRC log for #motoactv, 2012-08-14

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:40 CEnnis91_ joined #motoactv
03:57 nhat_ joined #motoactv
04:41 Quietlyawesome94 joined #motoactv
10:06 Mfinab joined #motoactv
14:14 dproldan joined #motoactv
17:59 Quietlyawesome94 joined #motoactv
18:15 nhat_ joined #motoactv
18:20 dproldan joined #motoactv
18:32 JmCourir joined #motoactv
18:39 Larry94 joined #motoactv
18:42 Larry94 joined #motoactv
18:50 Quietlyawesome94 joined #motoactv
19:10 Quietlyawesome94 joined #motoactv
19:46 dproldan joined #motoactv
21:28 dproldan joined #motoactv
21:53 dproldan [mbm]: you here?
21:54 dproldan is this restricting the sample rate to 8000?:
21:55 dproldan static u32 l10_l73_rates[] = {
21:55 dproldan 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 };
21:55 dproldan static struct snd_pcm_hw_constraint_list constraints_12_24 = {
21:55 dproldan .count  = ARRAY_SIZE(l10_l73_rates),
21:55 dproldan .list   = l10_l73_rates,
21:55 dproldan };
21:55 dproldan l10_l73_dsp_startup()
21:55 dproldan Add rate constraint list.
21:55 dproldan */
21:55 dproldan static int l10_l73_dsp_startup(struct snd_pcm_substream *substream)
21:55 dproldan {
21:55 dproldan snd_pcm_hw_constraint_list(substream->runtime, 0,
21:55 dproldan SNDRV_PCM_HW_PARAM_RATE, &constraints_12_24);
21:55 dproldan return 0;
21:55 dproldan }
21:55 dproldan that's in omap3cdb42l73.c
21:57 dproldan .
21:57 dproldan .
21:57 dproldan .
21:57 dproldan /*
21:57 dproldan (!)Impportat: MCLK on our test board is MCLK1.
21:57 dproldan The end device is designed to use MCLK2, so this needs to
21:57 dproldan be changed.
21:57 dproldan */
21:57 dproldan ret = snd_soc_dai_set_sysclk(codec_dai, CS42L73_CLKID_MCLK1,
21:57 dproldan OMAP3_CIRRUS_DEFAULT_MCLK, SND_SOC_CLOCK_IN);
21:57 dproldan if (ret < 0) {
21:57 dproldan pr_err("can't set codec clock\n");
21:57 dproldan return ret;
21:57 dproldan }
21:58 dproldan great...
22:08 [mbm] sup?
22:09 dproldan browsing some code,  seing strange things,  to me at least
22:10 * [mbm] loves how there's a return 0 bu5 nobody uses the return value
22:11 dproldan Don't know if I told you,  I found that the Motoactv gives an error when opening a recording session with anything else than 8000 KHz as the rate value
22:11 dproldan I'm trying to find why
22:11 [mbm] weird
22:13 [mbm] not enough in the above pastes for me to really follow the code
22:13 [mbm] what you've pasted looks like perfectly normal linux kernel stuff
22:14 dproldan it's in the kernel drivers from motorola,   in omap3cdb42l73.c
22:15 dproldan sorry,  in th ekernel sources
22:16 [mbm] yep, I'll have to dig through that later when I have a real computer infront of me
22:16 dproldan this is ok?    (!)Impportat: MCLK on our test board is MCLK1.
22:16 dproldan [21:57] dproldan:     The end device is designed to use MCLK2, so this needs to
22:16 dproldan [21:57] dproldan:     be changed.
22:16 dproldan [21:57] dproldan: */
22:16 dproldan [21:57] dproldan: ret = snd_soc_dai_set_sysclk(codec_dai, CS42L73_CLKID_MCLK1,
22:16 [mbm] <- smartphone; works for irc but not for coding
22:16 dproldan it says they need to change to MCLK2,  but still use MCLK1
22:18 [mbm] is it just record that's broken or are playback rates broken as well?
22:20 dproldan I've only seen problems with recording
22:21 [mbm] would expect the problems to be symetrical if there was a clock issue
22:21 dproldan (the fuck?  omap3beagle.c was written by steve sakoman?  that guy is a legend)
22:24 dproldan uhm,   let's see :
22:24 CEnnis91_ joined #motoactv
22:24 dproldan static struct snd_soc_dai fm_dai   has .playback and .capture
22:24 dproldan static struct snd_soc_dai bt_dai   has .playback and .capture
22:24 [mbm] fm radio routing
22:25 [mbm] bluetooth routing
22:25 dproldan static struct snd_soc_dai cs48l10_dai
22:25 dproldan only  has .playback
22:25 [mbm] hmm
23:23 CEnnis91_ joined #motoactv

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary