OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_COMMON_H_ | |
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_COMMON_H_ | |
7 #pragma once | |
8 | |
9 #include "base/basictypes.h" | |
10 | |
11 struct AudioParameters; | |
12 | |
13 // Calculates a safe hardware buffer size (in number of samples) given a set | |
14 // of audio parameters. | |
15 uint32 SelectSamplesPerPacket(const AudioParameters& params); | |
16 | |
17 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_COMMON_H_ | |
OLD | NEW |