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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 AudioParamHandler& orientationY, | 68 AudioParamHandler& orientationY, |
69 AudioParamHandler& orientationZ); | 69 AudioParamHandler& orientationZ); |
70 | 70 |
71 ~PannerHandler() override; | 71 ~PannerHandler() override; |
72 | 72 |
73 // AudioHandler | 73 // AudioHandler |
74 void process(size_t framesToProcess) override; | 74 void process(size_t framesToProcess) override; |
75 void processSampleAccurateValues(AudioBus* destination, | 75 void processSampleAccurateValues(AudioBus* destination, |
76 const AudioBus* source, | 76 const AudioBus* source, |
77 size_t framesToProcess); | 77 size_t framesToProcess); |
| 78 void processOnlyAudioParams(size_t framesToProcess) override; |
78 void initialize() override; | 79 void initialize() override; |
79 void uninitialize() override; | 80 void uninitialize() override; |
80 | 81 |
81 // Panning model | 82 // Panning model |
82 String panningModel() const; | 83 String panningModel() const; |
83 void setPanningModel(const String&); | 84 void setPanningModel(const String&); |
84 | 85 |
85 // Position and orientation | 86 // Position and orientation |
86 void setPosition(float x, float y, float z); | 87 void setPosition(float x, float y, float z); |
87 void setOrientation(float x, float y, float z); | 88 void setOrientation(float x, float y, float z); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 Member<AudioParam> m_positionZ; | 254 Member<AudioParam> m_positionZ; |
254 | 255 |
255 Member<AudioParam> m_orientationX; | 256 Member<AudioParam> m_orientationX; |
256 Member<AudioParam> m_orientationY; | 257 Member<AudioParam> m_orientationY; |
257 Member<AudioParam> m_orientationZ; | 258 Member<AudioParam> m_orientationZ; |
258 }; | 259 }; |
259 | 260 |
260 } // namespace blink | 261 } // namespace blink |
261 | 262 |
262 #endif // PannerNode_h | 263 #endif // PannerNode_h |
OLD | NEW |