Advertising
- Unbenannt
- Saturday, July 11th, 2009 at 5:09:36pm MDT
- Index: apps/plugins/video.c
- ===================================================================
- --- apps/plugins/video.c (Revision 21788)
- +++ apps/plugins/video.c (Arbeitskopie)
- @@ -882,7 +882,7 @@
- file_size = rb->filesize(fd);
- /* reset pitch value to ensure synchronous playback */
- - rb->sound_set_pitch(1000);
- + rb->sound_set_pitch(PITCH_SPEED_100);
- /* init statistics */
- rb->memset(&gStats, 0, sizeof(gStats));
- Index: apps/plugins/splitedit.c
- ===================================================================
- --- apps/plugins/splitedit.c (Revision 21788)
- +++ apps/plugins/splitedit.c (Arbeitskopie)
- @@ -1106,17 +1106,17 @@
- #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
- #ifdef SPLITEDIT_SPEED100
- case SPLITEDIT_SPEED150:
- - rb->sound_set_pitch(1500);
- + rb->sound_set_pitch(PITCH_SPEED_100 + (PITCH_SPEED_100 / 2));
- splitedit_invalidate_osci();
- break;
- case SPLITEDIT_SPEED100:
- - rb->sound_set_pitch(1000);
- + rb->sound_set_pitch(PITCH_SPEED_100);
- splitedit_invalidate_osci();
- break;
- case SPLITEDIT_SPEED50:
- - rb->sound_set_pitch(500);
- + rb->sound_set_pitch(PITCH_SPEED_100 / 2);
- splitedit_invalidate_osci();
- break;
- #endif
- @@ -1236,7 +1236,7 @@
- }
- #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
- #ifdef SPLITEDIT_SPEED100
- - rb->sound_set_pitch(1000); /* make sure to reset pitch */
- + rb->sound_set_pitch(PITCH_SPEED_100); /* make sure to reset pitch */
- #endif
- #endif
- Index: apps/plugins/wavplay.c
- ===================================================================
- --- apps/plugins/wavplay.c (Revision 21788)
- +++ apps/plugins/wavplay.c (Arbeitskopie)
- @@ -3547,7 +3547,7 @@
- rb->lcd_puts(0, 2, buf);
- rb->lcd_update();
- - rb->sound_set_pitch(1000); /* reset pitch */
- + rb->sound_set_pitch(PITCH_SPEED_100); /* reset pitch */
- mas_download_pcm(); /* Download PCM codec */
- /* Configure PCM codec */
- Index: apps/plugins/wavrecord.c
- ===================================================================
- --- apps/plugins/wavrecord.c (Revision 21788)
- +++ apps/plugins/wavrecord.c (Arbeitskopie)
- @@ -3507,7 +3507,7 @@
- return PLUGIN_ERROR;
- }
- - rb->sound_set_pitch(1000); /* reset pitch */
- + rb->sound_set_pitch(PITCH_SPEED_100); /* reset pitch */
- mas_download_pcm();
- num_rec_bytes = 0;
- bytes_written = 0;
- Index: apps/plugins/mpegplayer/audio_thread.c
- ===================================================================
- --- apps/plugins/mpegplayer/audio_thread.c (Revision 21788)
- +++ apps/plugins/mpegplayer/audio_thread.c (Arbeitskopie)
- @@ -481,7 +481,7 @@
- td.dsp = (struct dsp_config *)rb->dsp_configure(NULL, DSP_MYDSP,
- CODEC_IDX_AUDIO);
- - rb->sound_set_pitch(1000);
- + rb->sound_set_pitch(PITCH_SPEED_100);
- rb->dsp_configure(td.dsp, DSP_RESET, 0);
- rb->dsp_configure(td.dsp, DSP_SET_SAMPLE_DEPTH, MAD_F_FRACBITS);
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
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.