Results 1 to 6 of 6

Thread: linein and activesource

  1. #1
    Low Bitrate
    Join Date
    Feb 2011
    Posts
    101

    linein and activesource

    hi all, i've nearly end the edited version of a skin i'm working on, but i got problems with Line In and activesource, i explain.
    Line In can be played over any sound, music, radio, video, etc.. so i worked on a system that if line in (Aux) is selected then is the only one that work, here is the code:
    Code:
    "checkaudio","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||audio"
    "checkradio","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||radio"
    "checkvideo","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||video"
    "checkdvd","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||dvd"
    "checkdvb","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||dvb"
    "aux_check","IFVAR;ack=True;aux_error<<Mute;Linea in ingresso"
    I've put a var that check if the current screen belong to a source, and it works pretty well, it mute/unmute Line In depending the current skin
    The problem is that i need a way set a virtual ACTIVESOURCEID / ACTIVESOURCE for Line In, and since i don't have XM and Sirius i tryed to use them.. but if i set XM or Sirius once i change skin the ActiveSource change back to the previous one (one that works)
    There is a way to emulate the ActiveSouce? or if there is one for Line In (there is nothing about line in on documentation)
    Thanks

  2. #2
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by Diavoletto View Post
    There is a way to emulate the ActiveSouce? or if there is one for Line In (there is nothing about line in on documentation)
    Thanks
    http://www.mp3car.com/road-runner/15...sourceids.html

    http://www.mp3car.com/road-runner/15...esourceid.html
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  3. #3
    Low Bitrate
    Join Date
    Feb 2011
    Posts
    101
    thanks for the reply, i had seen the first link but i didn't understand much, for example about "ACTIVESOURCEGUID" there are no info on documentation but using skin tool (for example haveing radio as source) the value ACTIVESOURCEGUID is 2radio2.
    About the second link i've read the code but i didn't understand also how it could help , for what i read you use 2 vars "CURRENTSOURCE" and "lastaudio" (for recorver the status) but how currentsource works for activate a source like SETSOURCE?
    SETSOURCE works only with predefined names (radio, audio, xm, sirius), and activesourceid goes up to 10 for custom plugin (tv 9, webradio 10)
    Would be usefoul an 11th for LineIn, as far i know prettymuch any motherboard has a line in connector

  4. #4
    Low Bitrate
    Join Date
    Feb 2011
    Posts
    101
    i've made it, finally
    now i have XM source as Empty
    and SIRIUS as LINEIN/AUX

    here is the code i'm using:
    Code:
    "ONSOURCECHANGE","ByIndX;Vol;Linea In Ingresso;(SETSOURCE;SIRIUS<<IFVAR;ACTIVESOURCEID=4;SETSOURCE;$auxsd$)"
    "ONSUSPEND","IFVAR;ACTIVESOURCEID=4;check$auxsd$"
    "ONEXIT","IFVAR;ACTIVESOURCEID=4;check$auxsd$"
    "checkaudio","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||audio"
    "checkradio","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||radio"
    "checkvideo","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||video"
    "checkdvd","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||dvd"
    "checkdvb","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||dvb"
    "checkgame","ByIndX;Vol;Linea In Ingresso;(Mute;Linea in ingresso;True<<)||SETVAR;ack;True||games_select"
    "aux_check","IFVAR;ack=True;aux_error<<Mute;Linea in ingresso||aux_set"
    "aux_set","IFVAR;ACTIVESOURCEID=4;SETSOURCE;$auxsd$<<SETVARBYCODE;auxsd;ACTIVESOURCE||SETSOURCE;SIRIUS"
    "checksource","SETVARBYCODE;csn;RRSCREEN||IFVAR;csn=audio_player.skin;SETVAR;ack;False||IFVAR;csn=radio_player.skin;SETVAR;ack;False||csvideo||csdvd||csdvb||csgame  "
    "csvideo","IFVAR;csn=video_player.skin;SETVAR;ack;False"
    "csdvd","IFVAR;csn=dvd_player.skin;SETVAR;ack;False"
    "csdvb","IFVAR;csn=dvb.skin;SETVAR;ack;False"
    "csgame","IFVAR;csn=games_select.skin;SETVAR;ack;False"
    "aux_error","SETVAR;WARNINGMESSAGE;Altra sorgente in uso, per usare la linea AUX assicurati di non trovarti nei mený: Musica, Radio, Video, DVD, Televisione. Attenzione nella sezione giochi nessun audio Ť ammesso||SETVAR;WARNINGMESSAGENOTICE;MESSAGGIO||Menu;message.skin"
    all the commands starting with check- will set the variables and mute the aux
    so when in media pages (audio, video, radio, dvb, games, etc) the aux will be muted and the variable for check will be set

    the checksource will be set on the "back" button, it set a particular back button that restore the variable for set aux (again, it will make impossible for activate aux under media sections)


    Anyway i would suggest to the dev team, if possible, to add atleast 2 more SOURCES (for example 13 = Aux, 14 = Empty)

  5. #5
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,246
    a plugin would simplify all you work... course u need to know vb or c# or something

    could actually make an custom source line in plugin, officially there is no source that is just line-in
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  6. #6
    Low Bitrate
    Join Date
    Feb 2011
    Posts
    101
    yes the problem is coding a plugin XD
    just got some knowlage on vb nearly nothing on c# or c++
    a line in source would be awsome, i'm aware that the system i've write using RR use some resource (variables, and actions any screen change) so a simple ACTIVESOURCE would be very lighter and easyer.
    About the one Empty is just for skinning, there are some sections that is possible to manage better using an empty source without music (for example in my game section i don't whant the possibility to play anykind of music, or in the phone section) and just stopping the music / radio / player needs to put variables to prevent the use of voice commands or Hotkeys

Similar Threads

  1. Replies: 7
    Last Post: 04-15-2011, 08:04 AM
  2. Which Linein plugin for Winamp
    By obrienj in forum Road Runner
    Replies: 1
    Last Post: 12-04-2010, 10:05 AM
  3. Kx drivers and Linein
    By moboman in forum Car Audio
    Replies: 8
    Last Post: 01-08-2009, 04:22 PM
  4. Audigy2 NX LineIn No Surround?
    By djScript in forum General Hardware Discussion
    Replies: 2
    Last Post: 10-26-2004, 10:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •