Get your own customer support community

Recent activity

Subscribe to this feed
  • idea

    audiophilepj replied on December 30, 2008 03:58 to the idea "libAFSAudioPlayer" in Rogue Amoeba:

    audiophilepj
    Still working on this........

    Here is the terminal log... can anyone help?

    Thanks,

    ps3@ps3:~/Desktop/airfoilspeakers_2.6.0-3/src$ make
    gcc -c -ggdb -O0 -fPIC -W -Wall -I. alsa_player.c -o alsa_player.o
    alsa_player.c:3:28: error: alsa/asoundlib.h: No such file or directory
    alsa_player.c:17: error: expected specifier-qualifier-list before ‘snd_pcm_t’
    alsa_player.c: In function ‘format_from_waveformat’:
    alsa_player.c:43: error: ‘SND_PCM_FORMAT_S16_LE’ undeclared (first use in this function)
    alsa_player.c:43: error: (Each undeclared identifier is reported only once
    alsa_player.c:43: error: for each function it appears in.)
    alsa_player.c:45: warning: control reaches end of non-void function
    alsa_player.c: At top level:
    alsa_player.c:47: error: expected ‘)’ before ‘*’ token
    alsa_player.c: In function ‘fill_blit_buffer’:
    alsa_player.c:69: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:71: error: ‘audio_buffer’ has no member named ‘blit_buffer’
    alsa_player.c:73: error: ‘audio_buffer’ has no member named ‘fillBufferCB’
    alsa_player.c:74: error: ‘audio_buffer’ has no member named ‘fillBufferCB’
    alsa_player.c:74: error: ‘audio_buffer’ has no member named ‘fillBufferCtx’
    alsa_player.c: At top level:
    alsa_player.c:78: error: expected ‘)’ before ‘*’ token
    alsa_player.c: In function ‘write_and_poll_loop’:
    alsa_player.c:110: error: ‘snd_pcm_t’ undeclared (first use in this function)
    alsa_player.c:110: error: ‘handle’ undeclared (first use in this function)
    alsa_player.c:110: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:111: error: ‘snd_pcm_sframes_t’ undeclared (first use in this function)
    alsa_player.c:111: error: expected ‘;’ before ‘delay’
    alsa_player.c:113: warning: implicit declaration of function ‘snd_pcm_poll_descriptors_count’
    alsa_player.c:119: error: invalid application of ‘sizeof’ to incomplete type ‘struct pollfd’
    alsa_player.c:123: error: ‘ENOMEM’ undeclared (first use in this function)
    alsa_player.c:125: warning: implicit declaration of function ‘snd_pcm_poll_descriptors’
    alsa_player.c:127: warning: implicit declaration of function ‘snd_strerror’
    alsa_player.c:127: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:132: error: invalid use of undefined type ‘struct pollfd’
    alsa_player.c:132: error: dereferencing pointer to incomplete type
    alsa_player.c:132: error: ‘audio_buffer’ has no member named ‘pipe’
    alsa_player.c:133: error: invalid use of undefined type ‘struct pollfd’
    alsa_player.c:133: error: dereferencing pointer to incomplete type
    alsa_player.c:133: error: ‘POLLIN’ undeclared (first use in this function)
    alsa_player.c:134: error: invalid use of undefined type ‘struct pollfd’
    alsa_player.c:134: error: dereferencing pointer to incomplete type
    alsa_player.c:140: warning: implicit declaration of function ‘wait_for_poll’
    alsa_player.c:145: warning: implicit declaration of function ‘snd_pcm_state’
    alsa_player.c:145: error: ‘SND_PCM_STATE_XRUN’ undeclared (first use in this function)
    alsa_player.c:146: error: ‘SND_PCM_STATE_SUSPENDED’ undeclared (first use in this function)
    alsa_player.c:148: error: ‘EPIPE’ undeclared (first use in this function)
    alsa_player.c:148: error: ‘ESTRPIPE’ undeclared (first use in this function)
    alsa_player.c:149: warning: implicit declaration of function ‘xrun_recovery’
    alsa_player.c:150: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:163: warning: implicit declaration of function ‘snd_pcm_delay’
    alsa_player.c:163: error: ‘delay’ undeclared (first use in this function)
    alsa_player.c:172: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:173: error: ‘audio_buffer’ has no member named ‘blit_buffer’
    alsa_player.c:176: warning: implicit declaration of function ‘snd_pcm_writei’
    alsa_player.c:181: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:187: error: ‘SND_PCM_STATE_RUNNING’ undeclared (first use in this function)
    alsa_player.c:206: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c: In function ‘AUDIO_stop’:
    alsa_player.c:231: warning: implicit declaration of function ‘snd_pcm_drop’
    alsa_player.c:231: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:233: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:239: warning: implicit declaration of function ‘write’
    alsa_player.c:239: error: ‘audio_buffer’ has no member named ‘pipe’
    alsa_player.c: In function ‘set_hwparams’:
    alsa_player.c:246: error: ‘snd_pcm_hw_params_t’ undeclared (first use in this function)
    alsa_player.c:246: error: ‘hw_params’ undeclared (first use in this function)
    alsa_player.c:247: error: ‘snd_pcm_uframes_t’ undeclared (first use in this function)
    alsa_player.c:247: error: expected ‘;’ before ‘size’
    alsa_player.c:251: warning: implicit declaration of function ‘snd_pcm_hw_params_malloc’
    alsa_player.c:252: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:256: warning: implicit declaration of function ‘snd_pcm_hw_params_any’
    alsa_player.c:256: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:258: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:262: warning: implicit declaration of function ‘snd_pcm_hw_params_set_rate_resample’
    alsa_player.c:262: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:264: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:268: warning: implicit declaration of function ‘snd_pcm_hw_params_set_access’
    alsa_player.c:268: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:268: error: ‘SND_PCM_ACCESS_RW_INTERLEAVED’ undeclared (first use in this function)
    alsa_player.c:269: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:273: warning: implicit declaration of function ‘snd_pcm_hw_params_set_format’
    alsa_player.c:273: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:275: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:280: warning: implicit declaration of function ‘snd_pcm_hw_params_set_rate_near’
    alsa_player.c:280: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:282: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
    alsa_player.c:286: warning: implicit declaration of function ‘snd_pcm_hw_params_set_channels’
    alsa_player.c:286: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:288: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:293: warning: implicit declaration of function ‘snd_pcm_hw_params_set_buffer_time_near’
    alsa_player.c:293: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:295: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
    alsa_player.c:299: warning: implicit declaration of function ‘snd_pcm_hw_params_get_buffer_size’
    alsa_player.c:299: error: ‘size’ undeclared (first use in this function)
    alsa_player.c:301: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:304: error: ‘audio_buffer’ has no member named ‘buffer_size’
    alsa_player.c:307: warning: implicit declaration of function ‘snd_pcm_hw_params_set_period_time_near’
    alsa_player.c:307: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:309: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
    alsa_player.c:313: warning: implicit declaration of function ‘snd_pcm_hw_params_get_period_size’
    alsa_player.c:315: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:318: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:321: warning: implicit declaration of function ‘snd_pcm_hw_params’
    alsa_player.c:321: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:323: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:327: warning: implicit declaration of function ‘snd_pcm_hw_params_free’
    alsa_player.c: In function ‘set_swparams’:
    alsa_player.c:340: error: ‘snd_pcm_sw_params_t’ undeclared (first use in this function)
    alsa_player.c:340: error: ‘sw_params’ undeclared (first use in this function)
    alsa_player.c:343: warning: implicit declaration of function ‘snd_pcm_sw_params_malloc’
    alsa_player.c:345: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:350: warning: implicit declaration of function ‘snd_pcm_sw_params_current’
    alsa_player.c:350: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:352: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
    alsa_player.c:357: warning: implicit declaration of function ‘snd_pcm_sw_params_set_start_threshold’
    alsa_player.c:357: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:358: error: ‘audio_buffer’ has no member named ‘buffer_size’
    alsa_player.c:358: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:358: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:360: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
    alsa_player.c:364: warning: implicit declaration of function ‘snd_pcm_sw_params_set_avail_min’
    alsa_player.c:364: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:364: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:366: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
    alsa_player.c:370: warning: implicit declaration of function ‘snd_pcm_sw_params’
    alsa_player.c:370: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:372: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
    alsa_player.c:376: warning: implicit declaration of function ‘snd_pcm_sw_params_free’
    alsa_player.c: In function ‘get_mixer’:
    alsa_player.c:388: error: ‘snd_mixer_selem_id_t’ undeclared (first use in this function)
    alsa_player.c:388: error: ‘selem_id’ undeclared (first use in this function)
    alsa_player.c:392: warning: implicit declaration of function ‘snd_mixer_open’
    alsa_player.c:392: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    alsa_player.c:394: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:398: warning: implicit declaration of function ‘snd_mixer_attach’
    alsa_player.c:398: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    alsa_player.c:400: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:404: warning: implicit declaration of function ‘snd_mixer_selem_register’
    alsa_player.c:404: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    alsa_player.c:406: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:410: warning: implicit declaration of function ‘snd_mixer_load’
    alsa_player.c:410: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    alsa_player.c:412: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:417: warning: implicit declaration of function ‘snd_mixer_selem_id_alloca’
    alsa_player.c:419: warning: implicit declaration of function ‘snd_mixer_selem_id_set_name’
    alsa_player.c:421: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:421: warning: implicit declaration of function ‘snd_mixer_find_selem’
    alsa_player.c:421: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    alsa_player.c:423: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:424: warning: implicit declaration of function ‘snd_mixer_selem_set_playback_volume_range’
    alsa_player.c:424: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c: In function ‘AUDIO_get_volume’:
    alsa_player.c:432: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:436: warning: implicit declaration of function ‘snd_mixer_selem_get_playback_volume’
    alsa_player.c:436: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:436: error: ‘SND_MIXER_SCHN_FRONT_LEFT’ undeclared (first use in this function)
    alsa_player.c: In function ‘AUDIO_set_volume’:
    alsa_player.c:443: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:449: warning: implicit declaration of function ‘snd_mixer_selem_get_playback_switch’
    alsa_player.c:449: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:449: error: ‘SND_MIXER_SCHN_FRONT_LEFT’ undeclared (first use in this function)
    alsa_player.c:452: warning: implicit declaration of function ‘snd_mixer_selem_set_playback_switch_all’
    alsa_player.c:452: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:455: warning: implicit declaration of function ‘snd_mixer_selem_set_playback_volume’
    alsa_player.c:455: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:456: error: ‘audio_buffer’ has no member named ‘mixer_elem’
    alsa_player.c:456: error: ‘SND_MIXER_SCHN_FRONT_RIGHT’ undeclared (first use in this function)
    alsa_player.c: In function ‘AUDIO_set_callback’:
    alsa_player.c:461: error: ‘audio_buffer’ has no member named ‘fillBufferCB’
    alsa_player.c:462: error: ‘audio_buffer’ has no member named ‘fillBufferCtx’
    alsa_player.c: In function ‘AUDIO_create_sound_buffer’:
    alsa_player.c:477: warning: implicit declaration of function ‘memset’
    alsa_player.c:477: warning: incompatible implicit declaration of built-in function ‘memset’
    alsa_player.c:486: warning: implicit declaration of function ‘snd_pcm_open’
    alsa_player.c:486: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:486: error: ‘SND_PCM_STREAM_PLAYBACK’ undeclared (first use in this function)
    alsa_player.c:488: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:503: warning: implicit declaration of function ‘snd_pcm_prepare’
    alsa_player.c:503: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:505: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    alsa_player.c:509: warning: implicit declaration of function ‘pipe’
    alsa_player.c:509: error: ‘audio_buffer’ has no member named ‘pipe’
    alsa_player.c:518: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    alsa_player.c:521: error: ‘audio_buffer’ has no member named ‘blit_buffer’
    alsa_player.c:521: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:522: error: ‘audio_buffer’ has no member named ‘blit_buffer’
    alsa_player.c:522: error: ‘audio_buffer’ has no member named ‘period_size’
    alsa_player.c:527: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:529: warning: implicit declaration of function ‘snd_pcm_close’
    alsa_player.c:529: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c: In function ‘AUDIO_free’:
    alsa_player.c:537: error: ‘audio_buffer’ has no member named ‘playback_handle’
    alsa_player.c:539: error: ‘audio_buffer’ has no member named ‘blit_buffer’
    alsa_player.c:541: warning: implicit declaration of function ‘close’
    alsa_player.c:541: error: ‘audio_buffer’ has no member named ‘pipe’
    alsa_player.c:542: error: ‘audio_buffer’ has no member named ‘pipe’
    alsa_player.c:544: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    alsa_player.c:545: warning: implicit declaration of function ‘snd_mixer_close’
    alsa_player.c:545: error: ‘audio_buffer’ has no member named ‘mixer_handle’
    make: *** [alsa_player.o] Error 1
  • problem

    audiophilepj replied on December 27, 2008 19:27 to the problem "Memory leak in linux airfoil speakers ?" in Rogue Amoeba:

    audiophilepj
    Ubuntu Intrepid, same thing. Will run fine for about an hour then disconnect. Running on a 701SD Eee PC.
  • idea

    audiophilepj replied on December 23, 2008 06:31 to the idea "libAFSAudioPlayer" in Rogue Amoeba:

    audiophilepj
    still having problems, i hate typing this... but, i'm new to linux, so please bare with me.

    i'm getting the above error""ERROR: We could not load the Audio Player library. Please ensure that the audio player library is accessible in your LD_LIBRARY_PATH and is compiled for your playform.
    We were looking for: libAFSAudioPlayer"

    when i try the code above I get a long mess of errors..

    i nav to the airfoilspeakers_2.6.0-1/src folder, type make, and errors for days come rolling

    how do you compile libAFSAudioPlayer.so?

    "make" doesn't seem to work

    I've copied the file but can't make?

    any help would be appreciated!

    I downloaded the deb file, the deb file automatically installed 5 missing packages.

    I'm trying to stream music to a ps3 running airfoil speakers.

    Ubuntu 8.10 ps3