Home
last modified time | relevance | path

Searched refs:snd_dev (Results 1 – 2 of 2) sorted by relevance

/components/drivers/audio/utest/
A Dtc_audio_drv_player.c17 static struct sound_device snd_dev; variable
27 rt_audio_tx_complete(&snd_dev.audio); in thread_simulate_intr()
35 rt_audio_tx_complete(&snd_dev.audio); in thread_simulate_intr()
44 rt_audio_tx_complete(&snd_dev.audio); in thread_simulate_intr()
110 info->buffer = snd_dev.tx_fifo; in player_device_buffer_info()
136 snd_dev.tx_fifo = tx_fifo; in rt_hw_sound_init()
140 snd_dev.config.samplerate = PLAYER_SAMPLERATE; in rt_hw_sound_init()
141 snd_dev.config.channels = PLAYER_CHANNEL; in rt_hw_sound_init()
143 snd_dev.volume = PLAYER_VOLUME; in rt_hw_sound_init()
146 snd_dev.audio.ops = &audio_ops; in rt_hw_sound_init()
[all …]
A Dtc_audio_main.c88 struct sound_device *snd_dev = rt_container_of(audio_dev, struct sound_device, audio); in player_test() local
98 if(snd_dev->tx_fifo == RT_NULL) in player_test()

Completed in 18 milliseconds