Marcel,
> Maybe we should change the SBC encoding routines so
> that it times how
> long it needed to encode the resulting SBC frame.
> Together with the
> known time of the PCM data the SBC frame is encoded
> for, we can
> calculate the actual time for the usleep() in
> a2play.
I think this is the best idea. But again some timing
mismatch is bound to take place because of different
CPU speeds. For instance the CPU on which we calculate
the time taken for the encoding, may be different on
which we are running our a2play application...
Mayank
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Mayank,
> > Maybe we should change the SBC encoding routines so
> > that it times how
> > long it needed to encode the resulting SBC frame.
> > Together with the
> > known time of the PCM data the SBC frame is encoded
> > for, we can
> > calculate the actual time for the usleep() in
> > a2play.
>
> I think this is the best idea. But again some timing
> mismatch is bound to take place because of different
> CPU speeds. For instance the CPU on which we calculate
> the time taken for the encoding, may be different on
> which we are running our a2play application...
the best idea would be to use RTC as timing source.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel