Commit 523fcbdea86ed28cea5bee71021b48dc4c921220

Authored by LuoZheSi
1 parent ef449446

fix(swf of optek link):support sample rate 48K in bt source of swf mode

... ... @@ -347,18 +347,18 @@ extern FIFO audio_delay_fifo;
347 347 #elif defined OPL_MODE_SWF
348 348 if (decode_type == DECODE_SBC)
349 349 {
350   - /*if (app_main_data.playing_stream_sample_rate == 48000)
  350 + if (app_main_data.playing_stream_sample_rate == 48000)
351 351 {
352   - app_change_mode_req(SUBW_SF48K_PT2P5MS,24,6);
  352 + app_change_mode_req(TWS_SUBW_W_BT_T6_SF48K,245,6);
353 353 }
354 354 else if (app_main_data.playing_stream_sample_rate == 44100)
355 355 {
356   - app_change_mode_req(SUBW_SF44K_PT2P5MS,24,6);
  356 + app_change_mode_req(TWS_SUBW_W_BT_T6_SF44K,245,6);
357 357 }
358 358 else
359 359 {
360   - DBG_Printf("optek link not support sample rate\r\n");
361   - }*/
  360 + DBG_Printf("optek link not support this sample rate in bt source\r\n");
  361 + }
362 362 }
363 363 else
364 364 {
... ... @@ -376,7 +376,7 @@ extern FIFO audio_delay_fifo;
376 376 }
377 377 else
378 378 {
379   - DBG_Printf("optek link not support sample rate\r\n");
  379 + DBG_Printf("optek link not support this sample rate in full band\r\n");
380 380 }
381 381 }
382 382
... ...
Please register or login to post a comment