Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Unbenannt
Saturday, July 11th, 2009 at 11:09:36pm UTC 

  1. Index: apps/plugins/video.c
  2. ===================================================================
  3. --- apps/plugins/video.c        (Revision 21788)
  4. +++ apps/plugins/video.c        (Arbeitskopie)
  5. @@ -882,7 +882,7 @@
  6.      file_size =  rb->filesize(fd);
  7.      
  8.      /* reset pitch value to ensure synchronous playback */
  9. -    rb->sound_set_pitch(1000);
  10. +    rb->sound_set_pitch(PITCH_SPEED_100);
  11.  
  12.      /* init statistics */
  13.      rb->memset(&gStats, 0, sizeof(gStats));
  14. Index: apps/plugins/splitedit.c
  15. ===================================================================
  16. --- apps/plugins/splitedit.c    (Revision 21788)
  17. +++ apps/plugins/splitedit.c    (Arbeitskopie)
  18. @@ -1106,17 +1106,17 @@
  19.  #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
  20.  #ifdef SPLITEDIT_SPEED100
  21.              case SPLITEDIT_SPEED150:
  22. -                rb->sound_set_pitch(1500);
  23. +                rb->sound_set_pitch(PITCH_SPEED_100 + (PITCH_SPEED_100 / 2));
  24.                  splitedit_invalidate_osci();
  25.                  break;
  26.  
  27.              case SPLITEDIT_SPEED100:
  28. -                rb->sound_set_pitch(1000);
  29. +                rb->sound_set_pitch(PITCH_SPEED_100);
  30.                  splitedit_invalidate_osci();
  31.                  break;
  32.  
  33.              case SPLITEDIT_SPEED50:
  34. -                rb->sound_set_pitch(500);
  35. +                rb->sound_set_pitch(PITCH_SPEED_100 / 2);
  36.                  splitedit_invalidate_osci();
  37.                  break;
  38.  #endif
  39. @@ -1236,7 +1236,7 @@
  40.          }
  41.  #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
  42.  #ifdef SPLITEDIT_SPEED100
  43. -        rb->sound_set_pitch(1000); /* make sure to reset pitch */
  44. +        rb->sound_set_pitch(PITCH_SPEED_100); /* make sure to reset pitch */
  45.  #endif
  46.  #endif
  47.  
  48. Index: apps/plugins/wavplay.c
  49. ===================================================================
  50. --- apps/plugins/wavplay.c      (Revision 21788)
  51. +++ apps/plugins/wavplay.c      (Arbeitskopie)
  52. @@ -3547,7 +3547,7 @@
  53.      rb->lcd_puts(0, 2, buf);
  54.      rb->lcd_update();
  55.  
  56. -    rb->sound_set_pitch(1000);  /* reset pitch */
  57. +    rb->sound_set_pitch(PITCH_SPEED_100);  /* reset pitch */
  58.      mas_download_pcm();  /* Download PCM codec */
  59.  
  60.      /* Configure PCM codec */
  61. Index: apps/plugins/wavrecord.c
  62. ===================================================================
  63. --- apps/plugins/wavrecord.c    (Revision 21788)
  64. +++ apps/plugins/wavrecord.c    (Arbeitskopie)
  65. @@ -3507,7 +3507,7 @@
  66.          return PLUGIN_ERROR;
  67.      }
  68.  
  69. -    rb->sound_set_pitch(1000);  /* reset pitch */
  70. +    rb->sound_set_pitch(PITCH_SPEED_100);  /* reset pitch */
  71.      mas_download_pcm();
  72.      num_rec_bytes = 0;
  73.      bytes_written = 0;
  74. Index: apps/plugins/mpegplayer/audio_thread.c
  75. ===================================================================
  76. --- apps/plugins/mpegplayer/audio_thread.c      (Revision 21788)
  77. +++ apps/plugins/mpegplayer/audio_thread.c      (Arbeitskopie)
  78. @@ -481,7 +481,7 @@
  79.  
  80.      td.dsp = (struct dsp_config *)rb->dsp_configure(NULL, DSP_MYDSP,
  81.                                                      CODEC_IDX_AUDIO);
  82. -    rb->sound_set_pitch(1000);
  83. +    rb->sound_set_pitch(PITCH_SPEED_100);
  84.      rb->dsp_configure(td.dsp, DSP_RESET, 0);
  85.      rb->dsp_configure(td.dsp, DSP_SET_SAMPLE_DEPTH, MAD_F_FRACBITS);
  86.  

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right