Hi Archer,

On Thu, 5 Feb 2026 at 03:40, Archer Pergande via groups.io
<[email protected]> wrote:
> 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.

I don't have a problem with this, but I don't feel it belongs in the
audio protocol.
Define any additional/supplemental protocols you feel like.

> 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.

What are you referring to as OutStream[0]?

Ultimately, it's up to each driver implementation where it wants to
output things, and whether
it wants to support any configurability of this (through a separate
protocol). And it's 100%
fine to not care and hard-code it for an initial implementation :)

> Multiple consumers attempting to send audio to the same stream could be an 
> issue though.

I think it's entirely reasonable for the boot environment to not
provide audio mixing capabilities.
Once we have a working single-client implementation, we can worry
about how to handle conflicts.

Best Regards,

Leif


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121816): https://edk2.groups.io/g/devel/message/121816
Mute This Topic: https://groups.io/mt/117302329/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to