On 8/14/14, 00:04 04, Gavin Stephens wrote:
I was just wondering what the resolution is of the fading that happens
between segues in RDAirPlay?

It's heavily dependent upon the audio API being used. For ALSA or JACK, the level is adjusted every 100 mS (as defined in RD_ALSA_FADE_INTERVAL or RD_JACK_FADE_INTERVAL respectively) for the duration of the fade, whereas for HPI we merely call HPI_VolumeAutoFadeProfile() and let the ASI driver handle the low-level details.


I'm also curious as to how many play threads can run at a time when just
playing the log.

Again, it's very dependent on the audio API. ALSA spawns a two threads for each PCM device (one for capture and one for playout), plus an overall 'butler' thread to handle disc and network i/o. JACK uses a butler i/o thread plus whatever jackd(1) sets up (at least one thread for the audio callback, but the overall number can vary according to which JACK implementation is being used). HPI is single-threaded.

Cheers!


|----------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |              Chief Developer             |
|                           |              Paravel Systems             |
|----------------------------------------------------------------------|
|  ...one of the main causes of the fall of the Roman Empire was that, |
|  lacking zero, they had no way to indicate successful termination of |
|  their C programs.                                                   |
|                                            -- Robert Firth           |
|----------------------------------------------------------------------|

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to