usbaudio.sys + USB DAC / PCM 2704

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Wed Feb 10, 2010 12:29

Eugene Gorbunoff wrote:REXX-скрипт - это .cmd файл, первая строка которого содержит:

Code: Select all

/* ля-ля-ля */


а у тебя файл получился командным.


Sorry. Do not understand Russian, but I noticed:
Using CODE: SELECT ALL and pasting into an editor gives four blank characters at the start of each line. This gives the wrong result that Sergey2 is getting. Press left mouse button and move mouse to do the selection.

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Wed Feb 10, 2010 12:58

With what it is necessary so to make them of scripts there two.

User avatar
Eugene Gorbunoff
Site Admin
Posts: 685
Joined: Sat Apr 09, 2005 11:18
Location: St.Petersburg, Russia

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Eugene Gorbunoff » Wed Feb 10, 2010 13:12

Sergey2

1) REXX-скрипт должен начинаться с /* */
не должно быть пустых строк вначале.
2) если слева в каждой строке пробелы, то их тоже удалить

http://ecomstation.ru/temp/201002/test.cmd

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Wed Feb 10, 2010 13:49

Code: Select all

GetFeatureUnit: CurMuteMaster
A181000100030100EE
A18100010003010000

SetFeatureUnit: CurMuteMaster
210100010003010000
210100010003010000


Вот что получилось..

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Wed Feb 10, 2010 14:49

Sergey2 wrote:

Code: Select all

GetFeatureUnit: CurMuteMaster
A181000100030100EE
A18100010003010000

SetFeatureUnit: CurMuteMaster
210100010003010000
210100010003010000


Вот что получилось..


Mute seems o.k. Now volume test.

Code: Select all

/* channel volume control with the USBECD.SYS device driver */
rc=RxFuncAdd('SysGetMessage','RexxUtil','SysGetMessage')

ddName = 'PCM$' /* default device driver name */

/* ensure that the device driver statement exists in config.sys */
if stream(ddName,'command','query exists') \= '\DEV\' || ddName
then do
  say
  say 'Missing DEVICE=C:\OS2\BOOT\USBECD.SYS statement in CONFIG.SYS.'
  say
  exit
  end

/* acquire the device driver */
rc=stream(ddName,'command','open')
if rc \= 'READY:'
then do
  /* obtain and issue error message */
  parse value rc with sState ':' mNumber
  say SysGetMessage(mNumber,,ddName)
  exit
  end

oiHeader = "GetFeatureUnit: CurVolumeChan1"
oiBuffer = x2c(A1 81 01 02 00 03 02 00 EE EE)
call IssueWriteFunction

oiHeader = "GetFeatureUnit: CurVolumeChan2"
oiBuffer = x2c(A1 81 02 02 00 03 02 00 EE EE)
call IssueWriteFunction

oiHeader = "SetFeatureUnit: CurVolumeChan1"
oiBuffer = x2c(21 01 01 02 00 03 02 00 FF 7F)
call IssueWriteFunction

oiHeader = "SetFeatureUnit: CurVolumeChan2"
oiBuffer = x2c(21 01 02 02 00 03 02 00 FF 7F)
call IssueWriteFunction

oiHeader = "GetFeatureUnit: CurVolumeChan1"
oiBuffer = x2c(A1 81 01 02 00 03 02 00 EE EE)
call IssueWriteFunction

oiHeader = "GetFeatureUnit: CurVolumeChan2"
oiBuffer = x2c(A1 81 02 02 00 03 02 00 EE EE)
call IssueWriteFunction

/* release the device driver */
rc=stream(ddName,"command","close")
exit

IssueWriteFunction:
/* usb control transfer */
say
say oiHeader
say c2x(oiBuffer) /* show supplied data */
rc=charout(ddName,oiBuffer) /* supply and obtain setup and data packet */
say c2x(oiBuffer) /* show obtained data */
/* say */
CheckCompletionCode:
/* check completion code */
rc=stream(ddName,"description")
if rc \= "READY:"
then do
  /* obtain and issue error message */
  parse value rc with sState ':' mNumber
  say SysGetMessage(mNumber,,ddName)
  exit
  end
return

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Wed Feb 10, 2010 17:18

Code: Select all

GetFeatureUnit: CurVolumeChan1
A181010200030200EEEE
A181010200030200007F

GetFeatureUnit: CurVolumeChan2
A181020200030200EEEE
A181020200030200007F

SetFeatureUnit: CurVolumeChan1
2101010200030200FF7F
2101010200030200FF7F

SetFeatureUnit: CurVolumeChan2
2101020200030200FF7F
2101020200030200FF7F

GetFeatureUnit: CurVolumeChan1
A181010200030200EEEE
A181010200030200007F

GetFeatureUnit: CurVolumeChan2
A181020200030200EEEE
A181020200030200007F


ok

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Wed Feb 10, 2010 18:55

Conclusion so far: mute o.k. and volume o.k.
Isochronous interface not o.k. (has zero bandwidth).
Now try sound card:

Code: Select all

/* test audio with the MCIAPI interface */
rc=RxFuncAdd('mciRxInit','MCIAPI','mciRxInit')
rc=mciRxInit()

object.0='waveaudio'
object.1='waveaudio01'
object.2='waveaudio02'

do i = 0 to 2
say 'object:' object.i

rc=mciRxSendString('info '||object.i||' product wait','result','0','0')
if rc=0 then say 'Audio adapter:' result
else do
  call mciRxGetErrorString rc,'message'
  say 'MCI'rc message
  end

rc=mciRxSendString('capability '||object.i||' has audio wait','result','0','0')
if rc=0 then say 'Audio capability:' result
else do
  call mciRxGetErrorString rc,'message'
  say 'MCI'rc message
  end

rc=mciRxSendString('capability '||object.i||' can play wait','result','0','0')
if rc=0 then say 'Play capability:' result
else do
  call mciRxGetErrorString rc,'message'
  say 'MCI'rc message
  end

rc=mciRxSendString('capability '||object.i||' can record wait','result','0','0')
if rc=0 then say 'Record capability:' result
else do
  call mciRxGetErrorString rc,'message'
  say 'MCI'rc message
  end

rc=mciRxSendString('connector '||object.i||' query type speakers wait','result','0','0')
if rc=0 then say 'Speakers connected:' result
else do
  call mciRxGetErrorString rc,'message'
  say 'MCI'rc message
  end

rc=mciRxSendString('status '||object.i||' volume wait','result','0','0')
if rc=0 then say 'Volume Left:Right' result
else do
  call mciRxGetErrorString rc,'message'
  say 'MCI'rc message
  end

say
end

rc=mciRxSendString('play c:\mmos2\sounds\desktop\dsk_shrd.wav wait','result','0','0')
if rc=0 then say 'Success!' result
else do
  call mciRxGetErrorString rc,'message'
  say 'MCI'rc message
  end

rc=mciRxExit()

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Wed Feb 10, 2010 23:54

Code: Select all

object: waveaudio
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.

object: waveaudio01
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.

object: waveaudio02
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.
MCI5134 Не найден драйвер устройства.

MCI5134 Не найден драйвер устройства.


MCI5134 The device driver is not found.

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Thu Feb 11, 2010 12:01

Sergey2 wrote:

Code: Select all

object: waveaudio
MCI5134 Не найден драйвер устройства.

MCI5134 The device driver is not found.

Post C:\MMOS2\MMPM2.INI

User avatar
Eugene Gorbunoff
Site Admin
Posts: 685
Joined: Sat Apr 09, 2005 11:18
Location: St.Petersburg, Russia

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Eugene Gorbunoff » Thu Feb 11, 2010 12:12

Hello wimpie

what are you going to do?
Capture sound from supported adapter and output via USB adapter?

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Thu Feb 11, 2010 12:43

Eugene Gorbunoff wrote:Hello wimpie
what are you going to do? Capture sound from supported adapter and output via USB adapter?

Hi Eugene.

It appears that usbaudio.sys is present in Sergey2 his computer and that it seems to work. This is the low level of the audio interface. The high level is the multimedia control interface (mci) and the usbaudio.sys adapter must have been installed into the multimedia interface too by using MINSTALL and rebooting the computer. It looks like this part has not been done on Sergey2 his computer because message MCI5134 was returned. The MMPM2.INI file shows what audio adapters are known to mmos2.

May be you can instruct Sergey2 in Russian what he must do to install the "USB Audio Adapter" using MINSTALL?
Do you have USBAUDIO.TXT file?

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Thu Feb 11, 2010 12:53

MMPM2.INI

Code: Select all

[systemvalues]
 closedcaption=0
 mastervolume=100
 headphones=1
 speakers=1
 workpath=C:\MMOS2
 qosvalue=65537
 qoserrorflag=2
[IBMDIGVIDPLAYER01]
 VERSIONNUMBER=1.2
 PRODUCTINFO=Software Motion Video
 MCDDRIVER=SVMC
 MCDTABLE=MDM
 RESOURCENAME=VIDEO PLAYER01
 DEVICEFLAG=1
 DEVICETYPE=12
 SHARETYPE=3
 RESOURCEUNITS=10
 RESOURCECLASSES=2,10,1
 CONNECTORS=1,3,,1
 EXTNAMES=5,AVI,FLC,FLI,MOV,QT
 EATYPES=Digital Video
 ALIASNAME=DigitalVideo Player
[Drivers]
 Digitalvideo=IBMDIGVIDPLAYER01,IBMMPEGPLAYER01
 Speaker=SPEAKER
 Headphone=HEADPHONE
 Microphone=MICROPHONE
 Filter=IBMFILTER01,IBMFILTER02,IBMFILTER03
 Waveaudio=UNIAUDWAVE01,SWHTWAVEUSB01
 Ampmix=UNIAUDAMPMIX01,IBMAMPMIXPAS1601
 CDaudio=IBMCDAUDIO01,IBMCDAUDIO02,IBMCDAUDIO03
 Sequencer=IBMSEQPAS1601
[IBMMPEGPLAYER01]
 VERSIONNUMBER=1.2
 PRODUCTINFO=OpenMPEG Video
 MCDDRIVER=DVMC
 MCDTABLE=MDM
 RESOURCENAME=OpenMPEG01
 DEVICEFLAG=5
 DEVICETYPE=12
 SHARETYPE=3
 RESOURCEUNITS=10
 RESOURCECLASSES=2,10,1
 CONNECTORS=1,3,,1
 EXTNAMES=7,MPG,VBS,DAT,M2P,CDI,M2T,M1T
 ALIASNAME=OpenMPEG Video
[SPEAKER]
 VERSIONNUMBER=1
 PRODUCTINFO=ДИНАМИК
 RESOURCENAME=SPEAKER
 DEVICEFLAG=2
 DEVICETYPE=13
 SHARETYPE=1
 RESOURCEUNITS=0
 RESOURCECLASSES=1,1
 CONNECTORS=1,15,,0
[HEADPHONE]
 VERSIONNUMBER=1
 PRODUCTINFO=НАУШНИКИ
 RESOURCENAME=HEADPHONE
 DEVICEFLAG=2
 DEVICETYPE=14
 SHARETYPE=1
 RESOURCEUNITS=0
 RESOURCECLASSES=1,1
 CONNECTORS=1,15,,0
[MICROPHONE]
 VERSIONNUMBER=1
 PRODUCTINFO=МИКРОФОН
 RESOURCENAME=MICROPHONE
 DEVICEFLAG=2
 DEVICETYPE=15
 SHARETYPE=1
 RESOURCEUNITS=0
 RESOURCECLASSES=1,1
 CONNECTORS=1,16,,0
[IBMFILTER01]
 VERSIONNUMBER=2.0
 PRODUCTINFO=IBM Mapper
 MCDDRIVER=FILTMCD
 VSDDRIVER=IBMMAP
 MCDTABLE=MDM
 RESOURCENAME=Filter1
 DEVICEFLAG=2
 DEVICETYPE=18
 SHARETYPE=3
 RESOURCEUNITS=10
 RESOURCECLASSES=1,1
 PARMSTRING=Mapper
 ALIASNAME=MAPPER
[IBMFILTER02]
 VERSIONNUMBER=2.0
 PRODUCTINFO=IMA CODEC
 MCDDRIVER=FILTMCD
 VSDDRIVER=IMAFILT
 MCDTABLE=MDM
 RESOURCENAME=Filter2
 DEVICEFLAG=2
 DEVICETYPE=18
 SHARETYPE=3
 RESOURCEUNITS=10
 RESOURCECLASSES=1,1
 PARMSTRING=IMAADPCMFilter
 ALIASNAME=IMACODEC
[IBMFILTER03]
 VERSIONNUMBER=2.0
 PRODUCTINFO=Microsoft CODEC
 MCDDRIVER=FILTMCD
 VSDDRIVER=MSFILT
 MCDTABLE=MDM
 RESOURCENAME=Filter3
 DEVICEFLAG=2
 DEVICETYPE=18
 SHARETYPE=3
 RESOURCEUNITS=10
 RESOURCECLASSES=1,1
 PARMSTRING=MSADPCMFilter
 ALIASNAME=MSCODEC
[UNIAUDWAVE01]
 VERSIONNUMBER=1.0.4
 PRODUCTINFO=OS/2 Universal Audio: Wave
 MCDDRIVER=AUDIOMCD
 VSDDRIVER=AUDIOIF
 PDDNAME=UNIAUD1$
 MCDTABLE=MDM
 RESOURCENAME=UNIAUDWave01
 DEVICEFLAG=1
 DEVICETYPE=7
 SHARETYPE=3
 RESOURCEUNITS=33
 RESOURCECLASSES=2,32,1
 VALIDCOMBINATIONS=1,2,2,1
 CONNECTORS=1,3,UNIAUDAMPMIX01,1
 PARMSTRING=FORMAT=1,SAMPRATE=22050,BPS=8,CHANNELS=1,DIRECTION=PLAY
 EXTNAMES=1,WAV
 EATYPES=Digital Audio
 ALIASNAME=OS/2 Audio: Wave
[UNIAUDWAVE01-PLAY]
 NUMDEVICES=1
 NUMCONNECTIONS=1
 DEVICE01=AMPMIX
 CONNECTION01=0,3,1,1,3,1
[UNIAUDWAVE01-RECORD]
 NUMDEVICES=1
 NUMCONNECTIONS=1
 DEVICE01=AMPMIX
 CONNECTION01=1,3,1,0,3,1
[UNIAUDAMPMIX01]
 VERSIONNUMBER=1.0.4
 PRODUCTINFO=OS/2 Universal Audio: Wave
 MCDDRIVER=AMPMXMCD
 VSDDRIVER=AUDIOIF
 PDDNAME=UNIAUD1$
 MCDTABLE=MDM
 RESOURCENAME=UNIAUDAmpMixer01
 DEVICEFLAG=2
 DEVICETYPE=9
 SHARETYPE=3
 RESOURCEUNITS=33
 RESOURCECLASSES=2,32,1
 VALIDCOMBINATIONS=1,2,2,1
 CONNECTORS=5,4,,0,9,,0,8,,0,10,,0,7,,0
 PARMSTRING=BALANCE=50,VOL=80,INPUT=LINE,GAIN=70,OUTPUT=SPEAKER
[IBMCDAUDIO01]
 VERSIONNUMBER=2.0
 PRODUCTINFO=IBMCDAUDIO
 MCDDRIVER=CDAUDIO
 VSDDRIVER=GENCDVSD
 PDDNAME=CDROM
 MCDTABLE=MDM
 RESOURCENAME=CD1
 DEVICEFLAG=1
 DEVICETYPE=3
 SHARETYPE=2
 RESOURCEUNITS=1
 RESOURCECLASSES=1,1
 PARMSTRING=Drive=1,Caps=40000313:000001CA:B:2
 CONNECTORS=1,6,HEADPHONE,1
 ALIASNAME=Компакт-диск
[IBMCDAUDIO02]
 VERSIONNUMBER=2.0
 PRODUCTINFO=IBMCDAUDIO
 MCDDRIVER=CDAUDIO
 VSDDRIVER=GENCDVSD
 PDDNAME=CDROM
 MCDTABLE=MDM
 RESOURCENAME=CD2
 DEVICEFLAG=1
 DEVICETYPE=3
 SHARETYPE=2
 RESOURCEUNITS=1
 RESOURCECLASSES=1,1
 PARMSTRING=Drive=2
 CONNECTORS=1,6,HEADPHONE,1
 ALIASNAME=Компакт-диск 2
[IBMCDAUDIO03]
 VERSIONNUMBER=2.0
 PRODUCTINFO=IBMCDAUDIO
 MCDDRIVER=CDAUDIO
 VSDDRIVER=GENCDVSD
 PDDNAME=CDROM
 MCDTABLE=MDM
 RESOURCENAME=CD3
 DEVICEFLAG=1
 DEVICETYPE=3
 SHARETYPE=2
 RESOURCEUNITS=1
 RESOURCECLASSES=1,1
 PARMSTRING=Drive=3,Caps=40000313:000001CA:B:2
 CONNECTORS=1,6,HEADPHONE,1
 ALIASNAME=Компакт-диск 3
[SWHTWAVEUSB01]
 VERSIONNUMBER=1.01
 PRODUCTINFO=USB Audio Adapter
 MCDDRIVER=AUDIOMCD
 VSDDRIVER=AUDIOIF
 PDDNAME=USBAUD1$
 MCDTABLE=MDM
 RESOURCENAME=USBAudioW01
 DEVICEFLAG=1
 DEVICETYPE=7
 SHARETYPE=3
 RESOURCEUNITS=1
 RESOURCECLASSES=1,1
 CONNECTORS=1,3,IBMAMPMIXPAS1601,1
 PARMSTRING=FORMAT=1,SAMPRATE=22050,BPS=16,CHANNELS=1,DIRECTION=PLAY
 EATYPES=USB Waveaudio
 ALIASNAME=USB Adapter Wave
[SWHTWAVEUSB01-PLAY]
 NUMDEVICES=1
 NUMCONNECTIONS=1
 DEVICE01=AMPMIX
 CONNECTION01=0,3,1,1,3,1
[SWHTWAVEUSB01-RECORD]
 NUMDEVICES=1
 NUMCONNECTIONS=1
 DEVICE01=AMPMIX
 CONNECTION01=1,3,1,0,3,1
[IBMSEQPAS1601]
 VERSIONNUMBER=1.01
 PRODUCTINFO=USB Audio Adapter
 MCDDRIVER=MIDIMCD
 VSDDRIVER=AUDIOIF
 PDDNAME=USBAUD1$
 MCDTABLE=MDM
 RESOURCENAME=USBAudioS01
 DEVICEFLAG=1
 DEVICETYPE=8
 SHARETYPE=3
 RESOURCEUNITS=1
 RESOURCECLASSES=1,1
 CONNECTORS=1,1,IBMAMPMIXPAS1601,1
 PARMSTRING=CHANNELS=1111111111111111 MIDITYPE=General MIDI
 EXTNAMES=1,MID
 EATYPES=USB MIDI
 ALIASNAME=USB Adapter Midi
[IBMSEQPAS1601-PLAY]
 NUMDEVICES=1
 NUMCONNECTIONS=1
 DEVICE01=AMPMIX
 CONNECTION01=0,1,1,1,4,1
[IBMAMPMIXPAS1601]
 VERSIONNUMBER=1.01
 PRODUCTINFO=USB Audio Adapter
 MCDDRIVER=AMPMXMCD
 VSDDRIVER=AUDIOIF
 PDDNAME=USBAUD1$
 MCDTABLE=MDM
 RESOURCENAME=USBAudioA01
 DEVICEFLAG=2
 DEVICETYPE=9
 SHARETYPE=3
 RESOURCEUNITS=2
 RESOURCECLASSES=2,1,1
 VALIDCOMBINATIONS=1,2,2,1
 CONNECTORS=5,4,,0,9,,0,8,,0,10,,0,7,,0
 PARMSTRING=TREBLE=50,BASS=50,PITCH=50,GAIN=70,BALANCE=50,VOL=100,INPUT=LINE,OUTPUT=SPEAKER,RESOURCEDLL=AUDIOIF,RCID=5
[defaultnames]
 Waveaudio=SWHTWAVEUSB01


The problem can here? Correct please.

User avatar
Eugene Gorbunoff
Site Admin
Posts: 685
Joined: Sat Apr 09, 2005 11:18
Location: St.Petersburg, Russia

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Eugene Gorbunoff » Thu Feb 11, 2010 15:23

To Sergey:

скорее всего usbaudio установлен неправильно.

Нужно правильно установить USBAUDIO.SYS

найти пакет, распаковать.
находясь в каталоге с USBAUDO запустить:
minstall /F:.

там все правильно выбрать.
какие пакеты ставить.

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Thu Feb 11, 2010 18:43

Sergey2 wrote:The problem can here? Correct please.


May be. Some questions:

How many sound cards in your system?
Why uniaud installed?

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Thu Feb 11, 2010 21:33

Sound cards 2. The first REALTEK ALC650 the Second USB PCM2704.

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Thu Feb 11, 2010 22:09

Sergey2 wrote:Sound cards 2. The first REALTEK ALC650 the Second USB PCM2704.

Do you have sound from REALTEK ALC650 card, that is does this card work o.k.?

Try change in [Drivers] section of MMPM2.INI as follows and reboot your system:

Code: Select all

 [Drivers]
 .
 .
 Waveaudio=SWHTWAVEUSB01,UNIAUDWAVE01
 Ampmix=IBMAMPMIXPAS1601,UNIAUDAMPMIX01
 .
 .

Then rerun the MCIAPI test.

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Thu Feb 11, 2010 22:17

Yes REALTEK ALC650 works well. I have cleaned дравер ALC650. Also has overloaded system. USB 2704 has left. At reproduction Wav there was a sound for 2 seconds then it disappeared.

Sergey2
Posts: 17
Joined: Sun Feb 07, 2010 18:42

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Sergey2 » Fri Feb 12, 2010 10:23

Message for Eugene.
Евгений привет.
После исправлений MMPM2.INI и выбора дравера USBAUDIO - PCM2704 заработал. Как вторая карта он не хотел работать. Для этого я удалили первую ALC650 и заново поставил USBAUDIO. При этом вот что получилось. С драйвером USBAUDIO VER 1.1 при воспроизведении файла WAV 44,1 КГЦ Цап издавал 2 секунды звук, а потом с хрипом все это исчезало. Если заново запустить фаил WAV звук опять появлялся на 2 секунды и исчезнет.
После я нашел более старую версию USBAUDIO VER.1.02 установил звук появился, но все что работает с частотой дескретизации 44,1 кгц идет с характерными щелчками, а 48 кгц нормально. Как я это заметил? Запустил программу WarpVision и в установках установил Resample anything to 48 khz звук стал чистым без щелчков. В Windows такое не наблюдалось. Есть подозрения что на внешний цап будет работать нормально, то есть через SPDIF выход. Для этого на следующей недели проведу эксперементы.

User avatar
Eugene Gorbunoff
Site Admin
Posts: 685
Joined: Sat Apr 09, 2005 11:18
Location: St.Petersburg, Russia

Re: usbaudio.sys + USB DAC / PCM 2704

Postby Eugene Gorbunoff » Fri Feb 12, 2010 12:37

To Sergey: а где можно купить аудио адаптер на базе этого чипа? не найти..


To Sergey: please test USBAUDIO 1.1 again.


To Sergey: А как же тогда другие приложение? Там нет Resample.
Warpvision supports "Resample anything to 48 KHz". How to use other applications?! System sounds?!


To Wil:

Are you going buy / build the adapter on this chip for yourself?


To Wil:

Sergey writes that thanks to the experiments and fixes he got the sound.
* he removed the 1-st adapter (uniaud), using USBAUDIO only
* USBAUDIO ver 1.1 - sound dissapears in 2 seconds.
* USBAUDIO ver 1.02 - works better (?)
* USBAUDIO is able to process sound coded with 48 KHz only
* Sergey will test SPDIF output on the next week.

wimpie
Posts: 27
Joined: Sat Feb 06, 2010 21:57
Contact:

Re: usbaudio.sys + USB DAC / PCM 2704

Postby wimpie » Fri Feb 12, 2010 13:13

Ha sound at last!
Sergey helped me in understanding the mci interface. I have still a lot to learn though.

To Sergey:
Please post output from "/* test audio with the MCIAPI interface */" code.

To Eugene:
I do not understand version USBAUDIO 1.1 and USBAUDIO version 1.02 but I can look into the USBAUDIO.SYS and I have versions IBM:10.070 (size 35884) and IBM:10.067 (size 35798). Which one is which one and better?
I have also the version IBM:10.041 (size 29492) which came from device driver fix pack XR_D002 but this one has been reported on the internet as being worse than a previous version.

Yes I would like to buy an adapter with this chip as I am afraid I cannot build one anymore. Clumsy hands.

Regards, Wim.


Return to “Hardware support / Поддержка оборудования”

Who is online

Users browsing this forum: No registered users and 1 guest

cron