Hi all, 

Thanks for all the info.  I've made a minor code change to Rivendell 2.2.1 
(same applies to versions at least as far back as 2.1.4).  

Inside riv_source/rdairplay/log_play.cpp is a function called int 
LogPlay::GetNextChannel.

I added an if so that if we were in automatic mode it defaults to card 0, port 
0 unless we're in automatic mode and a macro made it play on a different port.  
I don't know enough about riv to see what the main log playout should be but if 
anyone can give me pointers I'll make the necessary changes.

In order to check for a macro start I had to modify the function declaration 
slightly but I provided a default value in the declaration so that only one 
line change was needed (line 1713).

I'll put them into full test tomorrow but it works on my VM.  There is one 
caveat, after switching from auto to manual or whatever, it will still pick 
playout 0 as the first thing to use even if the current song is still playing 
on playout 0.  This is probably a trivial fix but I'm in need of sleep so any 
ideas would be welcome here too.

Patch files attached,

Wayne


-----Original Message-----
From: [email protected] on behalf of RĂ¼diger
Sent: Thu 06/12/2012 16:56
To: [email protected]
Subject: Re: [RDD] Automatic Mode Output Switching
 
Have the same problem. Having both fader on. But i habe touchscreen 
without using GPIO...

Why not have a checkbox in rdadmin/rddairplay "Use only last running 
player when activating automaticmode"..? Thats possible.?






#######################
Scanned by MailMarshal
#######################

############

Attention: 

The information contained in this message is confidential and intended 
for the addressee(s) only. If you have received this message in error 
or there are any problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. Christian Vision or any of its subsidiaries will
not be liable for direct, special, indirect or consequential damages 
arising from alteration of the contents of this message by a third party
or as a result of any virus being passed on. Please note that we reserve
the right to monitor and read any e-mails sent or received by the 
company under the Telecommunications (Lawful Business Practice) 
(Interception of Communications) Regulation 2000. Christian Vision is 
registered in England as a limited company 2842414 and as a charity 
1031031  

############

<<winmail.dat>>

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to