AgeCommit message (Collapse)AuthorFilesLines
2019-04-244a-aplay: added avirt detectionsandbox/tbultel/avirtThierry Bultel1-1/+8
Adds the detection of avirt of electing the default playback device. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-04-244a-api: add subcommands for mediaplayer and mediascannerStephane Desneux2-1/+14
Change-Id: Ib4933d68efe23c9f1dce0b190db713bc2001d057 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24Makefile: fix install pathStephane Desneux1-3/+3
Change-Id: I55decba4f946c42ac55689d94b0dcce651b426d5 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24Fix issue with the unit file detectionLoïc Collignon15-76/+50
Fix a bug introduced by the commit e4e0b9b, due to the wildcard in the unit file. Change-Id: Iddc47378207a0ced207861433cd0ec02a52bc1a5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-24Added a script to play any supported audio formatLoïc Collignon1-0/+56
Using the gst-launch-1.0 command, play any supported audio format on specific device using a specific 4a role if any. Change-Id: I6fce14a5ccdb8aa5e0e1cb85ef365851427553b0 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-24Added a way to make 4a-api work on hostLoïc Collignon1-3/+14
On host you can't detect the API port and token based on the systemd unit file. So when the file is not found, use API_4A_PORT and API_4A_TOKEN environment variable to allow users to make it work on host so they can still test 4a. Change-Id: I6379457c29c9e45db9cce8c78f6d646935b2caa5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-24change media pathsStephane Desneux5-34/+133
Change-Id: I0d4783d37da25a315073eb847c7f525ed1b51d5c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24fix modes scriptsStephane Desneux2-0/+0
Change-Id: I2c5d4ff7d6c3107d814bbcabe8870af18ac3c525 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24Add sample OGG fileStephane Desneux1-0/+0
Change-Id: I2bf85dce7a78be2980f4f487f8024cdb4f1ba26f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24Added a 4a-info script use to test if 4a can workLoïc Collignon7-5/+84
Test various things to check if 4a can work in this environment. Change-Id: Ica4b739d7e8c6401db05a3b9b4d6ef9048ca1002 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-24Added some tone wav to test audioLoïc Collignon9-0/+0
A 440Hz tone, encoded in 16, 24 and 32 bits, using a rate of 24Kz, 44.1Kzh and 48Kzh. Change-Id: I21b1ea2ace014df559c4c5f37ac9d8de3da49c01 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-24add script 4a-get_roles for elementary test of 4A high level APIStephane Desneux3-3/+18
Change-Id: I61c9982e73fbc894307da8e29c5c062b136b4d84 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24Add Make fileRonan Le Martret2-0/+18
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-04-24data: add sample MP3Stephane Desneux1-0/+0
Change-Id: If1ba70781ef4b1045fe943aaa8512041725ccb11 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24Initialize repository with .gitignore, LICENSE, README.mdStephane Desneux3-0/+238
Change-Id: I1477c81706bc2909edce03e753ad76d6ac8f275c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-03-13Initial empty repositoryJan-Simon Moeller0-0/+0