'Twas brillig, and Daniel Mack at 18/07/09 13:12 did gyre and gimble:
On Fri, Jul 17, 2009 at 10:12:38AM +0100, Colin Guthrie wrote:
'Twas brillig, and Daniel Mack at 17/07/09 09:18 did gyre and gimble:

Never done anything with the iPhone, but I could ask some people who
did.
Cool. I'm just getting into that scene myself, so picking up all sorts of interesting stuff...

Ok, I've asked people with quite some iPhone experience and this is what
they came up with.

There is no way to redirect the default audio output of an iPhone to
anything else than the built-in sound device. The API does not allow
that. One would need to hack a kernel module for that, but this is not
documented and Apple will never approve such an application as modifing
the kernel's behaviour is clearly nothing they will let users do. And
apperantly, nobody has ever tried to put any efford in re-engineering
that part yet, not even in the jail-break world.

Kinda what I figured. It's a shame as it's no doubt some kind of coreaudio thing in there and once the desktop stuff is out the way, it should be quite simple to take to the iphone...

So the only audio you can get access to is the material you generate
yourself. You're of course free to not send that to the default output
but anywhere else.

The only possible (and also quite useful) application would be to
implement a PA client as an applicaiton to use your iPhone as audio sink
for other PA servers.

I think you mean a server here rather than a client, but I get the jist. I guess an app that implements it's own player (e.g. the vlc app available for jailbroken devices) could use it's pulse output layer... Not exactly mainstream, but could provide some interesting fiddling opportunities!

Hope that clarifies the situation a bit :)

Indeed it does. Thanks :)

Col
--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to