summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_buffers_state.cc
blob: 7e829fe0fc8db5194dd3de9dd2779ab339f39205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2012 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.

#include "media/audio/audio_buffers_state.h"

AudioBuffersState::AudioBuffersState()
    : pending_bytes(0),
      hardware_delay_bytes(0) {
}

AudioBuffersState::AudioBuffersState(int pending_bytes,
                                     int hardware_delay_bytes)
    : pending_bytes(pending_bytes),
      hardware_delay_bytes(hardware_delay_bytes) {
}