How to do audio latency test in IPhone OS. I want to know how to read an audio file and how to write another audio file using the data of previously read file.. Thanks in advance..
How to do audio latency test in IPhone OS. I want to know how to read an audio file and how to write another audio file using the data of previously read file.. Thanks in advance..
Are you sure you want to deal with files? There may be more latency in that than in the audio processing. But as for audio processing, it appears that the iPhone audio subsystem, at the lowest level, deals with audio buffers of size 1024 samples. So if your application buffers size is 1024, then you will have the lowest possible latency, which I think is almost zero. If you pick any other buffer size, then the operating system will be repackaging the data into your buffer size and that will introduce additional latency.
Are you sure you want to deal with files? There may be more latency in that than in the audio processing. But as for audio processing, it appears that the iPhone audio subsystem, at the lowest level, deals with audio buffers of size 1024 samples. So if your application buffers size is 1024, then you will have the lowest possible latency, which I think is almost zero. If you pick any other buffer size, then the operating system will be repackaging the data into your buffer size and that will introduce additional latency.
Robert Scott
Ypsilanti, Michigan
Are you talking about at the hardware level with a 1024 sample buffer or?
Are you talking about at the hardware level with a 1024 sample buffer or?
Almost the hardware level. I am talking about the device driver level. But for purposes of latency considerations, it might as well be the hardware level.
Almost the hardware level. I am talking about the device driver level. But for purposes of latency considerations, it might as well be the hardware level.
Are you sure you want to deal with files? There may be more latency in that than in the audio processing. But as for audio processing, it appears that the iPhone audio subsystem, at the lowest level, deals with audio buffers of size 1024 samples. So if your application buffers size is 1024, then you will have the lowest possible latency, which I think is almost zero. If you pick any other buffer size, then the operating system will be repackaging the data into your buffer size and that will introduce additional latency.
Robert Scott
Ypsilanti, Michigan
Am dealing with audio files...Thanks for Your reply.....