Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: media/base/audio_parameters.h

Issue 2670873002: Remove base's ALIGNOF/ALIGNAS in favor of alignof/alignas. (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/devtools/lock_free_circular_queue.h ('k') | net/quic/platform/impl/quic_aligned_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_parameters.h
diff --git a/media/base/audio_parameters.h b/media/base/audio_parameters.h
index 68fbd54754f51c9254e0cc827508e2e11d14c05f..e783224db589470b6730def9cdd8893ad3216df3 100644
--- a/media/base/audio_parameters.h
+++ b/media/base/audio_parameters.h
@@ -32,14 +32,14 @@ namespace media {
#define PARAMETERS_ALIGNMENT 16
static_assert(AudioBus::kChannelAlignment == PARAMETERS_ALIGNMENT,
"Audio buffer parameters struct alignment not same as AudioBus");
-struct MEDIA_EXPORT ALIGNAS(PARAMETERS_ALIGNMENT) AudioInputBufferParameters {
+struct alignas(PARAMETERS_ALIGNMENT) AudioInputBufferParameters {
double volume;
uint32_t size;
uint32_t hardware_delay_bytes;
uint32_t id;
bool key_pressed;
};
-struct MEDIA_EXPORT ALIGNAS(PARAMETERS_ALIGNMENT) AudioOutputBufferParameters {
+struct alignas(PARAMETERS_ALIGNMENT) AudioOutputBufferParameters {
uint32_t frames_skipped;
int64_t delay;
int64_t delay_timestamp;
« no previous file with comments | « content/renderer/devtools/lock_free_circular_queue.h ('k') | net/quic/platform/impl/quic_aligned_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698