a mono phone interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ladies and Gentlemen,

I have an old Skype phone that I have used under Centos-6 that I have not 
been able to get to work under Centos-7 and Centos-8. I have tested it
under Centos-6 (2.6.32-754.6.3.el6.i686 #1 SMP) with:
    aplay -D usb-phone -t wav /usr/share/sounds/alsa/Front_Center.wav
and it works with voice output saying "Front Center".

When I try the same under Centos-7 (3.10.0-1062.9.1.el7.x86_64 #1 SMP)
and Centos-8 (4.18.0-80.11.2.el8_0.x86_64 #1 SMP), I get two short 
rumbling segments of noise (That I suspect being the not properly 
processed words from the sound file). 

I have played the above command under Centos-7 and Centos-8 using the 
default device to the primary audio system with success. I have also
compared the sound files and they are the same. 

>From all the above I conclude that the problem lies somwhere between the 
asound.conf file (which is the same) and the snd_usb_audio kernel module.

The alsa versions are from 1.1.0 (Centos-6) to 1.1.6 (Centos-8).
I append the asound.conf file (where /etc/alsa/pulse-default.conf is
vanilla and the same) and the --dump-hw-params output from aplay (which
again is the same in all cases).

If I have missed some information I will be glad to provide it.

Any advice would be appreciated. Thanks for any help, AG

--------------------------------------------------------------------------
#
# Place your global alsa-lib configuration here...
#

@hooks [
        {
                func load
                files [
                        "/etc/alsa/pulse-default.conf"
                ]
                errors false
        }
]

# This is an alias for the phone
pcm.usb-audio {
                type hw
                card 1
                device 0
        }

# This creates a converting alias for the phone
pcm_slave.myslave {
                pcm "hw:1,0"
                format S16_LE
                channels 1
                rate 8000
        }
pcm.usb-convert {
                type plug
                slave myslave
        }

# The short version of the same thing
pcm.usb-phone {
                type plug
                slave {
                        pcm "hw:1,0"
                        format S16_LE
                        channels 1
                        rate 8000
                }
        }
--------------------------------------------------------------------------

--------------------------------------------------------------------------
HW Params of device "usb-phone":
--------------------
ACCESS:  MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED
FORMAT:  S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE
SUBFORMAT:  STD
SAMPLE_BITS: [4 64]
FRAME_BITS: [4 640000]
CHANNELS: [1 10000]
RATE: [4000 4294967295]
PERIOD_TIME: [4000 32768000]
PERIOD_SIZE: [16 4294967295]
PERIOD_BYTES: [8 4294967295]
PERIODS: (0 268435456)
BUFFER_TIME: [1 4294967295]
BUFFER_SIZE: [32 4294967294]
BUFFER_BYTES: [16 4294967295]
TICK_TIME: ALL
--------------------
--------------------------------------------------------------------------

 ----------------------------------------------------------------------
   Alfred Ganz					alfred-ganz:at:agci.com
   AG Consulting				(203) 624-9667
   440 Prospect Street # 11
   New Haven, CT 06511
 ----------------------------------------------------------------------


_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux