~ubuntu-branches/ubuntu/wily/bluez/wily

« back to all changes in this revision

Viewing changes to audio/gstsbcparse.c

ImportĀ upstreamĀ versionĀ 4.81

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *
3
3
 *  BlueZ - Bluetooth protocol stack for Linux
4
4
 *
5
 
 *  Copyright (C) 2004-2009  Marcel Holtmann <marcel@holtmann.org>
 
5
 *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>
6
6
 *
7
7
 *
8
8
 *  This library is free software; you can redistribute it and/or
27
27
 
28
28
#include <string.h>
29
29
 
 
30
#include "gstpragma.h"
30
31
#include "gstsbcutil.h"
31
32
#include "gstsbcparse.h"
32
33
 
64
65
        GstFlowReturn res = GST_FLOW_OK;
65
66
        guint size, offset = 0;
66
67
        guint8 *data;
67
 
        GstClockTime timestamp;
68
 
 
69
 
        timestamp = GST_BUFFER_TIMESTAMP(buffer);
70
68
 
71
69
        /* FIXME use a gstadpter */
72
70
        if (parse->buffer) {