ralphy;636926 Wrote: > Are you modifying the IR code loop in interactive.c? >
Pretty much, I'm writing my own handler but it works in a similar way. The buttons on the empeg have just keydown and keyup, and the knob will send a "keydown" when turned one detent up, or one detent down. There is no repeat functionality. I've tried sending more than one code right after another and it works to some extent but it seems like the server is filtering out some of the commands. I think I'll need to send more than one code but with a delay in-between. ralphy;636926 Wrote: > > Another option I can think of is you could open a connection to the > cli, and send 'mixer volume ' change commands with whatever > increment/decrement you'd like, through that socket connection using > your player MAC address as the target. > That sounds like it might work. I see there's also knob handling on the server side but it looks like it's not for volume. ralphy;636926 Wrote: > Do you still have those changes? It would be great to incorporate them > into trunk. > Sure, I attached a diff. My mod is pretty simple but it should work okay as the bool will be written in one instruction cycle so no need for a mutex lock. ralphy;636926 Wrote: > > That would be in slimaudio_http.c. The UNDERRUN error indicates that > the output buffer is empty, so you could be correct with that > assumption. > Ah, so I've been looking into this. I added some code to http_recv so that it would yield the thread if the audio->output_buffer is too low. This worked very well and fixed it 90%, but it seems like there is still something else that is tying things up occasionally. ralphy;636926 Wrote: > How would that affect player sync? You're right it would probably have problems with that. The other stuff I'm working on should work better in that regard. +-------------------------------------------------------------------+ |Filename: pa_callback_mutex.diff | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11998| +-------------------------------------------------------------------+ -- rpress ------------------------------------------------------------------------ rpress's Profile: http://forums.slimdevices.com/member.php?userid=31544 View this thread: http://forums.slimdevices.com/showthread.php?t=83362 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
