nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

Audio upper half enhancement

Open yangyalei opened this issue 2 weeks ago • 2 comments

Note: Please adhere to Contributing Guidelines.

Summary

We have enhanced the capabilities of the upper driver, mainly including the following features:

1.Support for multiple applications simultaneously using the upper driver for playback/recording; 2.Support for maintaining a ringbuffer in the upper driver for simultaneous access by multiple applications; 3.Lower driver state management and retrieval; 4.Support for poll/mmap; 5.More comprehensive information retrieval via ioctl interfaces.

Impact

playback/recording, upperhalf driver

Testing

We have conducted tests on the following platforms: ​​

  1. Simulator​​ – Playback / Recording ​​2. BES Platform​​ – Playback / Recording ​​3. Allwinner Platform​​ – Playback / Recording

yangyalei avatar Dec 09 '25 08:12 yangyalei

This is too many commits for one PR, it needs to be squashed/split into multiple PRs for each functional change.

Please include detailed testing information.

I've squashed some patches that were closely related, and the remaining ones are quite independent.

yangyalei avatar Dec 11 '25 06:12 yangyalei

@jerpelea could you please ask Takayoshi Koizumi from Sony to review this PR?

@tmedicci Since you have a great background in the Audio subsystem, could you help to review?

acassis avatar Dec 11 '25 11:12 acassis

I've squashed some patches that were closely related, and the remaining ones are quite independent.

I think some independent commits could probably be split into separate PRs. That would make this much easier to review and less likely to introduce bugs. Also, the testing information needs to be much more detailed for this change.

linguini1 avatar Dec 15 '25 14:12 linguini1