From 55cdf605cda8900f0c6c4d8098fb1ba951767fd2 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 13 May 2011 19:22:53 +0000 Subject: Convert audio-related messages to the new thunk/API system for Pepper. This has a bit of a change from the previous couple of resources that were converted in that the ResourceCreationProxy now calls a static proxy function for actually doing the work. It became too complicated and required that the ResourceCreationProxy know a lot about the internals of the objects. Did a little namespace cleanup. This renames "pp::shared_impl" to just use the "ppapi" namespace. The "shared_impl" was ugly and didn't help anything. Some files in that directory used "ppapi::shared_impl" instead which was even more confusing. Do a little build cleanup. The old ppapi_shared_proxy.gypi is now split into two sub-files, one for ppapi_shared, and one for ppapi_proxy. It's hopefully easier to find stuff now. Review URL: http://codereview.chromium.org/7014024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85303 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/examples/audio/audio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ppapi/examples') diff --git a/ppapi/examples/audio/audio.cc b/ppapi/examples/audio/audio.cc index 3e0fedd..91042fa 100644 --- a/ppapi/examples/audio/audio.cc +++ b/ppapi/examples/audio/audio.cc @@ -43,7 +43,7 @@ class MyInstance : public pp::Instance { } private: - static void SineWaveCallback(void* samples, size_t num_bytes, void* thiz) { + static void SineWaveCallback(void* samples, uint32_t num_bytes, void* thiz) { const double delta_l = kTwoPi * frequency_l / sample_frequency; const double delta_r = kTwoPi * frequency_r / sample_frequency; -- cgit v1.1