Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_ao.cpp120 AIO_ATTR_S aoAttr; in test_open_device_ao() local
121 memset(&aoAttr, 0, sizeof(AIO_ATTR_S)); in test_open_device_ao()
124 snprintf(reinterpret_cast<char *>(aoAttr.u8CardName), in test_open_device_ao()
125 sizeof(aoAttr.u8CardName), "%s", ctx->chCardName); in test_open_device_ao()
128 aoAttr.soundCard.channels = ctx->s32DeviceChannel; in test_open_device_ao()
129 aoAttr.soundCard.sampleRate = ctx->s32SampleRate; in test_open_device_ao()
130 aoAttr.soundCard.bitWidth = AUDIO_BIT_WIDTH_16; in test_open_device_ao()
136 aoAttr.enBitwidth = bitWidth; in test_open_device_ao()
137 aoAttr.enSamplerate = (AUDIO_SAMPLE_RATE_E)ctx->s32ReSmpSampleRate; in test_open_device_ao()
142 aoAttr.enSoundmode = soundMode; in test_open_device_ao()
[all …]
H A Dtest_mpi_sys.cpp42 AIO_ATTR_S aoAttr; in test_ao_dev_init() local
44 memset(&aoAttr, 0, sizeof(AIO_ATTR_S)); in test_ao_dev_init()
45 aoAttr.enBitwidth = AUDIO_BIT_WIDTH_16; in test_ao_dev_init()
46 aoAttr.enSamplerate = AUDIO_SAMPLE_RATE_44100; in test_ao_dev_init()
47 aoAttr.enSoundmode = AUDIO_SOUND_MODE_MONO; in test_ao_dev_init()
48 aoAttr.u32FrmNum = 512; in test_ao_dev_init()
49 aoAttr.u32PtNumPerFrm = 1024; in test_ao_dev_init()
50 aoAttr.u32EXFlag = 0; in test_ao_dev_init()
51 aoAttr.u32ChnCnt = 2; in test_ao_dev_init()
53 RK_MPI_AO_SetPubAttr(aoDevId, &aoAttr); in test_ao_dev_init()