Thread: [Alsa-user] Delta66 + SPDIF in + arecord
Brought to you by:
perex
From: Colin L. <c....@el...> - 2003-01-31 11:10:45
|
Hello, I'm having trouble recording from SPDIF in using arecord with a delta66 and the ice1712 alsa driver 0.9 rc5, (I'm trying to record from dat). I am able to record, but only at very low quality (8 bit, Rate 8000 Hz, Mono). I setting the device to arecord with -d hd:0,24 for the digital audio capture. I can tell arecord to set the rate higher with -h 48000, and I can still record, but I dont see an option to set the number of bits. However, if i try and set to stereo, or use arecord's -f cd or -f dat options, I dont get any recorded sound. Using envy24control I can see the mixer levels are active so the sound is coming in, it just isn't recording. So, how can I record from SPDIF in with reasonable quality (16bit, 48000Hz, stereo) ? Any clues? ~Colin. |
From: Jaroslav K. <pe...@pe...> - 2003-01-31 11:44:30
|
On Fri, 31 Jan 2003, Colin Law wrote: > Hello, > > I'm having trouble recording from SPDIF in using arecord with a delta66 > and the ice1712 alsa driver 0.9 rc5, (I'm trying to record from dat). I > am able to record, but only at very low quality (8 bit, Rate 8000 Hz, > Mono). I setting the device to arecord with -d hd:0,24 for the digital > audio capture. I can tell arecord to set the rate higher with -h 48000, > and I can still record, but I dont see an option to set the number of > bits. However, if i try and set to stereo, or use arecord's -f cd or -f > dat options, I dont get any recorded sound. Using envy24control I can > see the mixer levels are active so the sound is coming in, it just isn't > recording. > > So, how can I record from SPDIF in with reasonable quality (16bit, > 48000Hz, stereo) ? Any clues? Have you tried 'arecord -Dspdif' ? Jaroslav ----- Jaroslav Kysela <pe...@su...> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs |
From: Colin L. <c....@el...> - 2003-01-31 12:04:42
|
Jaroslav Kysela wrote: >Have you tried 'arecord -Dspdif' ? > > Trying that, all i get is; Recording WAVE '/tmp/try.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono arecord: set_params:786: Sample format non available and it stops. But at least there is some indication of a problem. Any ideas what is causing this? ~Colin. |
From: Jaroslav K. <pe...@pe...> - 2003-01-31 12:38:33
|
On Fri, 31 Jan 2003, Colin Law wrote: > Jaroslav Kysela wrote: > > >Have you tried 'arecord -Dspdif' ? > > > > > Trying that, all i get is; > > Recording WAVE '/tmp/try.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono > arecord: set_params:786: Sample format non available > > and it stops. But at least there is some indication of a problem. Any > ideas what is causing this? The spdif device is hw-type so if you want to do conversions in alsa-lib, you have to use 'arecord -Dplug:spdif'. Jaroslav ----- Jaroslav Kysela <pe...@su...> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs |
From: Colin L. <c....@el...> - 2003-01-31 12:51:54
|
Jaroslav Kysela wrote: >The spdif device is hw-type so if you want to do conversions in alsa-lib, >you have to use 'arecord -Dplug:spdif'. > > > That does the trick. Thanks. ~Colin. |