Rockbox Development > Starting Development and Compiling

API list of commands?

(1/2) > >>

slecta:
Hello everyone,

Am starting to work on a plugin, from what I understand the plugin programming is using APIs that have already done a lot of the hard work of commicating with the player(s)..

What I wanted to know is, is there a list of commands that the (different?) API understands?  let's say I want to use the command
pcm_play_data()

where do I find out what to put between the brackets?  i assume it's more complicated than just writing the name of a raw file. 

i don't specifically need that answer, i am looking for a general help file for commands that work for plugins, such as to play an .mp3 or make a graphic list or simple-ish things like that.

any help would be greatly appreciated!  i am finishing up a book on programming in C but i don't know where i stand with the API business etc. is there any help files as for programming plugins for rockbox (ie: list of commands, etc)? 

thanks + sorry for restating the same question 3 different ways.

selectohh

saratoga:
The header files in which the command is declared.   In this case plugin.h.

slecta:
sorry, i'm a bit stupid, where exactly is this list of functions and their explanations?  where is plugin.h?

thanks again

saratoga:
In the apps folder.  If you're not familiar with the grep command, you may want to look into it.

slecta:
thanks for your help, that helped a lot.  as you suspected i'm not familiar with the grep command, if you have any links it would be appreciated, i searched google for grep and for grep +rockbox and didn't find much, other than the fact that it's a search tool.  how that would be useful in this context i don't know.

otherwise, i will hack away at what you've helped me find, thank you again

Navigation

[0] Message Index

[#] Next page

Go to full version