Awesome work Pedro, keep it up! On Mon, Jul 14, 2014 at 9:00 PM, Pedro Coutin <pedroleand...@gmail.com> wrote: > Hello everyone, > > I implemented a ring buffer with cyclic DMA and audio now works fine. > > I just copypasted dmastart() in dma.c to make dmaloop(), removed the > interrupt setting and made the next control block the initial control > block instead of nil so it keeps looping. This should be cleaned up > somehow... > > Then, instead of dmawait() in audioclose(), the DMA device is polled > until it gets to the last written sample, then DMA and PWM is shut down. > > There is no volume file yet. After that, I guess I'll start messing with > the videocore... > > -- > You received this message because you are subscribed to the Google Groups > "Plan 9 Google Summer of Code" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to plan9-gsoc+unsubscr...@googlegroups.com. > To post to this group, send email to plan9-gsoc@googlegroups.com. > Visit this group at http://groups.google.com/group/plan9-gsoc. > For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "Plan 9 Google Summer of Code" group. To unsubscribe from this group and stop receiving emails from it, send an email to plan9-gsoc+unsubscr...@googlegroups.com. To post to this group, send email to plan9-gsoc@googlegroups.com. Visit this group at http://groups.google.com/group/plan9-gsoc. For more options, visit https://groups.google.com/d/optout.