Support and General Use > User Interface and Voice

Auto config loading or theme loading on mode switch...

<< < (4/5) > >>

Llorean:
Yes, it's rather obvious that a car adapter is a type of charger, and you must have a player that charges before you can have a player with car adapters, so it's going to be wrapped in #ifdef CONFIG_CHARGING. This is common sense.

All car adapters (by Rockbox's definition of the device) are chargers, not all chargers are car adapters... I don't see why you still seem to think they're identical.

It's not #ifdef CONFIG_CAR_ADAPTER, it's #ifdef CONFIG_CHARGING...

Is it so hard to merely say "Sorry, I'll be more explicit in future posts" or do you honestly think the variables were given intentionally misleading names, and they really meant to say CONFIG_CAR_ADAPTER and SYS_CAR_ADAPTER_CONNECTED?

yegods:

--- Quote ---Is it so hard to merely say "Sorry, I'll be more explicit in future posts" or do you honestly think the variables were given intentionally misleading names, and they really meant to say CONFIG_CAR_ADAPTER and SYS_CAR_ADAPTER_CONNECTED?
--- End quote ---

i don't know why you feel the need to nitpick everything i say.  i had a need to load a config file for while i was plugged into the car, and i satisfied that need by using a "car adapter mode" detection function that ALREADY existed... so why don't you go and complain to the original author of that function, if you don't think it's named properly??  please get off my back.  you're giving me a real distaste for this "community".

Llorean:
I didn't say the function was named improperly. But the function doesn't do "detection". The function is named "processing", as in "it's what is processed when a charger is detected if the player has car adapter mode enabled."

The function itself doesn't do the detection, so I still don't understand why you insist on thinking it's a detection function. I never once said that the "processing" function was poorly named, now did I? All I said was that you referred to something that didn't exist, and that you need to be clearer and more precise.

Yes, I'm being nitpicky, but yes it's also important that you actually call things either what they are, or what they're named. The function does not "sense" a "car adapter" so there is no "car adapter mode sensor". I don't see why you have to be so stubborn as to be unwilling to just admit you called it something other than what it is, and confused someone.

It's not an issue of "community", it's an issue of "these are technical forums, and technical accuracy is important." My point is merely that if you go around making up names for things, you will confuse people. If you're going to respond to just one thing in this post, tell me why you think it's not important people call things by the right name in a forum where other people might search for information and actually know the right name when typing in search terms?

So, are you arguing that there is in fact something that senses *just* car adapters, or is there no car adapter sensor, and you called it something it is not?

yegods:

--- Quote ---these are technical forums, and technical accuracy is important
--- End quote ---

okay, i'll give you that point.

my argument was more along the lines of... the SYS_CHARGER_CONNECTED event detects a charger, and the car adapter mode processing function is called as a result of that event.  the adapter processing function will never be called unless the SYS_CHARGER_CONNECTED event is detected.   therefore the effect of the event is also to detect whatever makes up the car adapter mode... QED.

i really don't think i'm being technically inaccurate.  it's just the definition of what "car adapter mode" is, that is fuzzy.

Llorean:
"Car adapter mode" is a change in functionality to occur when any charger (car adapter or not) is unplugged (or plugged) and car adapter mode is enabled in the settings.

The effect of the event is to detect a charger. Car adapter mode occurs when a charger is plugged in at which point 'charger' related actions will always happen, while 'car adapter' actions may or may not happen depending on whether car adapter mode is enabled. Which is why I was making the distinction. There will always be charger events on a charger insert, while car adapter mode has a setting, and you *need* to distinguish the two, because if you treat "SYS_CHARGER_CONNECTED" as if it's only a car adapter thing, people plugging their players into the wall with car adapter mode disabled are still going to get affected by functionality that shouldn't happen.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version