Re: [Rhythmbox-devel] DACP (iTunes remote) support added



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]