Il giorno venerdì 28 agosto 2015 15:11:47 UTC+2, Alexis Jeandet ha scritto: > > Hi Andrea, > > Good news! I can hear some sounds :). >
good! > After some discussions with Marcus I've checked I2S pins with logic > analyser, the data where at the output but really fast (340kS/s). I decided > to replace the I2S driver from Marcus > <https://github.com/codekipper/linux-sunxi> repo with your code(only > sunxi-i2s.c plus sunxi.h). At least I can hear sound, it still refuse to > play 32 bits wave file(with aply) and my sample is read at twice the > speed(looks like mickey mouse) but it works! > is your sample a mono (single channel) one? i had the "speed doubling" when i tested a mono wav file. i suppose there's a bug as it's still sending samples to two channels. so the speed is doubled.. > With the sample you provided it works at nominal speed, I think(not easy > to say). > you are right. my sample indeed has no "words spoken" so it's not easy to say... but if you feel good and inspired listening to it, so it's working ok ! :-) bye andrea > If you are interested here are the screenshots of what I saw with Marcus > patch: > > https://www.dropbox.com/s/t2cn38hl5aywwiz/Capture%20d%27%C3%A9cran%20de%202015-08-27%2014-18-08.png?dl=0 > > As a conclusion, on Marcus repo I2C works but something broke on I2S code. > > Best regards, > Alexis. > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
