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

Side by Side Diff: talk/media/base/voiceprocessor.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 years, 3 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 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 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 30 matching lines...) Expand all
41 MPD_TX = 1 << 1, 41 MPD_TX = 1 << 1,
42 MPD_RX_AND_TX = MPD_RX | MPD_TX, 42 MPD_RX_AND_TX = MPD_RX | MPD_TX,
43 }; 43 };
44 44
45 class VoiceProcessor : public sigslot::has_slots<> { 45 class VoiceProcessor : public sigslot::has_slots<> {
46 public: 46 public:
47 virtual ~VoiceProcessor() {} 47 virtual ~VoiceProcessor() {}
48 // Contents of frame may be manipulated by the processor. 48 // Contents of frame may be manipulated by the processor.
49 // The processed data is expected to be the same size as the 49 // The processed data is expected to be the same size as the
50 // original data. 50 // original data.
51 virtual void OnFrame(uint32 ssrc, 51 virtual void OnFrame(uint32_t ssrc,
52 MediaProcessorDirection direction, 52 MediaProcessorDirection direction,
53 AudioFrame* frame) = 0; 53 AudioFrame* frame) = 0;
54 }; 54 };
55 55
56 } // namespace cricket 56 } // namespace cricket
57 #endif // TALK_MEDIA_BASE_VOICEPROCESSOR_H_ 57 #endif // TALK_MEDIA_BASE_VOICEPROCESSOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698