nuttx-apps icon indicating copy to clipboard operation
nuttx-apps copied to clipboard

nxplayer: add more error messages

Open TangMeng12 opened this issue 6 months ago • 1 comments

nxplayer currently only returns directly '-ENOENT', which makes it impossible to know the specific reason for the failure when testing audio with nxplayer.

Therefore, I modified this part of the logic to print out the error as much as possible.

Note: Please adhere to Contributing Guidelines.

Summary

Update this section with information on why change is necessary, what it exactly does and how, if new feature shows up, provide references (dependencies, similar problems and solutions), etc.

Impact

Update this section, where applicable, on how change affects users, build process, hardware, documentation, security, compatibility, etc.

Testing

Update this section with details on how did you verify the change, what Host was used for build (OS, CPU, compiler, ..), what Target was used for verification (arch, board:config, ..), etc. Providing build and runtime logs from before and after change is highly appreciated.

TangMeng12 avatar Jul 02 '25 08:07 TangMeng12