[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSoC audio callbacks
From: |
Vytautas Jancauskas |
Subject: |
Re: GSoC audio callbacks |
Date: |
Wed, 28 Aug 2013 16:33:36 +0300 |
On Wed, Aug 28, 2013 at 4:26 PM, Mike Miller <address@hidden> wrote:
> On Wed, Aug 28, 2013 at 16:05:06 +0300, Vytautas Jancauskas wrote:
>> Did you pull the latest changes? What are the exact calls. Everything
>> seems to work for me.
>
> I'm on revision 696bb8c94d7d, and I did a clean build to make sure I
> didn't have any left over object files.
>
> Ok, I see what's failing now. If I do
>
> r = audiorecorder;
> record (r, 2);
>
> it works. But if I do
>
> record (r);
> # wait
> stop (r);
>
> the number of samples in the recorder object resets to zero when stop
> is called. That's why it didn't appear to be working for me.
>
> Have you tried both stereo and mono flac, ogg, and wav files? I did my
> initial testing with mono and everything was fine, but when I started
> reading in stereo files I haven't had one work yet. Audioinfo shows
> the right thing, and audioread returns the right number of samples,
> but the data looks like either uninitialized values or partial audio
> from the file, maybe in one channel, with uninitialized memory over
> part of it or in the second channel.
>
> --
> mike
The current revision is 195:eca3982fac7c, you are 4 revisions behind
somehow. Maybe you forgot hg update?
- GSoC audio callbacks, Mike Miller, 2013/08/13
- Re: GSoC audio callbacks, Vytautas Jancauskas, 2013/08/17
- Re: GSoC audio callbacks, Mike Miller, 2013/08/25
- Re: GSoC audio callbacks, Vytautas Jancauskas, 2013/08/28
- Re: GSoC audio callbacks, Mike Miller, 2013/08/28
- Message not available
- Message not available
- Re: GSoC audio callbacks,
Vytautas Jancauskas <=
- Re: GSoC audio callbacks, Mike Miller, 2013/08/28
- Re: GSoC audio callbacks, Vytautas Jancauskas, 2013/08/28
- Re: GSoC audio callbacks, Mike Miller, 2013/08/28