Changeset 143372 in webkit


Ignore:
Timestamp:
Feb 19, 2013 12:36:36 PM (11 years ago)
Author:
tommyw@google.com
Message:

WebAudio API: Change the Platform::createAudioDevice function to take a DeviceId parameter
https://bugs.webkit.org/show_bug.cgi?id=110192

Reviewed by Adam Barth.

  • chromium/public/Platform.h:

(WebKit::Platform::createAudioDevice):
(Platform):

Location:
trunk/Source/Platform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/Platform/ChangeLog

    r142860 r143372  
     12013-02-19  Tommy Widenflycht  <tommyw@google.com>
     2
     3        WebAudio API: Change the Platform::createAudioDevice function to take a DeviceId parameter
     4        https://bugs.webkit.org/show_bug.cgi?id=110192
     5
     6        Reviewed by Adam Barth.
     7
     8        * chromium/public/Platform.h:
     9        (WebKit::Platform::createAudioDevice):
     10        (Platform):
     11
    1122013-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
    213
  • trunk/Source/Platform/chromium/public/Platform.h

    r142388 r143372  
    118118    // Creates a device for audio I/O.
    119119    // Pass in (numberOfInputChannels > 0) if live/local audio input is desired.
     120    virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*, const WebString& deviceId) { return 0; }
     121
     122    // FIXME: remove deprecated APIs once chromium switches over to new method.
     123    virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
    120124    virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
    121 
    122     // FIXME: remove deprecated API once chromium switches over to new method.
    123     virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
    124125
    125126
Note: See TracChangeset for help on using the changeset viewer.