Ok so here's details of the difference between EDO 0.6 and 0.7 and the
two binaries for people believing there is a difference.

1st - a diff between the two install zips:

Code:
--------------------
    
  diff -dur 0.6/EnhancedDigitalOutputApplet.lua 
0.7/EnhancedDigitalOutputApplet.lua
  --- 0.6/EnhancedDigitalOutputApplet.lua 2012-05-15 22:20:24.000000000 +0100
  +++ 0.7/EnhancedDigitalOutputApplet.lua 2012-05-19 15:45:10.000000000 +0100
  @@ -251,6 +251,8 @@
  { desc = "BUFFER_LARGE",   time = 100000, count =   4 },
  { desc = "BUFFER_SMALL",   time =   4000, count =   2 },
  { desc = "BUFFER_RAND",    time = 100000, count = 104 },
  +                                                  { desc = "BUFFER_VLARGE",  
time =4000000, count =   4 },
  +                                                  { desc = "BUFFER_VLRAND",  
time =4000000, count = 104 },
  }
  local window = Window("text_list", menuItem.text)
  local menu = SimpleMenu("menu")
  Binary files 0.6/jive_alsa and 0.7/jive_alsa differ
  diff -dur 0.6/strings.txt 0.7/strings.txt
  --- 0.6/strings.txt     2012-05-15 22:25:54.000000000 +0100
  +++ 0.7/strings.txt     2012-05-19 15:45:17.000000000 +0100
  @@ -81,6 +81,12 @@
  BUFFER_RAND
  EN      Large + Randomise CPU
  
  +BUFFER_VLARGE
  +       EN      Very Large (USB Only)
  +
  +BUFFER_VLRAND
  +       EN      Very Large + Randomise CPU (USB Only)
  +
  REBOOTING
  EN      Rebooting
  
--------------------


This shows that other than the difference in the binary file jive_alsa,
the only difference is the new menu options and the display strings for
this.  If you don't select these very large buffer values then this is
not used and not relavent.

2nd the binary jive_alsa, I've just confirmed the binary builds again by
rebuilding them and the only difference is the following patch (see the
rest of the code in my github repo posted a few posts above):

Code:
--------------------
    
  --- decode_alsa_backend.c       (revision 415)
  +++ decode_alsa_backend.c       (working copy)
  @@ -628,6 +628,7 @@
  snd_pcm_uframes_t size;
  snd_ctl_elem_id_t *id;
  snd_pcm_hw_params_t *hw_params;
  +       int plug = 0;
  
  hw_params = (snd_pcm_hw_params_t *) alloca(snd_pcm_hw_params_sizeof());
  
  @@ -666,6 +667,7 @@
  
  LOG_INFO("Reopening device %s in plug mode as %s", device, plug_device);
  device = plug_device;
  +                       plug = 1;
  
  snd_pcm_close(*pcmp);
  if ((err = snd_pcm_open(pcmp, device, mode, 0)) < 0) {
  @@ -736,14 +738,14 @@
  }
  
  /* set buffer and period times */
  -       val = state->period_count;
  +       val = !plug ? state->period_count : 2;  // safe value when plug layer 
used, else snd_pcm_close can crash
  if ((err = snd_pcm_hw_params_set_periods_near(*pcmp, hw_params, &val, 0)) < 
0) {
  LOG_ERROR("Unable to set period size %s", snd_strerror(err));
  return err;
  }
  state->period_count = val;
  
  -       val = state->buffer_time;
  +       val = !plug ? state->buffer_time : 20000; // safe value when plug 
layer used, else snd_pcm_close can crash
  dir = 1;
  if ((err = snd_pcm_hw_params_set_buffer_time_near(*pcmp, hw_params, &val, 
&dir)) < 0) {
  LOG_ERROR("Unable to set  buffer time %s", snd_strerror(err));
  
--------------------


I've attached the two jive_alsa binaries in the zip file attached - if
you want to manually try these then scp this file them to Touch, unzip
the file and copy them one at a time to /usr/bin/jive_alsa, "sync" and
"reboot".  I think you will find they do the same thing except in the
case when you get the "Reopening device %s in plug mode as %s" message
in the log which is only for low sample rate internet radio stations. 
In short - don't see any meaningful changes.


+-------------------------------------------------------------------+
|Filename: jive_alsa.zip                                            |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13431|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=94855

_______________________________________________
audiophiles mailing list
audiophiles@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/audiophiles

Reply via email to