Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[media] Move concrete SbAudioSink impl to namespace #4634

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

xiaomings
Copy link
Contributor

SbAudioSink is a typedef to SbAudioSinkPrivate*, and the concrete implementation of SbAudioSinkPrivate was in the global namespace. Now it's moved into a new class named SbAudioSinkImpl in the namespace starboard::shared::starboard::audio_sink, and it's derived from SbAudioSinkPrivate, which is now an interface.

This allows to have multiple SbAudioSink implementations in different namespaces.

b/327287075

@xiaomings xiaomings force-pushed the audio_sink_interface branch 2 times, most recently from 03371b8 to 5be7768 Compare January 3, 2025 00:11
SbAudioSink is a typedef to SbAudioSinkPrivate*, and the concrete
implementation of SbAudioSinkPrivate was in the global namespace.  Now
it's moved into a new class named SbAudioSinkImpl in the namespace
starboard::shared::starboard::audio_sink, and it's derived from
SbAudioSinkPrivate, which is now an interface.

This allows to have multiple SbAudioSink implementations in different
namespaces.

b/327287075
@xiaomings xiaomings force-pushed the audio_sink_interface branch from 5be7768 to df6dbad Compare January 3, 2025 00:14
@xiaomings xiaomings marked this pull request as ready for review January 3, 2025 01:02
@xiaomings xiaomings requested a review from osagie98 January 3, 2025 21:04
@xiaomings xiaomings enabled auto-merge (squash) January 3, 2025 21:04
@xiaomings xiaomings merged commit a6d7996 into youtube:main Jan 3, 2025
60 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants