[Android Audio] AudioTrack 接口 (1)

isDirectOutputSupported

    /* Check if direct playback is possible for the given audio configuration and attributes.
     * Return true if output is possible for the given parameters. Otherwise returns false.
     */
    static bool isDirectOutputSupported(const audio_config_base_t& config,
                                        const audio_attributes_t& attributes);

你可能感兴趣的:(Android,framework,android)