* Re: Surround example?
@ 2005-11-19 9:26 Dino Puller
2005-11-21 10:24 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Dino Puller @ 2005-11-19 9:26 UTC (permalink / raw)
To: alsa-devel
-------- Original Message --------
Subject: Re: [Alsa-devel] Surround example?
Date: Sat, 19 Nov 2005 10:25:34 +0100
From: Dino Puller <dino@e4a.it>
To: Takashi Iwai <tiwai@suse.de>
References: <437CFAE5.5080908@e4a.it> <437DC4D3.3050900@e4a.it>
<s5hoe4ip00t.wl%tiwai@suse.de> <437DDD5E.8060405@e4a.it>
<s5hlkzmoxxm.wl%tiwai@suse.de>
Takashi Iwai wrote:
>At Fri, 18 Nov 2005 14:55:42 +0100,
>Dino Puller wrote:
>
>
>>Takashi Iwai wrote:
>>
>>
>>
>>>At Fri, 18 Nov 2005 13:10:59 +0100,
>>>Dino Puller wrote:
>>>
>>>
>>>
>>>
>>>>Dino Puller wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi all,
>>>>> i'd like to code a surround player, but i haven't found any
>>>>>documentation about it, can you give me a link to a tutorial or an
>>>>>example or something?
>>>>>
>>>>>Thanks,
>>>>> Dino Puller
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>Ok now i've opened my surrond40 device but now what i have to change to
>>>>my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
>>>>noise only from front channels.
>>>>
>>>>
>>>>
>>>>
>>>Are you using 1.0.10-final?
>>>
>>>
>>>Takashi
>>>
>>>
>>>
>>>
>>>
>>No i'm using default alsalib that come with debian sid: 1.0.9
>>are there any improvement or issue in 1.0.10 ?
>>
>>
>
>Yes.
>
>
>Takashi
>
>
>
>
Hmm i'm looking to pcm.c example but when i lunch
#./pcm -Dsurround40 -c4 -mdirect_interleaved
I obtain:
Access type not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument
And direct mmap interleaved is the method i want to implement. So pcm.c
isn't a good example for my purpose? Any Documentation?
thanks,
Dino
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Surround example?
2005-11-19 9:26 Surround example? Dino Puller
@ 2005-11-21 10:24 ` Takashi Iwai
2005-11-21 16:57 ` Dino Puller
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2005-11-21 10:24 UTC (permalink / raw)
To: Dino Puller; +Cc: alsa-devel
At Sat, 19 Nov 2005 10:26:14 +0100,
Dino Puller wrote:
>
>
>
> -------- Original Message --------
> Subject: Re: [Alsa-devel] Surround example?
> Date: Sat, 19 Nov 2005 10:25:34 +0100
> From: Dino Puller <dino@e4a.it>
> To: Takashi Iwai <tiwai@suse.de>
> References: <437CFAE5.5080908@e4a.it> <437DC4D3.3050900@e4a.it>
> <s5hoe4ip00t.wl%tiwai@suse.de> <437DDD5E.8060405@e4a.it>
> <s5hlkzmoxxm.wl%tiwai@suse.de>
>
>
>
> Takashi Iwai wrote:
>
> >At Fri, 18 Nov 2005 14:55:42 +0100,
> >Dino Puller wrote:
> >
> >
> >>Takashi Iwai wrote:
> >>
> >>
> >>
> >>>At Fri, 18 Nov 2005 13:10:59 +0100,
> >>>Dino Puller wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Dino Puller wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Hi all,
> >>>>> i'd like to code a surround player, but i haven't found any
> >>>>>documentation about it, can you give me a link to a tutorial or an
> >>>>>example or something?
> >>>>>
> >>>>>Thanks,
> >>>>> Dino Puller
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>Ok now i've opened my surrond40 device but now what i have to change to
> >>>>my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
> >>>>noise only from front channels.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Are you using 1.0.10-final?
> >>>
> >>>
> >>>Takashi
> >>>
> >>>
> >>>
> >>>
> >>>
> >>No i'm using default alsalib that come with debian sid: 1.0.9
> >>are there any improvement or issue in 1.0.10 ?
> >>
> >>
> >
> >Yes.
> >
> >
> >Takashi
> >
> >
> >
> >
> Hmm i'm looking to pcm.c example but when i lunch
> #./pcm -Dsurround40 -c4 -mdirect_interleaved
> I obtain:
>
> Access type not available for playback: Invalid argument
> Setting of hwparams failed: Invalid argument
WORKSFORME. Which driver?
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Surround example?
2005-11-21 10:24 ` Takashi Iwai
@ 2005-11-21 16:57 ` Dino Puller
2005-11-22 11:38 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Dino Puller @ 2005-11-21 16:57 UTC (permalink / raw)
To: Takashi Iwai, alsa-devel
Takashi Iwai wrote:
>At Sat, 19 Nov 2005 10:26:14 +0100,
>Dino Puller wrote:
>
>
>>
>>-------- Original Message --------
>>Subject: Re: [Alsa-devel] Surround example?
>>Date: Sat, 19 Nov 2005 10:25:34 +0100
>>From: Dino Puller <dino@e4a.it>
>>To: Takashi Iwai <tiwai@suse.de>
>>References: <437CFAE5.5080908@e4a.it> <437DC4D3.3050900@e4a.it>
>><s5hoe4ip00t.wl%tiwai@suse.de> <437DDD5E.8060405@e4a.it>
>><s5hlkzmoxxm.wl%tiwai@suse.de>
>>
>>
>>
>>Takashi Iwai wrote:
>>
>>
>>
>>>At Fri, 18 Nov 2005 14:55:42 +0100,
>>>Dino Puller wrote:
>>>
>>>
>>>
>>>
>>>>Takashi Iwai wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>At Fri, 18 Nov 2005 13:10:59 +0100,
>>>>>Dino Puller wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Dino Puller wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi all,
>>>>>>> i'd like to code a surround player, but i haven't found any
>>>>>>>documentation about it, can you give me a link to a tutorial or an
>>>>>>>example or something?
>>>>>>>
>>>>>>>Thanks,
>>>>>>>Dino Puller
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>Ok now i've opened my surrond40 device but now what i have to change to
>>>>>>my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
>>>>>>noise only from front channels.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>Are you using 1.0.10-final?
>>>>>
>>>>>
>>>>>Takashi
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>No i'm using default alsalib that come with debian sid: 1.0.9
>>>>are there any improvement or issue in 1.0.10 ?
>>>>
>>>>
>>>>
>>>>
>>>Yes.
>>>
>>>
>>>Takashi
>>>
>>>
>>>
>>>
>>>
>>>
>>Hmm i'm looking to pcm.c example but when i lunch
>>#./pcm -Dsurround40 -c4 -mdirect_interleaved
>>I obtain:
>>
>>Access type not available for playback: Invalid argument
>>Setting of hwparams failed: Invalid argument
>>
>>
>
>WORKSFORME. Which driver?
>
>
>Takashi
>
>
I'm using an Herculess Fortissimo II with a cs46xx driver.
Anyway i was looking for an example/documentation.
I've found that pcm.c is not correct for a mmaped play in surround mode:
we have to setting the device with SND_PCM_ACCESS_MMAP_COMPLEX flag and
pcm.c doesn't do it. For the remaining code pcm.c is right and nothing
change from 2 channels to 4 ones in terms of main loop.
I've found how alsa works, thanks.
Ah direct_loop (always in pcm.c) doesn't use the parameter areas, why
not to clean it out?
bye,
Dino
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Surround example?
2005-11-21 16:57 ` Dino Puller
@ 2005-11-22 11:38 ` Takashi Iwai
0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2005-11-22 11:38 UTC (permalink / raw)
To: Dino Puller; +Cc: alsa-devel
At Mon, 21 Nov 2005 17:57:50 +0100,
Dino Puller wrote:
>
> Takashi Iwai wrote:
>
> >At Sat, 19 Nov 2005 10:26:14 +0100,
> >Dino Puller wrote:
> >
> >
> >>
> >>-------- Original Message --------
> >>Subject: Re: [Alsa-devel] Surround example?
> >>Date: Sat, 19 Nov 2005 10:25:34 +0100
> >>From: Dino Puller <dino@e4a.it>
> >>To: Takashi Iwai <tiwai@suse.de>
> >>References: <437CFAE5.5080908@e4a.it> <437DC4D3.3050900@e4a.it>
> >><s5hoe4ip00t.wl%tiwai@suse.de> <437DDD5E.8060405@e4a.it>
> >><s5hlkzmoxxm.wl%tiwai@suse.de>
> >>
> >>
> >>
> >>Takashi Iwai wrote:
> >>
> >>
> >>
> >>>At Fri, 18 Nov 2005 14:55:42 +0100,
> >>>Dino Puller wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Takashi Iwai wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>At Fri, 18 Nov 2005 13:10:59 +0100,
> >>>>>Dino Puller wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Dino Puller wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hi all,
> >>>>>>> i'd like to code a surround player, but i haven't found any
> >>>>>>>documentation about it, can you give me a link to a tutorial or an
> >>>>>>>example or something?
> >>>>>>>
> >>>>>>>Thanks,
> >>>>>>>Dino Puller
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>Ok now i've opened my surrond40 device but now what i have to change to
> >>>>>>my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
> >>>>>>noise only from front channels.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>Are you using 1.0.10-final?
> >>>>>
> >>>>>
> >>>>>Takashi
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>No i'm using default alsalib that come with debian sid: 1.0.9
> >>>>are there any improvement or issue in 1.0.10 ?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Yes.
> >>>
> >>>
> >>>Takashi
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>Hmm i'm looking to pcm.c example but when i lunch
> >>#./pcm -Dsurround40 -c4 -mdirect_interleaved
> >>I obtain:
> >>
> >>Access type not available for playback: Invalid argument
> >>Setting of hwparams failed: Invalid argument
> >>
> >>
> >
> >WORKSFORME. Which driver?
> >
> >
> >Takashi
> >
> >
> I'm using an Herculess Fortissimo II with a cs46xx driver.
> Anyway i was looking for an example/documentation.
> I've found that pcm.c is not correct for a mmaped play in surround mode:
> we have to setting the device with SND_PCM_ACCESS_MMAP_COMPLEX flag and
> pcm.c doesn't do it. For the remaining code pcm.c is right and nothing
> change from 2 channels to 4 ones in terms of main loop.
> I've found how alsa works, thanks.
> Ah direct_loop (always in pcm.c) doesn't use the parameter areas, why
> not to clean it out?
Keeping the uniform function type is nice, IMO.
The parameters are marked as ATTRIBUTE_UNUSED now on CVS.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Surround example?
@ 2005-11-17 21:49 Dino Puller
2005-11-18 12:10 ` Dino Puller
0 siblings, 1 reply; 9+ messages in thread
From: Dino Puller @ 2005-11-17 21:49 UTC (permalink / raw)
To: alsa-devel
Hi all,
i'd like to code a surround player, but i haven't found any
documentation about it, can you give me a link to a tutorial or an
example or something?
Thanks,
Dino Puller
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Surround example?
2005-11-17 21:49 Dino Puller
@ 2005-11-18 12:10 ` Dino Puller
2005-11-18 13:18 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Dino Puller @ 2005-11-18 12:10 UTC (permalink / raw)
To: alsa-devel
Dino Puller wrote:
> Hi all,
> i'd like to code a surround player, but i haven't found any
> documentation about it, can you give me a link to a tutorial or an
> example or something?
>
> Thanks,
> Dino Puller
>
>
Ok now i've opened my surrond40 device but now what i have to change to
my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
noise only from front channels.
bye,
Dino
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Surround example?
2005-11-18 12:10 ` Dino Puller
@ 2005-11-18 13:18 ` Takashi Iwai
2005-11-18 13:55 ` Dino Puller
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2005-11-18 13:18 UTC (permalink / raw)
To: Dino Puller; +Cc: alsa-devel
At Fri, 18 Nov 2005 13:10:59 +0100,
Dino Puller wrote:
>
> Dino Puller wrote:
>
> > Hi all,
> > i'd like to code a surround player, but i haven't found any
> > documentation about it, can you give me a link to a tutorial or an
> > example or something?
> >
> > Thanks,
> > Dino Puller
> >
> >
> Ok now i've opened my surrond40 device but now what i have to change to
> my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
> noise only from front channels.
Are you using 1.0.10-final?
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Surround example?
2005-11-18 13:18 ` Takashi Iwai
@ 2005-11-18 13:55 ` Dino Puller
2005-11-18 14:03 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Dino Puller @ 2005-11-18 13:55 UTC (permalink / raw)
To: Takashi Iwai, alsa-devel
Takashi Iwai wrote:
>At Fri, 18 Nov 2005 13:10:59 +0100,
>Dino Puller wrote:
>
>
>>Dino Puller wrote:
>>
>>
>>
>>>Hi all,
>>> i'd like to code a surround player, but i haven't found any
>>>documentation about it, can you give me a link to a tutorial or an
>>>example or something?
>>>
>>>Thanks,
>>> Dino Puller
>>>
>>>
>>>
>>>
>>Ok now i've opened my surrond40 device but now what i have to change to
>>my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
>>noise only from front channels.
>>
>>
>
>Are you using 1.0.10-final?
>
>
>Takashi
>
>
>
No i'm using default alsalib that come with debian sid: 1.0.9
are there any improvement or issue in 1.0.10 ?
Anyway i've understand where are memory areas to copy in, but my sound
is a lot disturbed. Probably i need to change some parameters with 4
channels, but witch?
Dino
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Surround example?
2005-11-18 13:55 ` Dino Puller
@ 2005-11-18 14:03 ` Takashi Iwai
0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2005-11-18 14:03 UTC (permalink / raw)
To: Dino Puller; +Cc: alsa-devel
At Fri, 18 Nov 2005 14:55:42 +0100,
Dino Puller wrote:
>
> Takashi Iwai wrote:
>
> >At Fri, 18 Nov 2005 13:10:59 +0100,
> >Dino Puller wrote:
> >
> >
> >>Dino Puller wrote:
> >>
> >>
> >>
> >>>Hi all,
> >>> i'd like to code a surround player, but i haven't found any
> >>>documentation about it, can you give me a link to a tutorial or an
> >>>example or something?
> >>>
> >>>Thanks,
> >>> Dino Puller
> >>>
> >>>
> >>>
> >>>
> >>Ok now i've opened my surrond40 device but now what i have to change to
> >>my snd_pcm_mmap_begin/snd_pcm_mmap_commit routine? Actully i can hear
> >>noise only from front channels.
> >>
> >>
> >
> >Are you using 1.0.10-final?
> >
> >
> >Takashi
> >
> >
> >
> No i'm using default alsalib that come with debian sid: 1.0.9
> are there any improvement or issue in 1.0.10 ?
Yes.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-11-22 11:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 9:26 Surround example? Dino Puller
2005-11-21 10:24 ` Takashi Iwai
2005-11-21 16:57 ` Dino Puller
2005-11-22 11:38 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2005-11-17 21:49 Dino Puller
2005-11-18 12:10 ` Dino Puller
2005-11-18 13:18 ` Takashi Iwai
2005-11-18 13:55 ` Dino Puller
2005-11-18 14:03 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.