CC-3074: Give users the choice of which hardware sound API they wish to

use (instead of hardcoded to ALSA)

- finished everything except LS part(including upgrade and UI)
This commit is contained in:
James 2011-11-30 19:01:40 -05:00 committed by Martin Konecny
parent 06cbe215a3
commit 043f0c29a1
10 changed files with 62 additions and 2 deletions

View file

@ -162,6 +162,7 @@ class AirtimeDatabaseUpgrade{
INSERT INTO cc_pref(keystr, valstr) VALUES('plan_level', 'disabled');
INSERT INTO cc_stream_setting (keyname, value, type) VALUES ('output_sound_device', 'false', 'boolean');
INSERT INTO cc_stream_setting (keyname, value, type) VALUES ('output_sound_device_type', 'ALSA', 'string');
INSERT INTO cc_stream_setting (keyname, value, type) VALUES ('icecast_vorbis_metadata', 'false', 'boolean');
INSERT INTO cc_stream_setting (keyname, value, type) VALUES ('s1_enable', 'true', 'boolean');

View file

@ -6,6 +6,7 @@
# Output settings #
###########################################
output_sound_device = false
output_sound_device_type = "ALSA"
s1_output = "icecast"
s2_output = "icecast"
s3_output = "icecast"