OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 if (isSilent()) | 121 if (isSilent()) |
122 return 0; | 122 return 0; |
123 | 123 |
124 float max = 0; | 124 float max = 0; |
125 | 125 |
126 vmaxmgv(data(), 1, &max, length()); | 126 vmaxmgv(data(), 1, &max, length()); |
127 | 127 |
128 return max; | 128 return max; |
129 } | 129 } |
130 | 130 |
131 } // WebCore | 131 } // namespace blink |
132 | 132 |
133 #endif // ENABLE(WEB_AUDIO) | 133 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |