Re: [Alsa-user] Playing audio with ALSA api(newbie)

2012-04-11 Thread Torsten Schenk
Hello Fabio, > snd_pcm_writei (playback_handle, p, 131072) writes 131072 FRAMES > p += 131072 increases the pointer by 131072 SAMPLES. If you write p += 131072 * number_of_channels instead, your program should do the job. Greets, T

Re: [Alsa-user] how to detect activity or non activity on soundcard

2012-03-23 Thread Torsten Schenk
ween two checks) and "substream" (/proc/asound/[substream]/status must exist, this card channel will be monitored). Greets Torsten #!/bin/bash function timeout() { echo "Timeout" exit } timeout_sec=5 freq_sec=2 substream=card0/pcm0p/sub0 last_usage=`date +%

Re: [Alsa-user] how to detect activity or non activity on soundcard

2012-03-23 Thread Torsten Schenk
if sound is running. Greets, Torsten On Fri, 23 Mar 2012 09:07:02 +0100 Robert Bude wrote: > > > hi everybody, > > at home i have a mythbuntu media pc. it will shutdown > if no tv recording is sheduled and no user programs like mediaplayers > webbrowsers and so on op

Re: [Alsa-user] Way to monitor sample rate? Alsaequal.

2011-11-05 Thread Torsten Schenk
in a directory, enter: cat /proc/asound/card0/pcm0p/sub0/info or cat /proc/asound/card0/pcm0p/info Greets, Torsten -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2d

Re: [Alsa-user] USB Sound Card with SPDIF and AC3/DTS pass through

2011-08-18 Thread Torsten Schenk
tor types, coax and optical in and out ports so that no wished will be left open. Support for digital IO is not yet done in the driver, but I know the specs and will work on the implementation in september. Greets

Re: [Alsa-user] No sound, no /proc/asound/

2011-02-12 Thread Torsten Schenk
Like my previous speaker already told: the modules cannot be loaded because other modules are missing. Either you don't have modules installed at all (which most certainly means you have a wrong kernel image running) or the module loader cannot resolve the dependencies. To check if the module di

Re: [Alsa-user] No sound, no /proc/asound/

2011-02-11 Thread Torsten Schenk
tu mailing list. $ sudo modprobe [module] You need to replace "[module]" with the module that fits your card, eventually "snd-hda-intel" or "snd-usb-audio", these are very common cards. Greets, Torsten On Fri, 11 Feb 2011 20:54:49 +0100 Marcin Szyniszewski wr

[Alsa-user] ALSA and Jack volume controll problem

2009-06-30 Thread Torsten Krieger
ot;. I can see the associated volume control slider for all channels but only "Master" has an effect. When i play the musik direcly to the defined "ALSA PCM output" everything is working fine! How can I control the volu

Re: [Alsa-user] ymfpci not recording

2003-03-12 Thread Torsten Mohr
Hi, i also had problems with my Hoontech Digital XG i-Phone. I had to use alsamixer to unmute, set the levels and (most important) set "Capture" for the Line-In AND Capture channel. Best regards, Torsten. Am Mittwoch, 12. März 2003 00:15 schrieb Patrick Mauro: > Hi, if someone co

[Alsa-user] Capture from optical input?

2003-03-07 Thread Torsten Mohr
Hi, can anybody tell me, which control setting i need to set to capture from the optical digital input on my Hoontech Digital-XG i-Phone? Best regards, Torsten. --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger

Re: [Alsa-user] Can't Capture

2003-03-07 Thread Torsten Mohr
IOUR? Is there something like a data flow diagram that e.g. has the inputs on the left, then they go through which control, ..., then the sound data goes through another control and then to the output... Wouldn't this help a lot? Best regards, Torsten. --

[Alsa-user] Can't Capture

2003-03-06 Thread Torsten Mohr
o to capture sound? What other informations could be useful? Best regards, Torsten. --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and

[Alsa-user] hwdep.c: invalid register name for 'current'

2003-02-23 Thread Torsten Mohr
s for any hints, Torsten. gcc -D__KERNEL__ -DMODULE=1 -I/tmp/alsa-driver-0.9.0rc7/include -I/lib/modules/2.4.19/build/include -O2 -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c In file inc

Re: [Alsa-user] alsamixer: function snd_ctl_open failed fordefault: No such file or directory

2003-02-06 Thread torsten
r >> directory >> >> amixer >> amixer: Mixer attach default error: No such file or directory > >have you tried to run ./snddevices ind the alsa-driver directory? > >/Soeren > > Works. I have a wolk kernel, so I skipped making the drivers package. Hehe. M

[Alsa-user] alsamixer: function snd_ctl_open failed for default: No such fileor directory

2003-02-06 Thread torsten
ENT (No such file or directory) open("/dev/snd/controlC0", O_RDONLY)= -1 ENOENT (No such file or directory) open("/dev/aloadC0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/snd/controlC0", O_RDWR) = -1 ENOENT (No such file or directo