maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   aplay and play-sound (https://talk.maemo.org/showthread.php?t=68952)

rotoflex 2011-01-25 23:14

aplay and play-sound
 
1. Does either aplay or play-sound accept a command line argument to specify the volume?

2. Is the source code for aplay and/or play-sound available somewhere?

3. Are there other command line programs which play an audio file, & is the source code available?

4. aplay lists its arguments when invoked with --h, but play-sound does not. However, play-sound when used does return a message about the volume ("vol -0.00000") which seems to indicate that playback volume might be configurable. Is there some reference somewhere which lists command line programs like play-sound which are available on the N900 (I'm assuming as a part of Maemo) which details their function, arguments, etc. ?

nicolai 2011-01-25 23:29

Re: aplay and play-sound
 
http://maemo.gitorious.org/fremantle...c/play-sound.c

rotoflex 2011-01-26 18:18

Re: aplay and play-sound
 
Quote:

Originally Posted by nicolai (Post 928612)

Where is GConfValue in play-sound.c defined?

It's not in the gconf-client.h that came with QTCreator, like the definition for GConfClient is, for example.

nicolai 2011-01-26 23:18

Re: aplay and play-sound
 
gconf-value.h

It is there, and it is in the same path as gconf-client.h

nicolai


All times are GMT. The time now is 20:22.

vBulletin® Version 3.8.8