Depending on the bitrate and the frequency of the mp3 that i'm sending, i'll need to change the way i send the mp3 data. Right now, with songs encoded at low quaility (11025Hz @ 64kbit) I'm sending an array of 4096 bytes every 500 miliseconds (ie 8 kilobytes per second). This works well for this particular quality setting. But if i later on decide to change the quality (maybe make it better) I'm sure the time delay will have to change from 500 miliseconds to somthing else.
What i need now is a way to find out the time to wait between each 4096 bytes sent, where i know the bitrate and frequency of the mp3s i'm sending.
I may be overcomplicating things a bit (maybe its a simple formula using the bitrate?) but getting this special formula would be wonderful. Thanks for all your help
