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

Side by Side Diff: Source/modules/webaudio/PannerNode.h

Issue 176873003: Remove type of panningModelType "soundfield". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // A distance effect will attenuate the gain as the position moves away from the listener. 44 // A distance effect will attenuate the gain as the position moves away from the listener.
45 // A cone effect will attenuate the gain as the orientation moves away from the listener. 45 // A cone effect will attenuate the gain as the orientation moves away from the listener.
46 // All of these effects follow the OpenAL specification very closely. 46 // All of these effects follow the OpenAL specification very closely.
47 47
48 class PannerNode FINAL : public AudioNode { 48 class PannerNode FINAL : public AudioNode {
49 public: 49 public:
50 // These must be defined as in the .idl file and must match those in the Pan ner class. 50 // These must be defined as in the .idl file and must match those in the Pan ner class.
51 enum { 51 enum {
52 EQUALPOWER = 0, 52 EQUALPOWER = 0,
53 HRTF = 1, 53 HRTF = 1,
54 SOUNDFIELD = 2,
55 }; 54 };
56 55
57 // These must be defined as in the .idl file and must match those 56 // These must be defined as in the .idl file and must match those
58 // in the DistanceEffect class. 57 // in the DistanceEffect class.
59 enum { 58 enum {
60 LINEAR_DISTANCE = 0, 59 LINEAR_DISTANCE = 0,
61 INVERSE_DISTANCE = 1, 60 INVERSE_DISTANCE = 1,
62 EXPONENTIAL_DISTANCE = 2, 61 EXPONENTIAL_DISTANCE = 2,
63 }; 62 };
64 63
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 147
149 unsigned m_connectionCount; 148 unsigned m_connectionCount;
150 149
151 // Synchronize process() and setPanningModel() which can change the panner. 150 // Synchronize process() and setPanningModel() which can change the panner.
152 mutable Mutex m_pannerLock; 151 mutable Mutex m_pannerLock;
153 }; 152 };
154 153
155 } // namespace WebCore 154 } // namespace WebCore
156 155
157 #endif // PannerNode_h 156 #endif // PannerNode_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/custom/V8PannerNodeCustom.cpp ('k') | Source/modules/webaudio/PannerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698