summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/media_stream_audio_track_shared.h
blob: 0a2ecea69dbfa70cf1488dd460134bd70484cd6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef PPAPI_SHARED_IMPL_MEDIA_STREAM_AUDIO_TRACK_SHARED_H_
#define PPAPI_SHARED_IMPL_MEDIA_STREAM_AUDIO_TRACK_SHARED_H_

#include "ppapi/c/ppb_audio_buffer.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"

namespace ppapi {

class PPAPI_SHARED_EXPORT MediaStreamAudioTrackShared {
 public:
  struct Attributes {
    Attributes() : buffers(0) {}
    int32_t buffers;
  };

  static bool VerifyAttributes(const Attributes& attributes);
};

}  // namespace ppapi

#endif  // PPAPI_SHARED_IMPL_MEDIA_STREAM_AUDIO_TRACK_SHARED_H_