| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 PROXY_CONSTMETHOD0(std::string, kind) | 40 PROXY_CONSTMETHOD0(std::string, kind) |
| 41 PROXY_CONSTMETHOD0(std::string, id) | 41 PROXY_CONSTMETHOD0(std::string, id) |
| 42 PROXY_CONSTMETHOD0(TrackState, state) | 42 PROXY_CONSTMETHOD0(TrackState, state) |
| 43 PROXY_CONSTMETHOD0(bool, enabled) | 43 PROXY_CONSTMETHOD0(bool, enabled) |
| 44 PROXY_CONSTMETHOD0(AudioSourceInterface*, GetSource) | 44 PROXY_CONSTMETHOD0(AudioSourceInterface*, GetSource) |
| 45 PROXY_METHOD1(void, AddSink, AudioTrackSinkInterface*) | 45 PROXY_METHOD1(void, AddSink, AudioTrackSinkInterface*) |
| 46 PROXY_METHOD1(void, RemoveSink, AudioTrackSinkInterface*) | 46 PROXY_METHOD1(void, RemoveSink, AudioTrackSinkInterface*) |
| 47 PROXY_METHOD1(bool, GetSignalLevel, int*) | 47 PROXY_METHOD1(bool, GetSignalLevel, int*) |
| 48 PROXY_METHOD0(rtc::scoped_refptr<AudioProcessorInterface>, | 48 PROXY_METHOD0(rtc::scoped_refptr<AudioProcessorInterface>, |
| 49 GetAudioProcessor) | 49 GetAudioProcessor) |
| 50 PROXY_METHOD0(cricket::AudioRenderer*, GetRenderer) | |
| 51 | 50 |
| 52 PROXY_METHOD1(bool, set_enabled, bool) | 51 PROXY_METHOD1(bool, set_enabled, bool) |
| 53 PROXY_METHOD1(bool, set_state, TrackState) | 52 PROXY_METHOD1(bool, set_state, TrackState) |
| 54 | 53 |
| 55 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) | 54 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) |
| 56 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) | 55 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) |
| 57 END_PROXY() | 56 END_PROXY() |
| 58 | 57 |
| 59 BEGIN_PROXY_MAP(VideoTrack) | 58 BEGIN_PROXY_MAP(VideoTrack) |
| 60 PROXY_CONSTMETHOD0(std::string, kind) | 59 PROXY_CONSTMETHOD0(std::string, kind) |
| 61 PROXY_CONSTMETHOD0(std::string, id) | 60 PROXY_CONSTMETHOD0(std::string, id) |
| 62 PROXY_CONSTMETHOD0(TrackState, state) | 61 PROXY_CONSTMETHOD0(TrackState, state) |
| 63 PROXY_CONSTMETHOD0(bool, enabled) | 62 PROXY_CONSTMETHOD0(bool, enabled) |
| 64 PROXY_METHOD1(bool, set_enabled, bool) | 63 PROXY_METHOD1(bool, set_enabled, bool) |
| 65 PROXY_METHOD1(bool, set_state, TrackState) | 64 PROXY_METHOD1(bool, set_state, TrackState) |
| 66 | 65 |
| 67 PROXY_METHOD1(void, AddRenderer, VideoRendererInterface*) | 66 PROXY_METHOD1(void, AddRenderer, VideoRendererInterface*) |
| 68 PROXY_METHOD1(void, RemoveRenderer, VideoRendererInterface*) | 67 PROXY_METHOD1(void, RemoveRenderer, VideoRendererInterface*) |
| 69 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) | 68 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) |
| 70 | 69 |
| 71 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) | 70 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) |
| 72 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) | 71 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) |
| 73 END_PROXY() | 72 END_PROXY() |
| 74 | 73 |
| 75 } // namespace webrtc | 74 } // namespace webrtc |
| 76 | 75 |
| 77 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ | 76 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ |
| OLD | NEW |