ONeill wrote:
> After putting the library name to the correct position (after source and
> object file) the compilation works for me, so instead of:
> >
Code:
--------------------
> > gcc -o alsacap -l asound alsacap.c
--------------------
> >
>
> I run:
> >
Code:
--------------------
> > gcc -o alsacap alsacap.c -l asound
--------------------
> >
>
> After runnign the command I got the following output:
> *** Scanning for playback devices ***
> Card 0, ID `I82801AAICH', name `Intel 82801AA-ICH'
> Device 0, ID `Intel ICH', name `Intel 82801AA-ICH', 1 subdevices (1
> available)
> 2 channels, sampling rate 8000..48000 Hz
> Sample formats: S16_LE
> Buffer size range from 8 to 16384
> Period size range from 8 to 16384
>
> Subdevice 0, name `subdevice #0'
Sorry, I guess newer gcc versions are not as forgiving in option order
as the older ones, either way works for me.
If this is the default device you're using as seen in the logs then the
bolded items should not be available directly from alsa.
Device should be opened as S16_LE not *S32_LE* and only support up to
48000, no higher.
Code:
--------------------
[19:32:46.739499] output_init_common:411 supported rates: *384000 352800
192000 176400 96000 88200* 48000 44100 32000 24000 22500 16000 12000 11025 8000
[19:32:46.742409] output_init_alsa:928 memory locked
[19:32:46.742934] output_init_alsa:951 set output sched fifo rt: 45
[19:32:46.742948] output_thread:621 open output device: default
[19:32:46.743418] alsa_open:338 opening device at: 44100
[19:32:46.744341] alsa_open:389 opened device default using format: *S32_LE*
sample rate: 44100 mmap: 1
--------------------
One channel (mono) should not be available either, alsacap reports only
2 channels, not 1..2 channels.
Are you running the squeezelite tests in a virtualbox vm?
Does the 1.8 binary work if you force squeezelite to use the raw alsa
device? -o hw:CARD=I82801AAICH
Have you tried disabling pulseaudio? See 'here'
(https://installion.co.uk/ubuntu/xenial/main/p/pulseaudio/uninstall/index.html)
for details.
Please try building a 1.5 binary from source, does it work?
Code:
--------------------
git clone https://github.com/ralph-irving/squeezelite.git
cd squeezelite
git reset --hard d6b564624fc838cfb3d458662d2cf240ed540fb2
make -f Makefile.resample
--------------------
Pleae provide a 16000Hz, 1 channel mp3 file created by tts so I can
investigate further?
There's a plethora if changes from 1.5 to current, so tracking this down
will take some time.
Ralphy
*1*-Touch, *5*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix