Re: snd-usb-audio syncronisation problem

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

 



OK, I tried playing the stereo file but still getting the same error:
deathu@vader:~/Desktop$ aplay -D hw:1 testtone192.wav
Playing WAVE 'testtone192.wav' : Signed 16 bit Little Endian, Rate
192000 Hz, Stereo
aplay: set_params:918: Sample format non available


For the four channel 96kHz file, aplay complains that it's not in PCM format.
deathu@vader:~/Desktop$ aplay -D hw:1 testtone4.wav
aplay: test_wavefile:749: can't play not PCM-coded WAVE-files

Well, my test file contained a single constant frequency tone; it is
still there while I play the 192k file through plughw:1,0, but burried
under:
- periodic series of clicks
- other high frequency tones

Here is  /proc/asound/card1/stream0 while playing through plughw:1,0:
E-MU Systems, Inc. E-MU 0404 | USB at usb-0000:00:1d.7-6, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 10
    URBs = 8 [ 16 16 16 16 16 16 16 16 ]
    Packet Size = 586
    Momentary freq = 192000 Hz (0x18.0000)
  Interface 1
    Altset 1
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100
  Interface 1
    Altset 2
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100
  Interface 1
    Altset 3
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 4
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 5
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 88200
  Interface 1
    Altset 6
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 88200
  Interface 1
    Altset 7
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 8
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 9
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 176400
  Interface 1
    Altset 10
    Format: 0x20
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 192000
  Interface 1
    Altset 11
    Format: 0x20
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100
  Interface 1
    Altset 12
    Format: 0x20
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100
  Interface 1
    Altset 13
    Format: 0x20
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 14
    Format: 0x20
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 15
    Format: 0x20
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 88200
  Interface 1
    Altset 16
    Format: 0x20
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000

Capture:
  Status: Stop
  Interface 2
    Altset 1
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 44100
  Interface 2
    Altset 2
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 44100
  Interface 2
    Altset 3
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 48000
  Interface 2
    Altset 4
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 48000
  Interface 2
    Altset 5
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 88200
  Interface 2
    Altset 6
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 88200
  Interface 2
    Altset 7
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 96000
  Interface 2
    Altset 8
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 96000
  Interface 2
    Altset 9
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 176400
  Interface 2
    Altset 10
    Format: 0x20
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 192000
  Interface 2
    Altset 11
    Format: 0x20
    Channels: 4
    Endpoint: 2 IN (ASYNC)
    Rates: 44100
  Interface 2
    Altset 12
    Format: 0x20
    Channels: 4
    Endpoint: 2 IN (ASYNC)
    Rates: 44100
  Interface 2
    Altset 13
    Format: 0x20
    Channels: 4
    Endpoint: 2 IN (ASYNC)
    Rates: 48000
  Interface 2
    Altset 14
    Format: 0x20
    Channels: 4
    Endpoint: 2 IN (ASYNC)
    Rates: 48000
  Interface 2
    Altset 15
    Format: 0x20
    Channels: 4
    Endpoint: 2 IN (ASYNC)
    Rates: 88200
  Interface 2
    Altset 16
    Format: 0x20
    Channels: 4
    Endpoint: 2 IN (ASYNC)
    Rates: 96000




On Tue, Feb 26, 2008 at 10:14 AM, Clemens Ladisch <clemens@xxxxxxxxxx> wrote:
> Adrian Stancu wrote:
>  > deathu@vader:~/Desktop$ sox testtone96.wav -r 192000 testtone192.wav
>  > deathu@vader:~/Desktop$ aplay -D hw:1 testtone192.wav
>  > Playing WAVE 'testtone192.wav' : Signed 16 bit Little Endian, Rate 192000 Hz, Mono
>  > aplay: set_params:918: Sample format non available
>
>  The device doesn't support mono.
>  Try "sox testtone96.wav -r 192000 -c 2 testtone192.wav".
>
>
>  > I receive totally damaged audio (wrong frequency, lots of artifacts)
>
>  What frequency?  What is shown /proc/asound/card1/stream0 while playing
>  this file?  Does something similar happen with a four-channel 96 kHz
>  file? ("sox testtone96.wav -c 4 testtone4.wav")
>
>
>  Regards,
>  Clemens
>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux