Jonathan Gordon
3a7291020b
Prefill the playlist filename with .m3u8 when creating a new playlist in the catalog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30148 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 11:50:58 +00:00
Dominik Riebeling
e0d4a6f82f
OS X: remove translation for menu entries handled separately.
...
On OS X Configure and Quit menu entries are not placed in the File menu. Qt
handles that for us if they are not translated, and translations are then
handled automatically (as well as setting the OS X specific accelerator keys).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30147 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 08:58:55 +00:00
Dominik Riebeling
9c9bc1216c
Move some helper functions out of Autodetection.
...
Those functions are rather general, so put them into the Utils class instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30146 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 08:08:58 +00:00
Dominik Riebeling
b7fe90aa36
The mountpoint is stored with normalized separators.
...
Make sure to convert it on reading to avoid not finding it even if stored with
native separators in the configuration. Fix a warning on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30145 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 08:08:51 +00:00
Dominik Riebeling
99408dd45e
Add custom delegate for showing the mountpoint combo box entries.
...
The delegate will be used for the dropdown list and show both mountpoint (left
aligned) and label / size information (right aligned). This improves
readability compared to the previous implementation. Also, the mountpoint
itself is now the text of the combo box and the additional information is in
the Qt::UserRole to avoid having to handle a user entered mountpoint separately
(since previously the mountpoint was stored in Qt::UserRole, but an edited item
would have the value in Qt::TextRole).
Disable editing the combo box entry for release builds, it shouldn't be needed
by users.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30144 a1c6a512-1295-4272-9138-f99709370657
2011-07-16 22:08:03 +00:00
Dominik Riebeling
94bc289cd0
Show drive label in main dialog.
...
When its possible to retrieve the label of the selected mountpoint display it
in the main window too. Right now this only affects Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30143 a1c6a512-1295-4272-9138-f99709370657
2011-07-16 22:07:52 +00:00
Dominik Riebeling
39f7968bf5
Remove BrowseDirTree.
...
With the rework of the mountpoint selection the tree browser isn't used
anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30142 a1c6a512-1295-4272-9138-f99709370657
2011-07-16 08:51:02 +00:00
Dominik Riebeling
c9f70fe304
Show volume labels on Windows.
...
In mountpoint selection and system info dialog show the volume name to make it
easier to identify a specific device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30141 a1c6a512-1295-4272-9138-f99709370657
2011-07-15 20:03:05 +00:00
Dominik Riebeling
241f28eefc
Replace mountpoint selection with combo box.
...
Instead of entering the mountpoint via a tree browser or manually use a combo
box that lists all available drives / mountpoints. This also allows to easily
add more information like the free and total size for each mountpoint. For
development this can still be overriden by editing the dropdown value manually.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30140 a1c6a512-1295-4272-9138-f99709370657
2011-07-15 19:14:26 +00:00
Dominik Riebeling
21a38713a6
Show the total size of the volume along with the free space.
...
This should help identifying the correct player by size, since the free space
is only useful to figure if there is enough space to install Rockbox. Change
units to GiB since that is more useful given the size of current devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30139 a1c6a512-1295-4272-9138-f99709370657
2011-07-15 18:13:31 +00:00
Marcin Bukat
cad91ed938
rk27xx - fix backlight driver - now one can set brightness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30138 a1c6a512-1295-4272-9138-f99709370657
2011-07-14 17:06:44 +00:00
Michael Giacomelli
302c0b7484
Update manual to mention that we support embedded album art in MP4/M4A files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30137 a1c6a512-1295-4272-9138-f99709370657
2011-07-11 20:25:58 +00:00
Dominik Riebeling
d77373fb0e
Add USB ID for Ipod Nano 5G to list of incompatible devices.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30136 a1c6a512-1295-4272-9138-f99709370657
2011-07-10 18:38:48 +00:00
Amaury Pouly
5a2681161b
imx233/fuze+: make SOURCES more correct, implement i2c for fmradio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30135 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 17:14:05 +00:00
Thomas Martitz
9e8d7dc07c
Fix FS#12179 - Simulator build fails when using "configure --sdl-threads"
...
Change the logic in configure to record the entire command line from the
beginning and filter out options that are set again by configure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30134 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 08:23:36 +00:00
Michael Sevakis
a802ebac06
The voice PCM buffer has nothing to do with the playback PCM buffer any longer. Allocate it independently from the playback engine's PCM buffer and only when voice is required. Additionally, allocate actual space for the crossfade buffer only when using crossfade. Will save 18.3KB when neither is needed (10.3KB for voice and 8.0KB for crossfade).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30133 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 01:49:00 +00:00
Michael Sevakis
d8cb05e31e
Voice doesn't have to consume 100% CPU while waiting for an output buffer to be available. Use 'sleep(0)' instead of 'yield()' while polling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30132 a1c6a512-1295-4272-9138-f99709370657
2011-07-08 23:39:01 +00:00
Michael Sevakis
b2dbc2fe70
Fix r30130 red. New functions in misc.c shouldn't be compiled if '__PCTOOL__' is defined.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30131 a1c6a512-1295-4272-9138-f99709370657
2011-07-08 22:51:12 +00:00
Michael Sevakis
5663e1cd0a
Have mpegplayer use the mixer (the playback channel, since it's mutually exclusive to audio playback) so the clicks and skip beep can be used according to user settings. Introduce some system sound functions to make easier playing event sounds from various places and convert files calling 'beep_play' to use 'system_sound_play' and 'keyclick_click'. Event sound could be become themeable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30130 a1c6a512-1295-4272-9138-f99709370657
2011-07-08 22:31:15 +00:00
Mustapha Senhaji
f1a5a25dac
Update french translation, shorten string for Archos Player.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30128 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 20:44:54 +00:00
Mustapha Senhaji
db22fc8f3f
FS#12173 Romanian translation update by Sergiu Rotaru.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30126 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 20:31:53 +00:00
Thomas Martitz
00dfcb8159
Fix FS#12181 - Playlist re-shuffle does not work (r30122)
...
Dircache IDs can be 0, so to invalidate -1 must be used.
Update the memset calls to reflect this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30125 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 19:41:39 +00:00
Michael Sevakis
185fddbd66
Fix FS#12179 - Simulator build fails when using "configure --sdl-threads". HAVE_PRIORITY_SCHEDULING checks were missing to exclude priority calls when building without priority.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30124 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 02:21:25 +00:00
Amaury Pouly
9cc0dab3ce
elftosb: remove duplicate code, merge two redundant fields
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30123 a1c6a512-1295-4272-9138-f99709370657
2011-07-04 21:55:56 +00:00
Miika Pekkarinen
e06bb54d12
Initialize the d_names_start pointer correctly in dircache. This should
...
prevent d_names data from being overwritten (likely causing garbage in
file browser and other strange symptoms).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30122 a1c6a512-1295-4272-9138-f99709370657
2011-07-04 17:13:48 +00:00
Amaury Pouly
86c64d4151
imx233: add missing i2c file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30121 a1c6a512-1295-4272-9138-f99709370657
2011-07-03 15:22:09 +00:00
Amaury Pouly
e36b20c4a1
imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30120 a1c6a512-1295-4272-9138-f99709370657
2011-07-03 15:18:41 +00:00
Michael Sevakis
22b6def065
Use playback channel directly for peakmeters and plugins using peak calculation. Also, for now, don't allow mixer playback to overlap recording, even if full duplex works.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30119 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 11:55:38 +00:00
Rafaël Carré
8c954e28b7
sansa AMS bootloader: make strings static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30118 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:20 +00:00
Rafaël Carré
e59558277e
bootloaders: cleanup
...
- make printf buffer static and local to printf()
- use '\0' instead of 0 for setting char
- remove unused dummy functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30117 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:15 +00:00
Rafaël Carré
a1e1892b0f
as3525: make interrupts struct static and merge declaration & definition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30116 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:09 +00:00
Rafaël Carré
1a6172d2a0
mkamsboot: remove useless casts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30115 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:01 +00:00
Rafaël Carré
621524e001
mkamsboot: correct old comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30114 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:48:54 +00:00
Amaury Pouly
e34eaf300c
imx233/fuze+: simplify ssp pin code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30113 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:28:06 +00:00
Amaury Pouly
88f75d096e
imx233/fuze+: don't compile {touchpad code,sd} in bootloader mode, fix style in mmc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30112 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:21:06 +00:00
Amaury Pouly
82ecc75e68
imx233/fuze+: make config.h more correct, remove logo from bootloader, update linker file and crt0 to produce a single blob into dram
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30111 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:12:10 +00:00
Amaury Pouly
fed77808c5
elftosb: support 'strings' in section id, support load binary at address, support call/jump at address
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30110 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:12:01 +00:00
Miika Pekkarinen
337e922685
Allocate indices directly in ramcache header. Add version code to
...
tagcache state dump header. Debug: hdr-structure corruption might
happen after rebuilding of dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30109 a1c6a512-1295-4272-9138-f99709370657
2011-07-01 13:48:28 +00:00
Miika Pekkarinen
563a185ff4
Fixed incorrect dircache reallocation during tagcache commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30108 a1c6a512-1295-4272-9138-f99709370657
2011-07-01 13:38:20 +00:00
Andree Buschmann
f27028dbb6
Do not use double/float calculations but predefined tables in mod codec. Reduces codesize by several kilobytes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30107 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 21:53:02 +00:00
Amaury Pouly
143d451403
elftosb: add support for jumps/calls with one argument
...
sbtoelf: remove sb version check and print it in the basic info
Thanks TheLemonMan !
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30106 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 21:30:06 +00:00
Andree Buschmann
1a1ac92f45
Use id3v2buf to read the title of MOD files. Avoids additional declaration of a 1KB buffer and saves a bit codesize as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30105 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 18:39:13 +00:00
Amaury Pouly
617d1e9f6b
imx233/fuze+: ssp, dma, mmc now work properly, partially implement cpu frequency changing, implement panic waiting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30104 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 17:31:40 +00:00
Nils Wallménius
4a04c47a97
Relax constraints for arm asm to not break when gcc decides to not inline the function but also throw in a FORCE_INLINE for good measure. Remove a redundant 'inline'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30103 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 08:22:56 +00:00
Jonas Häggqvist
ed0f1aec5d
Add --lcdwidth and --lcdheight to help output.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30102 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 23:10:41 +00:00
Michael Sevakis
8c47ed15e9
Get M5 building again by moving the downmix buffer out of IRAM for now. Everything should still work. It doesn't have any apparently measurable effect on pure playback CPU usage as seen from the buffering thread screen compared to earlier tests on the same file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30101 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 13:43:47 +00:00
Michael Sevakis
5ff641fb81
Do some adjustments to alleviate IRAM congestion on some targets from r30097. Include removing pointless IRAM declarations in pcmbuf.c because that callback code runs at a fairly relaxed pace. M5 is still the biggest problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30100 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 09:39:13 +00:00
Michael Sevakis
40ff07140d
Get android to build. Forgo optimized mixing code for app builds for the moment; work it out later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30099 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 07:47:29 +00:00
Michael Sevakis
7996d6d3f9
Knock out at least some red/yellow from r30097.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30098 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 07:06:10 +00:00
Michael Sevakis
a2b6703a36
Commit FS#12150 - Fully-functional audio mixer - and finally whip old limitations about playback of voice and other sounds when paused. Channels are independent in state and amplitude. Fade on stop/pause is handled by the channel's volume control rather than global volume which means it now works from anywhere. Opens up the possibility of plugin sounds during music playback by merely adding an additional channel enum. If any PCM drivers were not properly modified, see one of the last comments in the task for a description of the simple change that is expected. Some params are tunable in firmware/export/pcm-mixer.h as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30097 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 06:37:04 +00:00