summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c (follow)
Commit message (Expand)AuthorAge
* rk27xx - enable a few test pluginsMarcin Bukat2011-09-06
* Submit parts of FS#12189 regarding codec API. Replaces access to global setti...Andree Buschmann2011-08-30
* Final commit to get test_codec working properly for both freq-scaling and non...Andree Buschmann2011-08-29
* Fix logic of test_codec for targets with HAVE_ADJUSTABLE_CPU_FREQ.Andree Buschmann2011-08-29
* test_codec: Allow user to abort tests using target-defined TESTCODEC_EXITBUTTON.Michael Sevakis2011-05-15
* Commit FS#12069 - Playback rework - first stages. Gives as thorough as possib...Michael Sevakis2011-04-27
* Sync test_codec to r29595.Michael Sevakis2011-03-16
* Give playback engine better control over the codec. Codec simply follows comm...Michael Sevakis2011-02-23
* Undo unwanted commit r29310.Andree Buschmann2011-02-15
* All AAC-HE files will double the frame sample count, not only AAC-HE files wi...Andree Buschmann2011-02-15
* HDD6330: add missing button for test_codec.Szymon Dziok2010-12-02
* HD300 - plugins keymapsMarcin Bukat2010-11-30
* test_codec: fix menu broken in r28637Nils Wallménius2010-11-24
* Fix mistake on targets without frequency scaling.Michael Giacomelli2010-11-22
* Add option to run test_codec unboosted on players with boosting.Michael Giacomelli2010-11-22
* test_codec: Align the codec buffer to pointer size, since tlsf wants that. Fi...Nils Wallménius2010-10-27
* Remove some inconsistent guarding around cpucache_* functions to fix a test_c...Nils Wallménius2010-10-16
* Fix a few div0 cases forgotten in r27684 to enable enabling asm optimizations...Thomas Martitz2010-10-10
* fix test_codec broken after r27968Rafaël Carré2010-09-02
* Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-24
* Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz2010-08-23
* Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-23
* Commit FS#11458 by me. Fixes test_codec to work on files larger then the ava...Michael Giacomelli2010-07-06
* test_codec: allocate wavbuffer/dspbuffer dynamicallyRafaël Carré2010-06-22
* test_codec: remove 2 static string buffers and put them on the stackRafaël Carré2010-06-22
* test_codec: fix DEBUGF pointer format specifierRafaël Carré2010-06-22
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #...Thomas Martitz2010-06-21
* test_codec: print crc's that start with 0 properly.Nils Wallménius2010-06-17
* test_codec: close the log file before attempting to open a new one, and clear...Rob Purchase2010-05-31
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need t...Thomas Martitz2010-05-06
* Make creat() posix compliant API-wise. Shouldn't affect the core as it's wrap...Thomas Martitz2010-05-06
* Use the same output func for wav writing and checksum calculation, simplifyin...Nils Wallménius2010-03-08
* Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for ...Szymon Dziok2010-02-14
* Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev2009-12-15
* Give test_codec the ability to checksum files or folders of files, usefull to...Nils Wallménius2009-11-22
* pcmbuf: bug fix with pcmbuf flush, code cleanup, added commentsJeffrey Goode2009-11-11
* Test codec: Add exit button for touchscreensKarl Kurbjun2009-11-07
* pcmbuf: better latency calculation, added debug codeJeffrey Goode2009-11-05
* Replace limiter with dynamic range compressorJeffrey Goode2009-09-25
* Better menu verbiage for test_codecJeffrey Goode2009-09-23
* FS#10199: Adds limiter DSP functionJeffrey Goode2009-08-18
* Adds DSP testing and WAV writing to test_codecJeffrey Goode2009-08-12
* Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann ...Michael Giacomelli2009-08-04
* FS#10080Nils Wallménius2009-07-14
* Enable plugins on the Onda VX747Maurus Cuelenaere2009-04-07
* Make test_codec.c compilable again.Andree Buschmann2009-02-12
* Make basic cache functions into calls, and get rid of CACHE_FUNCTION_WRAPPERS...Michael Sevakis2009-02-11
* Include divide-by-zero handling within plugins and codecs for ARM processors.Michael Sevakis2009-01-24
* loader-initialized global plugin API:Andrew Mahone2009-01-16
* Fix test_codec for r19704 (prefix removed from plugin API).Jens Arnold2009-01-08
hl opt">); rb->gui_synclist_set_icon_callback(&(menus[menu].synclist), NULL); rb->gui_synclist_set_nb_items(&(menus[menu].synclist), count); menus[menu].callback = callback; (void)button1; (void)button2; (void)button3; return menu; } void menu_exit(int m) { inuse[m] = false; } int menu_show(int m) { bool exit = false; int key; rb->gui_synclist_draw(&(menus[m].synclist)); rb->gui_syncstatusbar_draw(rb->statusbars, true); while (!exit) { key = rb->get_action(CONTEXT_MAINMENU,HZ/2); /* * "short-circuit" the default keypresses by running the * callback function * The callback may return a new key value, often this will be * BUTTON_NONE or the same key value, but it's perfectly legal * to "simulate" key presses by returning another value. */ if( menus[m].callback != NULL ) key = menus[m].callback(key, m); rb->gui_synclist_do_button(&(menus[m].synclist), &key,LIST_WRAP_UNLESS_HELD); switch( key ) { case ACTION_STD_OK: return rb->gui_synclist_get_sel_pos(&(menus[m].synclist)); case ACTION_STD_CANCEL: case ACTION_STD_MENU: case SYS_POWEROFF: exit = true; break; default: if(rb->default_event_handler(key) == SYS_USB_CONNECTED) return MENU_ATTACHED_USB; break; } rb->gui_syncstatusbar_draw(rb->statusbars, false); } return MENU_SELECTED_EXIT; } bool menu_run(int m) { int selected; while (1) { switch (selected=menu_show(m)) { case MENU_SELECTED_EXIT: return false; case MENU_ATTACHED_USB: return true; default: { if (menus[m].items[selected].function && menus[m].items[selected].function()) return true; rb->gui_syncstatusbar_draw(rb->statusbars, true); } } } return false; } /* * Property function - return the current cursor for "menu" */ int menu_cursor(int menu) { return rb->gui_synclist_get_sel_pos(&(menus[menu].synclist)); } /* * Property function - return the "menu" description at "position" */ char* menu_description(int menu, int position) { return menus[menu].items[position].desc; } /* * Delete the element "position" from the menu items in "menu" */ void menu_delete(int menu, int position) { int i; int nb_items=rb->gui_synclist_get_nb_items(&(menus[menu].synclist)); /* copy the menu item from the one below */ for( i = position; i < nb_items - 1; i++) menus[menu].items[i] = menus[menu].items[i + 1]; rb->gui_synclist_del_item(&(menus[menu].synclist)); } void menu_insert(int menu, int position, char *desc, bool (*function) (void)) { int i; int nb_items=rb->gui_synclist_get_nb_items(&(menus[menu].synclist)); if(position < 0) position = nb_items; /* Move the items below one position forward */ for( i = nb_items; i > position; i--) menus[menu].items[i] = menus[menu].items[i - 1]; /* Update the current item */ menus[menu].items[position].desc = (unsigned char *)desc; menus[menu].items[position].function = function; rb->gui_synclist_add_item(&(menus[menu].synclist)); } /* * Property function - return the "count" of menu items in "menu" */ int menu_count(int menu) { return rb->gui_synclist_get_nb_items(&(menus[menu].synclist)); } /* * Allows to set the cursor position. Doesn't redraw by itself. */ void menu_set_cursor(int menu, int position) { rb->gui_synclist_select_item(&(menus[menu].synclist), position); } #if 0 void menu_talk_selected(int m) { if(rb->global_settings->talk_menu) { int selected=rb->gui_synclist_get_sel_pos(&(menus[m].synclist)); int voice_id = P2ID(menus[m].items[selected].desc); if (voice_id >= 0) /* valid ID given? */ talk_id(voice_id, false); /* say it */ } } #endif void menu_draw(int m) { rb->gui_synclist_draw(&(menus[m].synclist)); }