参照元

説明

参考

実装

/* SoC platform interface */
struct snd_soc_platform_driver {

        int (*probe)(struct snd_soc_platform *);
        int (*remove)(struct snd_soc_platform *);
        struct snd_soc_component_driver component_driver;
        /* pcm creation and destruction */
        int (*pcm_new)(struct snd_soc_pcm_runtime *);
        void (*pcm_free)(struct snd_pcm *);
        /*
         * For platform caused delay reporting.
         * Optional.
         */
        snd_pcm_sframes_t (*delay)(struct snd_pcm_substream *,
                struct snd_soc_dai *);
        /* platform stream pcm ops */
        const struct snd_pcm_ops *ops;
        /* platform stream compress ops */
        const struct snd_compr_ops *compr_ops;
        int (*bespoke_trigger)(struct snd_pcm_substream *, int);
};

コメント


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-02-14 (日) 23:44:27