added pulseaudio support. Release 0.7.1

This commit is contained in:
rafael@riseup.net 2013-05-18 05:29:13 +00:00
parent 5696759910
commit f419d2a0dd
4 changed files with 9 additions and 2 deletions

View File

@ -226,7 +226,10 @@ gboolean darksnow2darkice_cfg() {
fprintf(f_darkice_cfg, "%s", buffersize); /* size of internal slip buffer, in seconds */ fprintf(f_darkice_cfg, "%s", buffersize); /* size of internal slip buffer, in seconds */
fprintf(f_darkice_cfg, "\n\n[input]"); fprintf(f_darkice_cfg, "\n\n[input]");
fprintf(f_darkice_cfg, "\ndevice = "); fprintf(f_darkice_cfg, "\ndevice = ");
fprintf(f_darkice_cfg, "%s", device); /* OSS, ALSA or JACK */ fprintf(f_darkice_cfg, "%s", device); /* OSS, ALSA, Pulse or JACK */
if (!strcmp(device, "pulseaudio")) {
fprintf(f_darkice_cfg, "\npaSourceName = default");
}
fprintf(f_darkice_cfg, "\nsampleRate = "); fprintf(f_darkice_cfg, "\nsampleRate = ");
fprintf(f_darkice_cfg, "%s", samplerate); /* sample rate in Hz. try 11025, 22050 or 44100 */ fprintf(f_darkice_cfg, "%s", samplerate); /* sample rate in Hz. try 11025, 22050 or 44100 */
fprintf(f_darkice_cfg, "\nbitsPerSample = "); fprintf(f_darkice_cfg, "\nbitsPerSample = ");

View File

@ -8,7 +8,7 @@ AC_PROG_CC
dnl tests C compiler dnl tests C compiler
AC_LANG([C]) AC_LANG([C])
VERSION="0.7" VERSION="0.7.1"
AC_SUBST(VERSION) AC_SUBST(VERSION)
AC_CHECK_FUNC(mmap,,AC_MSG_ERROR(Sorry, you need mmap. If you are reading this, email-me and report this problem and your system description - rafael@riseup.net)) AC_CHECK_FUNC(mmap,,AC_MSG_ERROR(Sorry, you need mmap. If you are reading this, email-me and report this problem and your system description - rafael@riseup.net))

View File

@ -397,6 +397,7 @@ int main( int argc, char *argv[], char *envp[]) {
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "jack"); gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "jack");
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "jack_auto"); gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "jack_auto");
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "default"); gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "default");
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "pulseaudio");
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "/dev/dsp"); gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "/dev/dsp");
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "/dev/dsp0"); gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "/dev/dsp0");
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "/dev/dsp1"); gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_device), "/dev/dsp1");

View File

@ -1,3 +1,6 @@
0.7.1
Added pulseaudio support.
Small fixes.
0.7 0.7
Added Opus support. Added Opus support.
GTK3 support. GTK3 support.