search for: snd_pcm_readi

Displaying 8 results from an estimated 8 matches for "snd_pcm_readi".

2004 Aug 06
2
Speex/Linux/ALSA
...hannels is setting it to a single channel (MONO) The ALSA call to snd_pcm_hw_params_set_periods is setting this to 2. Periods used to be called fragments. The ALSA call to snd_pcm_hw_params_set_buffer_size is setting this to the period size (8192) times the number of periods (2) The ALSA call to snd_pcm_readi has been tried with the number of frames set to 100, 160, 200, 2000. It puts the data read into an unsigned char array. After capturing the data, I copy the unsigned char array into a float array and follow the example code in sampleenc.c speex_bits_reset(&bits); speex_encode(state, floatbuf...
2005 Aug 14
2
Newbie problem with ices2
...39;ve built and installed (on SuSE 9.3 platform) with no apparent errors, copied ices-alsa.xml to user area and modified paths, server password etc. When I run ices (using "ices /home/rpm/Music/ices-alsa.xml" it starts OK then after a few seconds I get "EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error" and it dies (icecast stays up though). All I'm trying to do is to stream from line-in, I used kmix to set this (I think... red lights on for 'line' and 'capture' in the input tab). Has anyone any idea please what's going wrong? Thanks, --...
2009 Apr 07
4
crash: can't start 3d app =((
...k+0xe2() in libpulse.so.0 (0x06d1e838) 4 0x7e595fd8 _init+0x9e0() in libasound_module_pcm_pulse.so (0x06d1e888) 5 0x7e5527e1 in libasound.so.2 (+0x8f7e1) (0x06d1e8b8) 6 0x7e50e410 in libasound.so.2 (+0x4b410) (0x06d1e8e8) 7 0x7e552a45 in libasound.so.2 (+0x8fa45) (0x06d1e948) 8 0x7e508894 snd_pcm_readi+0x54() in libasound.so.2 (0x06d1e978) 9 0x7e5c2e28 in winealsa (+0x22e28) (0x06d1ea18) 10 0x7bc72b4e call_thread_entry_point+0xe() in ntdll (0x06d1ea28) 11 0x7bc748a2 in ntdll (+0x648a2) (0x06d1eac8) 12 0x7bc74a70 in ntdll (+0x64a70) (0x06d1f3b8) 13 0xb7dea4ff start_thread+0xbf() in libpt...
2005 Aug 14
0
Newbie problem with ices2
...SuSE 9.3 > platform) with no apparent errors, copied ices-alsa.xml to user area and > modified paths, server password etc. > > When I run ices (using "ices /home/rpm/Music/ices-alsa.xml" it starts > OK then after a few seconds I get > "EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error" and > it dies (icecast stays up though). > > All I'm trying to do is to stream from line-in, I used kmix to set this > (I think... red lights on for 'line' and 'capture' in the input tab). readi failure is an odd one, make sure yo...
2005 Aug 14
2
Newbie problem with ices2
...platform) with no apparent errors, copied ices-alsa.xml to user area and >>modified paths, server password etc. >> >>When I run ices (using "ices /home/rpm/Music/ices-alsa.xml" it starts >>OK then after a few seconds I get >>"EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error" and >>it dies (icecast stays up though). >> >>All I'm trying to do is to stream from line-in, I used kmix to set this >>(I think... red lights on for 'line' and 'capture' in the input tab). > > readi failure is an...
2008 Jun 27
2
usb - audio asterisk crashes
I am using usb-audio for Console/Dsp with asterisk. it is crashing 1.4.21 and also svn. During the brief times its working the audio is choppy but understandable. I have used aplay and arecord at the same time on the same wave file and they work fine every time and I have done it MANY times. Asterisk failes after 1 or 2 times. Any ideas on something I can try? Jerry
2006 Feb 16
0
Ices crashes all of a sudden: EROR input-oss/oss_read Error reading from audio device: Input/output error
...0 Hz to 22050 Hz [2006-02-17 00:45:21] INFO encode/encode_initialise Encoder initialising in VBR mode: 1 channel(s), 22050 Hz, quality 0.000000 [2006-02-17 00:45:21] INFO stream/ices_instance_stream Connected to server: localhost:8000/thegospel.ogg [2006-02-17 00:45:31] EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error [2006-02-17 00:45:31] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down [2006-02-17 00:45:31] DBUG encode/encode_clear Clearing encoder engine [2006-02-17 00:45:31] DBUG input/input_loop An instance died, removing it [2006-02-17 00:45:31...
2012 Mar 06
10
Problems with Flatout
Hello this is my first topic, so thanks for read my topic and thanks for leave to participate in the forum. My question is -> I try install flatout 2 on my pc but dont work -> give me a message with failed to load bf0 I try to d portable version but he stop in the load of race. [games i tested in wine - Need for speed Most wanted : works, Medieval Total War II: Works, FEAR Perseus