Skip to content

Commit

Permalink
fix:设置音频硬件输出通道有问题
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed Mar 14, 2023
1 parent 64e4f5b commit 63f0e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/multimedia/luat_lib_multimedia_audio.c
Expand Up @@ -332,7 +332,7 @@ audio.setBus(0, audio.BUS_SOFT_DAC) --通道0的硬件输出通道设置为软
audio.setBus(0, audio.BUS_I2S) --通道0的硬件输出通道设置为I2S
*/
static int l_audio_set_output_bus(lua_State *L) {
luat_audio_set_bus_type(luaL_checkinteger(L, 1));
luat_audio_set_bus_type(luaL_checkinteger(L, 2));
return 0;
}

Expand Down

0 comments on commit 63f0e03

Please sign in to comment.