Skip to contentSkip to conversation

Initial VDP implementation.

PATCH In review Prasad Bhat 4 participants 6 messages Jul 26, 2011 – Aug 15, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/6 Initial VDP implementation.

---
 Makefile.am |    1 +
 audio/vdp.c | 2303 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 audio/vdp.h |   92 +++
 3 files changed, 2396 insertions(+), 0 deletions(-)
 create mode 100755 audio/vdp.c
 create mode 100755 audio/vdp.h
Makefile.am +1 -0
index 52c49fb..af41604 100644
@@ -136,6 +136,7 @@ builtin_sources += audio/main.c \
 			audio/sink.h audio/sink.c \
 			audio/a2dp.h audio/a2dp.c \
 			audio/avdtp.h audio/avdtp.c \
+			audio/vdp.h audio/vdp.c \
 			audio/ipc.h audio/ipc.c \
 			audio/unix.h audio/unix.c \
 			audio/media.h audio/media.c \
audio/vdp.c new file +2303 -0

2,303 lines not on this page · raw message

audio/vdp.h new file +92 -0

92 lines not on this page · raw message

Signature · 1 line
1.7.3.4
#1 lore raw

Uh great!
I am looking forward to seing that working!

But one thing is strange in your patch:

Am 26.07.2011 16:09, schrieb Prasad Bhat:

audio/vdp.c line 6

Quoted 9 lines
audio/vdp.c new file +6 -0
@@ -0,0 +1,2303 @@
+/*
+ *
+ *  BlueZ - Bluetooth protocol stack for Linux
+ *
+ *  Copyright (C) 2006-2010  Nokia Corporation
+ *  Copyright (C) 2004-2010  Marcel Holtmann <[email protected]>

I think this is your code, is it?

Why do you assign the copyright to Nokia and Marcel then?

Cheers
nils

Signature · 4 lines
kernel concepts GbR        Tel: +49-271-771091-12
Sieghuetter Hauptweg 48
D-57072 Siegen             Mob: +49-176-21024535
http://www.kernelconcepts.de
#2 lore raw

Hi,

Quoted 14 lines · Nils Faerber

Am 26.07.2011 16:09, schrieb Prasad Bhat:

audio/vdp.c line 6

Quoted 9 lines
audio/vdp.c new file +6 -0
@@ -0,0 +1,2303 @@
+/*
+ *
+ *  BlueZ - Bluetooth protocol stack for Linux
+ *
+ *  Copyright (C) 2006-2010  Nokia Corporation
+ *  Copyright (C) 2004-2010  Marcel Holtmann <[email protected]>

I think this is your code, is it?

Quoted 1 line

Why do you assign the copyright to Nokia and Marcel then?

Looking at the code it seems to a large part copy-paste + minor modifications from a2dp.c, so to that extent those copyright declarations would be correct. However, I would also have expected Prasad to add either his personal copyright or the copyright of the company that he's working for.

Couple of other notes:

- The patch is huge. Any chance of splitting it up into smaller chunks?
- Since there's so much in common with a2dp.c it'd make sense to attempt some refactoring.
- Now that audio/*.c does video too we might consider renaming the audio plugin and directory to something else.

Johan

#3 lore raw

Hi,

Quoted 27 lines · Johan Hedberg

Hi,

Quoted 14 lines · Nils Faerber

Am 26.07.2011 16:09, schrieb Prasad Bhat:

audio/vdp.c line 6

Quoted 9 lines
audio/vdp.c new file +6 -0
@@ -0,0 +1,2303 @@
+/*
+ *
+ *  BlueZ - Bluetooth protocol stack for Linux
+ *
+ *  Copyright (C) 2006-2010  Nokia Corporation
+ *  Copyright (C) 2004-2010  Marcel Holtmann <[email protected]>

I think this is your code, is it?

Quoted 1 line

Why do you assign the copyright to Nokia and Marcel then?

Looking at the code it seems to a large part copy-paste + minor modifications from a2dp.c, so to that extent those copyright declarations would be correct. However, I would also have expected Prasad to add either his personal copyright or the copyright of the company that he's working for.

Couple of other notes:

Quoted 8 lines

- The patch is huge. Any chance of splitting it up into smaller chunks?
- Since there's so much in common with a2dp.c it'd make sense to attempt some refactoring.
- Now that audio/*.c does video too we might consider renaming the audio plugin and directory to something else.

Johan

Thanks for the inputs, I will work on it and will resend it with other patches.

Regards
Prasad

#4 lore raw

Hi,

Quoted 11 lines · Prasad Bhat

Hi,

Quoted 7 lines · Johan Hedberg

Couple of other notes:

- The patch is huge. Any chance of splitting it up into smaller chunks?
- Since there's so much in common with a2dp.c it'd make sense to attempt some refactoring.
- Now that audio/*.c does video too we might consider renaming the audio plugin and directory to something else.

Maybe we can have e.g. sep.c which implements generic sep handling which can be reused by both vdp and a2dp, how about that?

Signature · 1 line
Luiz Augusto von Dentz
#5 lore raw

Hi,

Quoted 9 lines · Luiz Augusto von Dentz

Hi,

Quoted 6 lines · Prasad Bhat

Hi,

Quoted 2 lines · Johan Hedberg

Couple of other notes:

Quoted 8 lines
Quoted 5 lines
Quoted 5 lines

- The patch is huge. Any chance of splitting it up into smaller chunks?
- Since there's so much in common with a2dp.c it'd make sense to attempt some refactoring.
- Now that audio/*.c does video too we might consider renaming the audio plugin and directory to something else.

Maybe we can have e.g. sep.c which implements generic sep handling which can be reused by both vdp and a2dp, how about that?

Is this coming anytime soon?

Signature · 1 line
Luiz Augusto von Dentz