| 57 | | numSampleRates, sampleRates, nativeSampleFormats. Sample rate information will only |
| 58 | | be available by polling PortAudio using the Pa_IsFormatSupported() function defined below. |
| | 59 | numSampleRates, sampleRates, nativeSampleFormats. |
| | 60 | </P> |
| | 61 | |
| | 62 | <P> |
| | 63 | Complete sample rate information will only be available by polling PortAudio using the Pa_IsFormatSupported() function defined below. The defaultSampleRate field is provided so that simple clients have access a known working sample rate, and so that host APIs that only support one possibly non-standard sample rate can expose it to clients. Implementations should use the following heuristics to determine which value to provide for defaultSampleRate when multiple rates are available: |
| | 64 | </P> |
| | 65 | |
| | 66 | <UL> |
| | 67 | <LI>The sample rate must be supported by the device.</LI> |
| | 68 | <LI>If more that one sample rate is supported, the one that is known to be supported with the most combinations of channel counts and duplex should be returned.</LI> |
| | 69 | <LI>Where possible, the sample rate should be at least CD quality (44.1k), if both 44.1k and higher rates are available, 44.1k should be used.</LI> |
| | 70 | </UL> |
| | 71 | |
| | 72 | <P> |