Grace Baldonasa wrote: > I am half way my development. I can stream music using dynamic settings (any > speaker plugged in to my host be heard of some music when my application is > streaming some audio data). However, there are still background noise I am > hearing. Here is how I computed my streaming size: > > sampling rate = 44100 > channel = 2 > bit resolution = 16 > period length = 20 ms > period size = 3528 bytes > This period size is used as my buffer size, and this is sliced as it is > streamed to my device. > I have not considered any sychronization yet. Here is the speaker > configuration: > Synchronization type = adaptive sync > > My understanding is no sync pipe is defined by the device, therefore I dont > need to schedule any sync data, am I correct? Yes. An adaptive endpoint should be able to work with any sample rate, as long as it's near 44100. How do you slice your buffer? Regards, Clemens ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel