int (*set_tristate)(struct snd_soc_dai *dai, int tristate);/* * DAI digital mute - optional. * Called by soc-core to minimise any pops. */int (*digital_mute)(struct snd_soc_dai *dai, int mute); int (*mute_stream)(struct snd_soc_dai *dai, int mute, int stream);/* * AL...
* DAI digital mute - optional.* Called by soc-core to minimise any pops.*/ int (*digital_mute)(struct snd_soc_dai *dai, int mute);int (*mute_stream)(struct snd_soc_dai *dai, int mute, int stream);/* * ALSA PCM audio operations - all optional.* Called by soc-core during ...
Expand Up @@ -1198,14 +1198,14 @@ static int pm860x_set_bias_level(struct snd_soc_codec *codec, return 0; } static struct snd_soc_dai_ops pm860x_pcm_dai_ops = { static const struct snd_soc_dai_ops pm860x_pcm_dai_ops = { .digital_mute = pm860x_digital_mute, .hw_params...
static int soc_pcm_hw_free(struct snd_pcm_substream *substream) { if (!codec-active) snd_soc_dai_digital_mute(codec_dai, 1); if (rtd-dai_link-ops rtd-dai_link-ops-hw_free) rtd-dai_link-ops-hw_free(substream); if (platform-driver-ops platform-driver-ops-hw_free) platform-...
ret = snd_soc_write(codec, CS4270_MUTE, reg);if(ret <0) { printk(KERN_ERR"cs4270: I2C write failed\n");returnret; }/* Thaw and power-up the codec */ret = snd_soc_write(codec, CS4270_PWRCTL,0);if(ret <0) { printk(KERN_ERR"cs4270: I2C write failed\n");returnret; ...
2sound/soc/codecs/cs42l42.c @@ -911,7 +911,7 @@ static int cs42l42_digital_mute(struct snd_soc_dai *dai, int mute) SNDRV_PCM_FMTBIT_S32_LE) staticstructsnd_soc_dai_ops cs42l42_ops = { staticconststructsnd_soc_dai_ops cs42l42_ops = { ...
C++ (Cpp) snd_soc_codec_get_drvdata - 30 examples found. These are the top rated real world C++ (Cpp) examples of snd_soc_codec_get_drvdata extracted from open source projects. You can rate examples to help us improve the quality of examples.
示例3: alc5623_dai_init ▲点赞 4▼ staticintalc5623_dai_init(struct snd_soc_pcm_runtime *rtd){structsnd_soc_codec*codec=rtd->codec;structsnd_soc_jack_gpio*jack= &jack_gpio;intret; pr_debug("%s: %s\n", __func__, jack->name); ...
ret =snd_soc_register_codec(&client->dev, &adau1701_codec_drv, &adau1701_dai,1); exit_regulators_disable: regulator_bulk_disable(ARRAY_SIZE(adau1701->supplies), adau1701->supplies);returnret; } 开发者ID:AshishNamdev,项目名称:linux,代码行数:101,代码来源:adau1701.c ...
在下文中一共展示了SND_SOC_DAPM_HP函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: snd_soc_dai_set_sysclk ▲点赞 6▼ /* Set the codec system clock for DAC and ADC */ret = snd_soc_dai_set_...