Hijack v444

Posted by: mlord

Hijack v444 - 02/12/2005 17:56

Hijack v444 is now available.

This version boosts the gain control of the cs4231a chip to max, for use when sampling Radio/Aux inputs to compute the front-panel graphical visual displays. There is no effect on visuals from the mpeg player engine, as that path does not use the cs4231a for sampling.

I have found that the v3alpha series has severely muted the visuals for Radio/Aux, so this does a little bit towards making them work again. Even with the gain at max, it's still a bit lower than I'd like, though.

There is now a new Hijack parameter for config.ini, known as visuals_gain, which can be assigned any value from 0 through 31. A value of 0 means use the player's default setting of 8 (same behaviour as prior to Hijack v444,), and values from 1..15 are straight 1.5dB gain increments. Values from 16 through 31 add a +20dB boost to the lower 1..15 values. The default is a gain of 31 (15 + 20dB boost).

Also new, the /proc/empeg_cs4231 file now shows the two most recent 16-bit samples, so you can how adjusting the gain works out. This is also to aid me in implementing record from FM some day. I may begin that by simply streaming the samples out over TCP or UDP to my 24/7 network server, and let that machine actually save the recordings.

Cheers
Posted by: tonyc

Re: Hijack v444 - 02/12/2005 18:17

Hm.... Do you have any plans to add something to /proc (or perhaps just an ioctl) to retrieve the currently-tuned radio frequency? If so, that'd be about all I'm missing to implement something to do this.
Posted by: mlord

Re: Hijack v444 - 02/12/2005 18:40

Quote:
Hm.... Do you have any plans to add something to /proc (or perhaps just an ioctl) to retrieve the currently-tuned radio frequency?


No need --it's already available by reading the flash savearea (/dev/empeg_state). The FM tuner frequency is a 32-bit (little-endian) word at offset 0x14 (as I just discovered using the Hijack Show Flash Savearea feature).

For example, I am currently listening to FM 91.5 (CBC RadioOne), and the 32-bit word reads as 0x05742de0, which in base10 is 91500000.

Cheers
Posted by: tonyc

Re: Hijack v444 - 02/12/2005 18:43

Cool, that's all I need. I'm already reading the savearea for something else, but didn't know the tuner freq. was in there (thought it was stored on the tuner module itself or something.)
Posted by: crazymelki

Re: Hijack v444 - 22/01/2006 14:02

Hi Mark,

I had V443 and V444 installed on my device and found out, that when I switch between sources (tuner, AUX, player) and go back to player as a source, I can't choose any new playlists...The player hangs forever (sandglass)...If I go back to V442, then I can switch to every source and come back to player and can choose a different playlist...

Don't know, if this have todo with the digital board form Stu...

There was an other funny thing today...Car battery was draining to zero with V443... I am not sure, if the player was not switching off and I din't used my car for a while.

bye
Posted by: mlord

Re: Hijack v444 - 22/01/2006 14:08

I just tried this a few times, and it worked for me -- didn't get stuck on the hourglass.

But one attempt did actually fail to play new music until I rebooted the player.

Such is life with closed source apps.. never really know what's wrong or how to fix it.

Cheers
Posted by: crazymelki

Re: Hijack v444 - 22/01/2006 17:18

lets say "works as designed"

Thanks
Posted by: ChristianAC

Re: Hijack v444 - 16/02/2006 15:12

Quote:
Hijack v444 is now available.

I have found that the v3alpha series has severely muted the visuals for Radio/Aux, so this does a little bit towards making them work again. Even with the gain at max, it's still a bit lower than I'd like, though.





What needs to be done to get Mute working with alpha8 ??
The player just shows a Telefon-Icon but nothing really happens.

Regards

Christian
Posted by: andym

Re: Hijack v444 - 16/02/2006 16:37

Quote:
Quote:
Hijack v444 is now available.

I have found that the v3alpha series has severely muted the visuals for Radio/Aux, so this does a little bit towards making them work again. Even with the gain at max, it's still a bit lower than I'd like, though.





What needs to be done to get Mute working with alpha8 ??
The player just shows a Telefon-Icon but nothing really happens.

Regards

Christian


I think that's a different kind of mute to what Mark is talking about.
Posted by: tfabris

Re: Hijack v444 - 16/02/2006 16:48

Quote:
What needs to be done to get Mute working with alpha8?

Install version 2.0 final?
Posted by: ChristianAC

Re: Hijack v444 - 16/02/2006 19:18

Quote:


I think that's a different kind of mute to what Mark is talking about.


As long as I am able to have an undisturbed phone call,
i take any kind of mute.

How about switching to the AUX-Port ??

I've nothing on there.

So which code to put on exmute_on/off ??

Regards

Christian
Posted by: mlord

Re: Hijack v444 - 16/02/2006 19:22

Why not just map both of them to "Pause" ?

But to answer your question about switching to Aux, The button name is "Auxiliary" in Hijack, and to switch back to the player use "Player".

-ml
Posted by: ChristianAC

Re: Hijack v444 - 11/04/2006 09:03

OK. I did the maping to "Pause" of both.

In player-mode it works perfect but in tuner-mode
it shows the telephone, it shows speaker-symbol
but does nothing. You have to push the pause-button
twice. First switches the speaker-symbol away und the
second hit on the pause-button switches it back on and
also cuts the music off, which already should have been done by the mute.

Any Ideas ?

Regards

Christian
Posted by: mlord

Re: Hijack v444 - 11/04/2006 10:36

Quote:

Any Ideas ?



Well, Yeah!. There's been, like, an entire new thread on this topic in the meanwhile, and several new Hijack versions to provide the features required.

Something like:

extmute_off=SaveAux
extmute_on=RestoreSrc


in your case.