Skip to content

Commit ddb6ce6

Browse files
committed
* add tips
1 parent 7ed6dfc commit ddb6ce6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/voice/include/maix_audio.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ namespace maix::audio
458458

459459
/**
460460
* Return the number of idle frames available for writing during playback, unit: frame. if there are no idle frames, it will cause blocking.
461+
* @note MaixCAM2 dose not support this api.
461462
* @note The number of bytes per frame can be calculated using frame_size().
462463
* @return remaining frames
463464
* @maixpy maix.audio.Player.get_remaining_frames

components/voice/port/maixcam2/maix_audio_maixcam2.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ namespace maix::audio
648648
} else {
649649
log::error("get_remaining_frames failed, ret:%d", ret);
650650
}
651+
log::warn("This function is not supported yet");
651652
return avail;
652653
}
653654

0 commit comments

Comments
 (0)