Hey there, Going back to the old conversations from 2021 about the general EFI_AUDIO_PROTOCOL structure, I would like to introduce some methods specifically for sine wave generation. Something along the lines of BeepStart() and BeepEnd(). HDA devices already supports a beep generator widget for this purpose. It accepts a divider parameter allowing tones from 47Hz to 12kHz. This would simplify beep generation for consumers.
For choosing where to send audio, it can be done at the stream level without caring for the underlying device features. Just keep an array and refer to OutStream[0] as the default output. Multiple consumers attempting to send audio to the same stream could be an issue though. Let me know your thoughts, Archer Pergande -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121792): https://edk2.groups.io/g/devel/message/121792 Mute This Topic: https://groups.io/mt/117302329/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
