Le lundi, 4 nov 2002, � 19:06 Europe/Paris, ThuNguyet Nguyen a �crit :
The fact the buffer address does not alternate between two adresses ( like on the Palm OS Simulator ) does not mean it does not work, as you don't know what the internal sound manager do with this buffer...It appears that the buffer passed to the callback routines is not correct. It never changes even though audio is supposed to be double buffered,
In fact, it appear this is "normal behaviour" and is not really a problem.
Just a question : when you create a sound stream, are you using sndInt16 ( or sndInt16Big which is the same ) ?and whatever data is written to it does not have any effect on the sound coming from Tungsten T (OS 5.0).
I was having the exact same problem, until I try to use sndInt16Little.
I didn't get any answer on this one from Palm, but as it does not involve big changes in your code ( except having sound data swapped ), just try using sndInt16Little and your problem will be solved !
On the record the buffer contains random stuff, including some ASCII strings.I didn't tried recording, but I guess it should be a related problem ( sndInt16Little ).
The NX does not use the Palm Sound Manager, but the Sony Sound Manager : just look at the documentation on the Sony Clie SDK to know more about it.Also, does anyone know how to find and use the sound API on the Sony NX60 and NX70 devices? It appears they didn't implement the sampled sound API either.
--
Daniel Morais
http://www.kickoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
