Re: [Rhythmbox-devel] DACP (iTunes remote) support added
- From: Bastien Nocera <hadess hadess net>
- To: Alexandre Rosenfeld <alexandre rosenfeld gmail com>
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] DACP (iTunes remote) support added
- Date: Tue, 19 Oct 2010 01:23:54 +0100
On Mon, 2010-10-18 at 18:10 -0400, Alexandre Rosenfeld wrote:
<snip>
> It's not a pointer, it's just a way to workaround the fact that
> Rhythmbox doesnt have id's for albums and DACP requires one, so we use
> the refstring pointer location (which should be constant through a
> Rhythmbox execution) to always get the same number for a string (in
> this case, an album name).
> I thought the code would work because it would cast a 32-bit pointer
> (4 bytes) into a 64-bit integer in 32-bit machines. And in 64-bits it
> works normally.
Ha, it wasn't very clear to me from the original snippet posted. Thanks
for the explanation.
> Any suggestion to make this work?
I'm guessing that Jonathan's changes will make this work then.
Cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]