dinesh wrote: > > > > > HI, > > if i play some wave file through *aplay using alsa-lib *then does it > keeps a check on data transfer speed of wave file with driver or it > simply plays it. > > The wav file will have the frame rate speed in the header. It will be played at the speed that the header says it was encoded at. It does this by setting the speed of the playback device. At that point all aplay does is send buffers of data to the driver and the device plays them at the speed it was requested to play at. e.g. if the frame rate is 44100 Hz, then the device will play a frame every 1/44100 second. So the actual frame rate depends on the clock in the device. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user