Changeset 111

Show
Ignore:
Timestamp:
09/03/06 21:19:57 (5 years ago)
Author:
ath
Message:

Restore FmOutputAlsa, delete the old FmOutputOss? and fix some documentation.

Files:
1 added
2 removed
19 modified

Legend:

Unmodified
Added
Removed
  • fm_gui/trunk/AUTHORS

    r44 r111  
    1 Main author and developer: 
    2         Alberto Botti <ath9@libero.it> 
    3  
    4 Based on code and ideas from the GDAM "Geoff and Dave's Audio Mixer" 
    5 (www.ffem.org/gdam), the GStreamer multimedia framework (www.gstreamer.net) 
    6 and the terminatorX realtime audio scrathing program by Alexander König 
    7 (www.terminatorX.cx). 
     1Main author and mantainer: 
     2        Alberto Botti <alberto.botti@yoda2000.net> 
  • fm_gui/trunk/README

    r44 r111  
     1fm_gui 
     2 
     3        a graphical interface for the fm_mixer, part of the FreeMix project 
     4        http://ciampix.net:8080/proj/wiki/FreeMix 
  • fm_gui/trunk/src/Makefile.am

    r103 r111  
    1212 
    1313 
    14 ##AM_CFLAGS = $(BINRELOC_CFLAGS) 
     14AM_CFLAGS = $(BINRELOC_CFLAGS) 
    1515 
    1616AM_LDFLAGS = $(FM_GUI_LIBS) 
  • fm_gui/trunk/src/Makefile.in

    r103 r111  
    226226SUBDIRS = tx_widgets 
    227227INCLUDES = $(FM_GUI_CFLAGS) 
     228AM_CFLAGS = $(BINRELOC_CFLAGS) 
    228229AM_LDFLAGS = $(FM_GUI_LIBS) 
    229230fm_gui_SOURCES = \ 
  • fm_gui/trunk/src/base.c

    r87 r111  
    99#include "fm_djmixer_gui.h" 
    1010#include "fm_djmixer.h" 
     11 
     12 
     13extern gchar *global_backend; 
     14extern gchar *BACKEND_ALSA; 
     15extern gchar *BACKEND_JACK; 
    1116 
    1217 
     
    4853        g_usleep(100); 
    4954        rgc_remote_object_call (bdata->pipeline, "run", NULL); 
    50         g_usleep(100); 
    51         rgc_remote_object_call (obj, "connect_to_hw_ports", NULL); 
     55        if (global_backend == BACKEND_JACK) { 
     56                g_usleep(100); 
     57                rgc_remote_object_call (obj, "connect_to_hw_ports", NULL); 
     58        } 
    5259 
    5360        /* check if a mixer already exists */ 
     
    6774        /* check if an output already exists */ 
    6875        /* if not, build one */ 
    69         rgc_remote_object_new_async (base_output_created_cb, data, 
    70                             "FmOutputJack", "output", NULL); 
     76         
     77        if (global_backend == BACKEND_JACK)  
     78                rgc_remote_object_new_async (base_output_created_cb, data, 
     79                                             "FmOutputJack", "output", NULL); 
     80        else if (global_backend == BACKEND_ALSA)  
     81                rgc_remote_object_new_async (base_output_created_cb, data, 
     82                                             "FmOutputAlsa", "output", NULL); 
     83        else 
     84                g_assert_not_reached (); 
    7185} 
    7286 
     
    7993        rgc_remote_object_new_async (base_pipeline_created_cb, bdata, 
    8094                              "FmPipeline", "pipeline", NULL); 
     95                               
     96        return TRUE; 
    8197} 
  • fm_gui/trunk/src/main.c

    r103 r111  
    88 
    99 
     10gchar *global_backend; 
     11gchar *BACKEND_ALSA = "ALSA"; 
     12gchar *BACKEND_JACK = "JACK"; 
    1013 
    1114 
     
    2831                { NULL } 
    2932        }; 
     33 
     34//      global_backend = BACKEND_JACK; 
     35        global_backend = BACKEND_ALSA; 
    3036         
    3137        GOptionContext *context = g_option_context_new ("- a GUI for the fm_server"); 
     
    3541 
    3642        global_init (); 
    37          
    3843 
    3944        /* Initialize a connection. We use RBP (on a TCP socket) here. */ 
  • fm_server/trunk/AUTHORS

    r10 r111  
    11Main author and developer: 
    2         Alberto Botti <ath9@libero.it> 
     2        Alberto Botti <alberto.botti@yoda2000.net> 
    33 
    4 Based on code and ideas from the GDAM "Geoff and Dave's Audio Mixer" 
    5 (www.ffem.org/gdam), the GStreamer multimedia framework (www.gstreamer.net) 
    6 and the terminatorX realtime audio scrathing program by Alexander König 
    7 (www.terminatorX.cx). 
     4Based on code and ideas from: 
     5* the GDAM "Geoff and Dave's Audio Mixer" (www.ffem.org/gdam) 
     6* the GStreamer multimedia framework (www.gstreamer.net) 
     7* the terminatorX realtime audio scrathing program by Alexander König 
     8  (www.terminatorX.cx) 
     9* the JACK Audio Connection Kit (www.jackaudio.com) examples and ringbuffer code 
     10* the ALSA (www.alsa-project.org) programming guide 
  • fm_server/trunk/libtool

    r80 r111  
    4545# ### BEGIN LIBTOOL CONFIG 
    4646 
    47 # Libtool was configured on host sarge: 
     47# Libtool was configured on host crash: 
    4848 
    4949# Shell to use when invoking shell scripts. 
     
    8686 
    8787# LTCC compiler flags. 
    88 LTCFLAGS="-g -O2" 
     88LTCFLAGS="-O0 -g -Wall -Werror" 
    8989 
    9090# A language-specific compiler. 
     
    329329 
    330330# Run-time system search path for libraries 
    331 sys_lib_dlsearch_path_spec="/lib /usr/lib " 
     331sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/lib/mozilla-firefox /opt/e/lib " 
    332332 
    333333# Fix the shell variable $srcfile for the compiler. 
     
    72247224# ### BEGIN LIBTOOL TAG CONFIG: CXX 
    72257225 
    7226 # Libtool was configured on host sarge: 
     7226# Libtool was configured on host crash: 
    72277227 
    72287228# Shell to use when invoking shell scripts. 
     
    72657265 
    72667266# LTCC compiler flags. 
    7267 LTCFLAGS="-g -O2" 
     7267LTCFLAGS="-O0 -g -Wall -Werror" 
    72687268 
    72697269# A language-specific compiler. 
     
    75057505 
    75067506# Run-time system search path for libraries 
    7507 sys_lib_dlsearch_path_spec="/lib /usr/lib " 
     7507sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/lib/mozilla-firefox /opt/e/lib " 
    75087508 
    75097509# Fix the shell variable $srcfile for the compiler. 
  • fm_server/trunk/src/Makefile.am

    r95 r111  
    4444        fm_effect_pan.c\ 
    4545        fm_effect_pan.h 
    46 ##      fm_output_oss.c\ 
    47 ##      fm_output_oss.h\ 
    4846 
    4947 
     
    5351 
    5452 
    55 ##if HAVE_ALSA 
    56 ##fm_server_SOURCES += fm_output_alsa.c fm_output_alsa.h 
    57 ##fm_server_LDADD += -lasound 
    58 ##endif 
     53if HAVE_ALSA 
     54fm_server_SOURCES += \ 
     55        fm_output_alsa.c \ 
     56        fm_output_alsa.h 
     57         
     58fm_server_LDADD += -lasound 
     59endif 
    5960 
    6061 
  • fm_server/trunk/src/Makefile.in

    r95 r111  
    3838host_triplet = @host@ 
    3939bin_PROGRAMS = fm_server$(EXEEXT) 
    40 @HAVE_JACK_TRUE@am__append_1 = \ 
     40@HAVE_ALSA_TRUE@am__append_1 = \ 
     41@HAVE_ALSA_TRUE@        fm_output_alsa.c \ 
     42@HAVE_ALSA_TRUE@        fm_output_alsa.h 
     43 
     44@HAVE_ALSA_TRUE@am__append_2 = -lasound 
     45@HAVE_JACK_TRUE@am__append_3 = \ 
    4146@HAVE_JACK_TRUE@        fm_output_jack.c \ 
    4247@HAVE_JACK_TRUE@        fm_output_jack.h 
     
    6267        fm_effect_gain.h fm_effect_rate.c fm_effect_rate.h fm_mixer.c \ 
    6368        fm_mixer.h fm_djmixer.c fm_djmixer.h fm_buffer.c fm_buffer.h \ 
    64         fm_effect_pan.c fm_effect_pan.h fm_output_jack.c \ 
    65         fm_output_jack.h 
    66 @HAVE_JACK_TRUE@am__objects_1 = fm_output_jack.$(OBJEXT) 
     69        fm_effect_pan.c fm_effect_pan.h fm_output_alsa.c \ 
     70        fm_output_alsa.h fm_output_jack.c fm_output_jack.h 
     71@HAVE_ALSA_TRUE@am__objects_1 = fm_output_alsa.$(OBJEXT) 
     72@HAVE_JACK_TRUE@am__objects_2 = fm_output_jack.$(OBJEXT) 
    6773am_fm_server_OBJECTS = main.$(OBJEXT) fm_utils.$(OBJEXT) \ 
    6874        fm_input.$(OBJEXT) fm_output.$(OBJEXT) fm_effect.$(OBJEXT) \ 
     
    7278        fm_effect_rate.$(OBJEXT) fm_mixer.$(OBJEXT) \ 
    7379        fm_djmixer.$(OBJEXT) fm_buffer.$(OBJEXT) \ 
    74         fm_effect_pan.$(OBJEXT) $(am__objects_1) 
     80        fm_effect_pan.$(OBJEXT) $(am__objects_1) $(am__objects_2) 
    7581fm_server_OBJECTS = $(am_fm_server_OBJECTS) 
    7682am__DEPENDENCIES_1 = 
    7783fm_server_DEPENDENCIES = $(am__DEPENDENCIES_1) \ 
    78         fm_input_gst/libfm_input_gst.la 
     84        fm_input_gst/libfm_input_gst.la $(am__DEPENDENCIES_1) 
    7985DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 
    8086depcomp = $(SHELL) $(top_srcdir)/depcomp 
     
    258264        fm_effect_rate.c fm_effect_rate.h fm_mixer.c fm_mixer.h \ 
    259265        fm_djmixer.c fm_djmixer.h fm_buffer.c fm_buffer.h \ 
    260         fm_effect_pan.c fm_effect_pan.h $(am__append_1) 
    261 fm_server_LDADD = \ 
    262         $(FM_SERVER_LIBS) \ 
    263         fm_input_gst/libfm_input_gst.la 
    264  
     266        fm_effect_pan.c fm_effect_pan.h $(am__append_1) \ 
     267        $(am__append_3) 
     268fm_server_LDADD = $(FM_SERVER_LIBS) fm_input_gst/libfm_input_gst.la \ 
     269        $(am__append_2) 
    265270all: all-recursive 
    266271 
     
    347352@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_mixer.Po@am__quote@ 
    348353@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_output.Po@am__quote@ 
     354@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_output_alsa.Po@am__quote@ 
    349355@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_output_jack.Po@am__quote@ 
    350356@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_pipeline.Po@am__quote@ 
  • fm_server/trunk/src/fm_effect_rate.c

    r109 r111  
    140140fm_effect_rate_init                     (FmEffectRate   *effect_rate) 
    141141{ 
    142         effect_rate->converter = 1; 
     142        effect_rate->converter = 3; 
    143143        effect_rate->change_rate = -1; 
    144144        effect_rate->rate = 1.00; 
  • fm_server/trunk/src/fm_output_alsa.c

    r10 r111  
    33#include <glib.h> 
    44#include <glib-object.h> 
    5 #include <rgc.h> 
     5#include <rgc_server.h> 
     6 
    67#include <alsa/asoundlib.h> 
    78 
     
    1213 
    1314 
    14 #define ALSA_DEFAULT_DEVICE "hw:0,0" 
     15#define ALSA_DEFAULT_DEVICE "default" 
    1516#define ALSA_DEFAULT_BUFFER_TIME 22000 
    16 #define ALSA_DEFAULT_PERIOD_TIME 5000 
     17#define ALSA_DEFAULT_PERIOD_TIME 10000 
    1718 
    1819extern gint temp_fd; 
     
    3839static gboolean fm_output_alsa_deactivate (FmElement    *element); 
    3940static void fm_output_alsa_finalize     (GObject        *object); 
    40  
    41 static void fm_output_alsa_get_buffer   (FmElement      *element, 
    42                                          FmBuffer       *buffer); 
    43  
    44 gint xrun_recovery                      (snd_pcm_t      *handle, 
     41static gint xrun_recovery               (snd_pcm_t      *handle, 
    4542                                         gint           err); 
     43static gpointer fm_output_alsa_play     (gpointer       data); 
     44static gboolean fm_output_alsa_start    (FmOutput       *output); 
     45                                  
    4646 
    4747static FmOutputClass *parent_class = NULL; 
     
    7676fm_output_alsa_class_register           (void) 
    7777{ 
    78         rgc_class_register ("FmOutputAlsa", 
    79                             FM_TYPE_OUTPUT_ALSA); 
    80  
    81         rgc_method_register ("connect_src", 
    82                              FM_TYPE_OUTPUT_ALSA, 
    83                              G_CALLBACK (fm_element_connect_src), 
    84                              rgc_marshal_VOID__ELEMENT, 
    85                              1, G_TYPE_STRING); 
     78        rgc_class_register (FM_TYPE_OUTPUT_ALSA); 
    8679} 
    8780 
     
    9891        gobject_class->set_property = fm_output_alsa_set_property; 
    9992        gobject_class->get_property = fm_output_alsa_get_property; 
     93         
    10094        gobject_class->finalize = fm_output_alsa_finalize; 
     95//      gobject_class->dispose =  
    10196         
    10297        element_class->activate = fm_output_alsa_activate; 
    10398        element_class->deactivate = fm_output_alsa_deactivate; 
    104         element_class->get_buffer = fm_output_alsa_get_buffer; 
    105          
    106         output_class->play = fm_output_alsa_play; 
     99         
     100        output_class->start = fm_output_alsa_start; 
     101        //output_class->stop = fm_output_alsa_stop; 
     102         
    107103         
    108104        g_object_class_install_property (gobject_class, 
     
    145141        output_alsa->buffer_size = 0; 
    146142        output_alsa->period_size = 0; 
    147         output_alsa->engine_buffer = NULL; 
     143        output_alsa->thread = NULL; 
     144        output_alsa->stop_processing = FALSE; 
    148145} 
    149146 
     
    214211        FmOutputAlsa *output_alsa = FM_OUTPUT_ALSA (element); 
    215212        gint err; 
    216  
    217         g_assert ((FmElement *) g_list_nth_data (element->src_list, 0)); 
    218         fm_element_activate ((FmElement *) g_list_nth_data (element->src_list, 0)); 
    219213         
    220214        g_print ("Activating FmOutputAlsa\n"); 
    221215                 
    222          
    223216        // Open the device 
    224217         
     
    265258        } 
    266259 
     260        output->sample_rate = 44100; 
    267261        err = snd_pcm_hw_params_set_rate_near (output_alsa->sound_handle, 
    268262                                               output_alsa->hwparams, 
     
    272266                return FALSE; 
    273267        } 
    274  
     268         
     269        g_print ("ALSA sample rate: %d\n", output->sample_rate); 
     270 
     271        guint n_channels = FM_CHANNELS_STEREO; 
    275272        err = snd_pcm_hw_params_set_channels (output_alsa->sound_handle, 
    276273                                              output_alsa->hwparams, 
    277                                               output->channels_n); 
    278         if (err < 0) { 
    279                 printf("snd_pcm_hw_params_set_channels %d: %s\n", output->channels_n, snd_strerror (err)); 
    280                 return FALSE; 
    281         } 
    282  
    283         guint dir = 0; // ??? 
     274                                              n_channels); 
     275        if (err < 0) { 
     276                printf("snd_pcm_hw_params_set_channels %d: %s\n", n_channels, snd_strerror (err)); 
     277                return FALSE; 
     278        } 
     279 
     280        gint dir = 0; // ??? 
    284281         
    285282        err = snd_pcm_hw_params_set_buffer_time_near (output_alsa->sound_handle, 
     
    319316        } 
    320317         
    321         output->samples_per_buffer = output_alsa->period_size; 
    322  
    323318        err = snd_pcm_hw_params (output_alsa->sound_handle, 
    324319                                 output_alsa->hwparams); 
     
    329324        } 
    330325 
    331         output->samples_per_buffer = output_alsa->period_size; 
    332                  
    333         // Our integer buffer 
    334          
    335         output_alsa->engine_buffer = fm_buffer_new (MAX_SAMPLES, 
    336                 FM_SAMPLES_INT16, FM_INTERLEAVING_NORMAL, FM_CHANNELS_STEREO); 
     326        output_alsa->buffer_size_samples = output_alsa->period_size; 
     327        output_alsa->main_buffer = fm_buffer_new (output_alsa->buffer_size_samples, FM_CHANNELS_STEREO); 
     328        output_alsa->buffer_int = g_new (gint16, output_alsa->buffer_size_samples * FM_CHANNELS_STEREO); 
     329                 
     330        /* We postpone this to set the pipeline's sample rate */ 
     331        if (!fm_element_activate_connected (element)) 
     332                return FALSE; 
    337333         
    338334        return TRUE; 
     
    343339fm_output_alsa_deactivate               (FmElement      *element) 
    344340{ 
    345         FmOutputAlsa *output_alsa = FM_OUTPUT_ALSA (element); 
     341        /*FmOutputAlsa *output_alsa = FM_OUTPUT_ALSA (element); 
    346342        gint err; 
    347343         
     
    362358        output_alsa->buffer_size = 0; 
    363359        output_alsa->period_size = 0; 
    364         output_alsa->engine_buffer = NULL; 
     360        output_alsa->engine_buffer = NULL;*/ 
    365361         
    366362        return TRUE; 
     
    379375 
    380376 
    381  
    382  
    383 static void 
    384 fm_output_alsa_get_buffer               (FmElement      *element, 
    385                                          FmBuffer       *buffer) 
    386 { 
    387         g_return_if_fail (FM_IS_OUTPUT_ALSA (element)); 
    388          
    389         g_assert (g_list_nth_data (element->src_list, 0)); 
    390         /* FIXME */ 
    391         fm_element_get_buffer (FM_ELEMENT (g_list_nth_data (element->src_list, 0)), 
    392                                buffer); 
    393          
    394         return; 
    395 } 
    396  
    397  
    398 void 
    399 fm_output_alsa_play                     (FmOutput       *output, 
    400                                          FmBuffer       *buffer) 
    401 { 
    402         FmOutputAlsa *output_alsa = FM_OUTPUT_ALSA (output); 
    403          
    404         fm_buffer_convert (buffer, output_alsa->engine_buffer); 
    405          
    406         fm_buffer_dump_to_file (output_alsa->engine_buffer, temp_fd); 
    407          
    408         gint err = 0; 
    409                  
    410         g_assert (output_alsa->sound_handle); 
    411  
    412         err = snd_pcm_writei (output_alsa->sound_handle, 
    413                               FM_BUFFER_DATA (output_alsa->engine_buffer), 
    414                               FM_BUFFER_USED_SAMPLES (output_alsa->engine_buffer)); 
    415         if (err < 0) { 
    416                 if (xrun_recovery (output_alsa->sound_handle, err) < 0) { 
    417                         g_print ("alsa: xrun1\n"); 
    418                         return;         // FALSE 
     377static gboolean 
     378fm_output_alsa_start                    (FmOutput       *output) 
     379{ 
     380        FmOutputAlsa *output_alsa = FM_OUTPUT_ALSA(output); 
     381        GError *error = NULL; 
     382                 
     383        output_alsa->thread = g_thread_create (fm_output_alsa_play, output_alsa, 
     384                                               FALSE, &error); 
     385        if (output_alsa->thread) { 
     386                g_print("ALSA output started!\n"); 
     387                return TRUE; 
     388        } else { 
     389                g_warning("Failed starting ALSA output, %s", error->message); 
     390                return FALSE; 
     391        } 
     392} 
     393 
     394 
     395#define FLOAT_TO_INT(x) ((gint16) ((x) * 32768.0)) 
     396 
     397static gpointer 
     398fm_output_alsa_play                     (gpointer       data) 
     399{ 
     400        FmElement *element = FM_ELEMENT (data); 
     401        FmOutputAlsa *output_alsa = FM_OUTPUT_ALSA (data); 
     402         
     403        while (!output_alsa->stop_processing) { 
     404         
     405                //g_print("asking for %d samples\n", output_alsa->buffer_size_samples); 
     406                FM_BUFFER_REQUESTED(output_alsa->main_buffer) = output_alsa->buffer_size_samples; 
     407                fm_element_get_buffer_from_src(element, output_alsa->main_buffer); 
     408         
     409                guint i; 
     410                gint16 *ptr = output_alsa->buffer_int; 
     411                for (i = 0; i < output_alsa->buffer_size_samples; i++) { 
     412                        *(ptr++) = FLOAT_TO_INT (output_alsa->main_buffer->channel_data[0][i]); 
     413                        *(ptr++) = FLOAT_TO_INT (output_alsa->main_buffer->channel_data[1][i]); 
    419414                } 
     415         
     416                gint err = 0; 
    420417                 
    421418                err = snd_pcm_writei (output_alsa->sound_handle, 
    422                                       FM_BUFFER_DATA (output_alsa->engine_buffer), 
    423                                       FM_BUFFER_USED_SAMPLES (output_alsa->engine_buffer)); 
    424                  
     419                                      output_alsa->buffer_int,  
     420                                      output_alsa->buffer_size_samples); 
     421                                       
    425422                if (err < 0) { 
    426423                        if (xrun_recovery (output_alsa->sound_handle, err) < 0) { 
    427                                 g_print ("alsa: xrun2\n"); 
    428                                 return;         // FALSE 
     424                                g_print ("alsa: xrun1\n"); 
     425                                continue; 
     426                        } 
     427                 
     428                        err = snd_pcm_writei (output_alsa->sound_handle, 
     429                                              output_alsa->buffer_int, 
     430                                              output_alsa->buffer_size_samples); 
     431                 
     432                        if (err < 0) { 
     433                                if (xrun_recovery (output_alsa->sound_handle, err) < 0) { 
     434                                        g_print ("alsa: xrun2\n"); 
     435                                        continue; 
     436                                }        
    429437                        }        
    430                 }        
    431         } 
    432         return;         // TRUE 
     438                } 
     439        } 
     440         
     441        g_print ("output_alsa->stop_processing == TRUE!\n"); 
     442         
     443        return NULL; 
    433444} 
    434445 
    435446 
    436447// Underrun and suspend recovery 
    437 gint 
     448static gint 
    438449xrun_recovery                           (snd_pcm_t      *handle, 
    439450                                         gint           err) 
  • fm_server/trunk/src/fm_output_alsa.h

    r10 r111  
    1717        gchar           *device_name; 
    1818         
     19        GThread         *thread; 
     20        gboolean        stop_processing; 
     21         
    1922        snd_pcm_t       *sound_handle; 
    2023        snd_output_t    *errlog; 
     
    2932        snd_pcm_uframes_t period_size; 
    3033         
    31         FmBuffer        *engine_buffer; 
     34        guint           buffer_size_samples; 
     35        FmBuffer        *main_buffer; 
     36        gint16          *buffer_int; 
    3237}; 
    3338 
     
    4853fm_output_alsa_new                      (void); 
    4954 
    50 /*void 
    51 fm_output_alsa_get_buffer               (FmElement      *element, 
    52                                          FmBuffer       *buffer);*/ 
    53  
    54 void 
    55 fm_output_alsa_play                     (FmOutput       *output, 
    56                                          FmBuffer       *buffer); 
  • fm_server/trunk/src/main.c

    r109 r111  
    5959#include "fm_output_alsa.h" 
    6060#endif 
    61 #include "fm_output_oss.h" 
    6261#include "fm_output_jack.h" 
    6362#include "fm_mixer.h" 
     
    157156        fm_mixer_dj_class_register ();*/ 
    158157#if HAVE_ALSA_ASOUNDLIB_H 
    159         //fm_output_alsa_class_register (); 
     158        fm_output_alsa_class_register (); 
    160159#endif 
    161160        //fm_output_oss_class_register (); 
  • fm_server/trunk/test/test_play_file.c

    r29 r111  
    4040        rgc_remote_object_call (pipeline, "run", NULL); 
    4141        g_usleep(100); 
    42         rgc_remote_object_call (output, "connect_to_hw_ports", NULL); 
     42//      rgc_remote_object_call (output, "connect_to_hw_ports", NULL); 
    4343        g_usleep(100); 
    4444        //rgc_remote_object_call (input, "play", NULL); 
     
    7070        GValue *device_name = g_value_init_string ("default"); 
    7171        rgc_remote_object_new_async (output_created_cb, NULL, 
    72                             "FmOutputJack", "output", NULL); 
     72//                          "FmOutputJack", "output", NULL); 
     73                            "FmOutputAlsa", "output", NULL); 
    7374        g_value_destroy (device_name); 
    7475} 
  • fm_server/trunk/test/test_simple.c

    r90 r111  
    3434        rgc_remote_object_call (pipeline, "activate", NULL); 
    3535        rgc_remote_object_call (pipeline, "run", NULL); 
    36         rgc_remote_object_call (output, "connect_to_hw_ports", NULL); 
     36//      rgc_remote_object_call (output, "connect_to_hw_ports", NULL); 
    3737 
    3838        sleep (200); 
     
    9292        GValue *device_name = g_value_init_string ("default"); 
    9393        rgc_remote_object_new_async (output_created_cb, NULL, 
    94                             "FmOutputJack", "output", NULL); 
     94//                          "FmOutputJack", "output", NULL); 
     95                            "FmOutputAlsa", "output", NULL); 
    9596        g_value_destroy (device_name); 
    9697} 
  • rgc/trunk/AUTHORS

    r3 r111  
    11Main author and mantainer: 
    2     Alberto Botti <athproject@hotpop.com> 
     2    Alberto Botti <alberto.botti@yoda2000.net> 
    33     
    44Based on many ideas and source code from the GLib library: 
     
    1111 
    1212Distributed under the terms of the GNU Library General Public License (LGPL) 
    13 version 2. 
     13version 2 or later. 
  • rgc/trunk/intltool-merge

    r100 r111  
    258258{ 
    259259    my ($encoding) = @_; 
    260     my $alias_file = $ENV{"G_CHARSET_ALIAS"} || "/usr/local/lib/charset.alias"; 
     260    my $alias_file = $ENV{"G_CHARSET_ALIAS"} || "/home/ath/test/lib/charset.alias"; 
    261261 
    262262    # seek character encoding aliases in charset.alias (glib) 
  • rgc/trunk/intltool-update

    r100 r111  
    558558sub GenerateHeaders 
    559559{ 
    560     my $EXTRACT = "/home/ath/Projects/fm/freemix/rgc/trunk/intltool-extract"; 
     560    my $EXTRACT = "/home/ath/Desktop/Progetti/fm/freemix/rgc/trunk/intltool-extract"; 
    561561    chomp $EXTRACT; 
    562562